CVE-2025-39902

published 1 Oct 2025 · updated 15 Oct 2026

mm/slub: avoid accessing metadata when pointer is invalid in object_err()

7.1HighCVSS 7.1EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 0ef7058b4dc6fcef622ac23b45225db57f17b83f, Kernel 1f0797f17927b5cad0fb7eced422f9a7c30a3191, Kernel 3baa1da473e6e50281324ff1d332d1a07a3bb02e and 5 more.

In the Linux kernel, the following vulnerability has been resolved: mm/slub: avoid accessing metadata when pointer is invalid in object_err() object_err() reports details of an object for further debugging, such as the freelist pointer, redzone, etc. However, if the pointer is invalid, attempting to access object metadata can lead to a crash since it does not point to a valid object. One known path to the crash is when alloc_consistency_checks() determines the pointer to the allocated object is invalid because of a freelist corruption, and calls object_err() to report it. The debug code should report and handle the corruption gracefully and not crash in the process. In case the pointer is NULL or check_valid_pointer() returns false for the pointer, only print the pointer value and skip accessing metadata.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=2.6.22, >=81819f0fc8285a2a5a921c019e3e3d7b6169d225 <0ef7058b4dc6fcef622ac23b45225db57f17b83f, >=81819f0fc8285a2a5a921c019e3e3d7b6169d225 <1f0797f17927b5cad0fb7eced422f9a7c30a3191, >=81819f0fc8285a2a5a921c019e3e3d7b6169d225 <3baa1da473e6e50281324ff1d332d1a07a3bb02e, >=81819f0fc8285a2a5a921c019e3e3d7b6169d225 <7e287256904ee796c9477e3ec92b07f236481ef3, >=81819f0fc8285a2a5a921c019e3e3d7b6169d225 <872f2c34ff232af1e65ad2df86d61163c8ffad42, >=81819f0fc8285a2a5a921c019e3e3d7b6169d225 <b4efccec8d06ceb10a7d34d7b1c449c569d53770, >=81819f0fc8285a2a5a921c019e3e3d7b6169d225 <dda6ec365ab04067adae40ef17015db447e90736, >=81819f0fc8285a2a5a921c019e3e3d7b6169d225 <f66012909e7bf383fcdc5850709ed5716073fdc40ef7058b4dc6fcef622ac23b45225db57f17b83f, 1f0797f17927b5cad0fb7eced422f9a7c30a3191, 3baa1da473e6e50281324ff1d332d1a07a3bb02e, 7e287256904ee796c9477e3ec92b07f236481ef3, 872f2c34ff232af1e65ad2df86d61163c8ffad42, b4efccec8d06ceb10a7d34d7b1c449c569d53770, dda6ec365ab04067adae40ef17015db447e90736, f66012909e7bf383fcdc5850709ed5716073fdc4

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-39902 severity on Zeptric[![CVE-2025-39902](https://zeptric.io/badge/cve/CVE-2025-39902.svg)](https://zeptric.io/cve/CVE-2025-39902)