NONE · 0

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 fai...

Vulnerability Description

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.

References

FAQ

What is CVE-2025-40348?

CVE-2025-40348 is a documented vulnerability. 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 fai...

How severe is CVE-2025-40348?

CVSS scoring is not yet available for CVE-2025-40348. Check NVD for updates.

Is there a patch for CVE-2025-40348?

Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.