Sårbarheter

CVE-2025-39737

Middels 5.5 CVSS 3.1

Beskrivelse

In the Linux kernel, the following vulnerability has been resolved: mm/kmemleak: avoid soft lockup in __kmemleak_do_cleanup() A soft lockup warning was observed on a relative small system x86-64 system with 16 GB of memory when running a debug kernel with kmemleak enabled. watchdog: BUG: soft lockup - CPU#8 stuck for 33s! [kworker/8:1:134] The test system was running a workload with hot unplug happening in parallel. Then kemleak decided to disable itself due to its inability to allocate more kmemleak objects. The debug kernel has its CONFIG_DEBUG_KMEMLEAK_MEM_POOL_SIZE set to 40,000. The soft lockup happened in kmemleak_do_cleanup() when the existing kmemleak objects were being removed and deleted one-by-one in a loop via a workqueue. In this particular case, there are at least 40,000 objects that need to be processed and given the slowness of a debug kernel and the fact that a raw_spinlock has to be acquired and released in __delete_object(), it could take a while to properly handle all these objects. As kmemleak has been disabled in this case, the object removal and deletion process can be further optimized as locking isn't really needed. However, it is probably not worth the effort to optimize for such an edge case that should rarely happen. So the simple solution is to call cond_resched() at periodic interval in the iteration loop to avoid soft lockup.

Beskrivelsen gjengis slik kilden har publisert den, på engelsk.

Nøkkelfakta

Publisert
2025-09-11
Sist endret
2026-11-05
Tildelt av
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS-vektor
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Scoret av
nvd@nist.gov (NVD Primary)
Sannsynlighet for utnyttelse
0.2 % høyere enn 6 % av alle kjente sårbarheter
EPSS, neste 30 dager, modell v2026.06.15
Rettelse finnes
Ja, se referansene

Berørte produkter

Leverandør Produkt Versjoner Status
Debian Debian Linux 11.0 Berørt
Linux Linux Kernel 5.4 Berørt
Linux Linux Kernel 6.17 Berørt
Linux Linux Kernel ≥ 5.11, < 5.15.190 Berørt
Linux Linux Kernel ≥ 5.16, < 6.1.149 Berørt
Linux Linux Kernel ≥ 5.4.1, < 5.4.297 Berørt
Linux Linux Kernel ≥ 5.5, < 5.10.241 Berørt
Linux Linux Kernel ≥ 6.13, < 6.15.11 Berørt
Linux Linux Kernel ≥ 6.16, < 6.16.2 Berørt
Linux Linux Kernel ≥ 6.2, < 6.6.103 Berørt
Linux Linux Kernel ≥ 6.7, < 6.12.43 Berørt

Svakhetstype

Referanser

Relatert hos Berigo

Artikler

Berører dette dere?

En sårbarhet betyr bare noe hvis dere kjører produktet, i en berørt versjon, et sted en angriper kommer til.

Sjekk aktivalisten deres Bla i alle sårbarheter