CVE-2026-98552
>_ Opis
Tłumaczenie automatyczne – może zawierać nieścisłości.
W jądrze Linuksa usunięto następującą lukę:
perf/core: Napraw wyciek refcountu w funkcji connect_perf_ctx_data()
Funkcja connect_perf_ctx_data() może ścigać się w przypadkach globalnych i !globalnych. The
global case jest chroniony przez global_ctx_data_rwsem i udostępnia pojedynczy
liczba odwołań przy użyciu pola perf_ctx_data.global.
Ale gdy ściga się z przypadką !global, może nie być ustawione pole globalne
i spowodować wyciek liczby referencji.
Procesor1 Procesor2
----------------------------------------------------------------
załącznik_task_ctx_data(.global=1) załącznik_task_ctx_data(.global=0)
cd1 = alloc_perf_ctx_data(); cd2 = alloc_perf_ctx_data();
// { .global = 0, .refcount = 1 };
try_cmpxchg(); // sukces,
// zadanie->perf_ctx_data = cd2
try_cmpxhg(); // ponieść porażkę; stary = cd2
refcount_inc_not_zero(&old->refcount); // sukces
// stary.refcount = 2
free_perf_ctx_data(cd1);
Później funkcja detach_global_ctx_data() zobaczy dane, ale tak nie jest
oznaczony jako globalny, więc nie wywoła funkcji detach_task_ctx_data().
>_ Referencje
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