CVE-2025-40348
In the Linux kernel, the following vulnerability has been resolved: slab: Avoid race on slab->obj_exts in alloc_slab_obj_exts If two competing threads enter alloc_slab_obj_exts() and one of them fails to allocate the object extension vector, it might override the valid slab->obj_exts allocated by the other thread with OBJEXTS_ALLOC_FAIL. This will cause the thread that lost this race and expects a valid pointer to dereference a NULL pointer later on. Update slab->obj_exts atomically using cmpxchg() to avoid slab->obj_exts overrides by racing threads. Thanks for Vlastimil and Suren's help with debugging.
Affected versions
Linux kernel versions
6.12.54,
6.17.4
and later are affected. Fixed in
6.12.56,
6.17.6
and their respective stable series.
References
3 totalFrequently asked questions
-
What is CVE-2025-40348?
CVE-2025-40348 is a unscored severity Linux kernel vulnerability . It affects Linux kernel versions from 6.12.54 onward and has been patched in 6.12.56 and 6.17.6. CVE-2025-40348 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
Is there a patch available for CVE-2025-40348?
Yes. CVE-2025-40348 has been patched. Fixed versions include 6.12.56 and 6.17.6. If you are running Linux kernel 6.12.54 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2025-40348 actively exploited?
No. CVE-2025-40348 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.