CVE-2026-90295
>_ Opis
Tłumaczenie automatyczne – może zawierać nieścisłości.
W jądrze Linuksa usunięto następującą lukę:
cpufreq: imx6q: napraw zapis poza zakresem, gdy sondowano więcej niż raz
imx6_soc_volt jest przydzielany na nowo dla każdej sondy, o rozmiarze odpowiadającym liczbie
ARM OPP:
imx6_soc_volt = devm_kcalloc(cpu_dev, num, sizeof(*imx6_soc_volt),
GFP_KERNEL);
ale jest wypełniany przez soc_opp_count, który ma pamięć statyczną i jest
nigdy nie resetuj. Drugie wiązanie po unbind kontynuuje indeksowanie, skąd
pierwszy zatrzymał się i zapisuje poza końcem nowej tablicy.
Odłączenie i ponowne powiązanie sterownika na mcimx6ul-evk qemu, pod KASAN:
BŁĄD: KASAN: płyta poza granicami w imx6q_cpufreq_probe+0x3b0/0xa34
Zapisz rozmiar 4 pod adresem c5e90480 przez task binder/73
imx6q_cpufreq_probe z platform_probe+0x88/0xe4
platforma_probe z naprawdę_probe+0x108/0x384
bind_store z kernfs_fop_write_iter+0x1b4/0x28c
Zapis kończy się o jeden u32 za końcem alokacji.
soc_opp_count jest czytany tylko kilka linii poniżej pętli, która go wypełnia, więc tak
nigdy nie potrzebował pamięci statycznej. Zrób to lokalnie.
>_ Referencje
- https://git.kernel.org/stable/c/263a35331169390f7f9ccb51d74e668610199af4
- https://git.kernel.org/stable/c/49f2f9b1d0cc76cf221306fc707703205bd27073
- https://git.kernel.org/stable/c/55516986a3d81325c84f2d4ae9cd03116bc63599
- https://git.kernel.org/stable/c/55864b26c22cbd4b2e0d36154a8c35931c2e133b
- https://git.kernel.org/stable/c/8c3afcf27fa4582c1ab912503dc8a4ebb8dc0f82
- https://git.kernel.org/stable/c/aaa66e60c0e21d19993a95bc3718dc29eb2d3192
- https://git.kernel.org/stable/c/b166bb79b7ef36b4f1d6d1f40d1a72b2eb0a56b9
- https://git.kernel.org/stable/c/c5135bc34ea37e9d19f758e61ac44415afb3891a
Dane podatności pochodzą z oficjalnych źródeł (CVE® List / NVD). Opisy po polsku są tłumaczone automatycznie i mogą zawierać nieścisłości – na stronie rekordu można wyświetlić wersję angielską.
This product uses the NVD API but is not endorsed or certified by the NVD.
Copyright © 1999–2026, The MITRE Corporation. CVE is a registered trademark and the CVE logo is a registered trademark of The MITRE Corporation.
CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE®). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy. ALL DOCUMENTS AND THE INFORMATION CONTAINED THEREIN PROVIDED BY MITRE ARE PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND.
NVD Terms of Use / CVE® Terms of Use / nvd.nist.gov / cve.org