Medium severity · published Oct 1, 2025
CVE-2025-39902
mm/slub: avoid accessing metadata when pointer is invalid in object_err()
5.5
CVSS
0.2%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.2% · higher than 6% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
KE
Kernel · Linux
2.6.22 before 5.4.299; 5.5 before 5.10.243; 5.11 before 5.15.192; 5.16 before 6.1.151; 6.2 before 6.6.105; 6.7 before 6.12.46; +5 more · source: NVD
LI
Linux · Linux
81819f0fc8285a2a5a921c019e3e3d7b6169d225 before 872f2c34ff232af1e65ad2df86d61163c8ffad42; 81819f0fc8285a2a5a921c019e3e3d7b6169d225 before f66012909e7bf383fcdc5850709ed5716073fdc4; 81819f0fc8285a2a5a921c019e3e3d7b6169d225 before 7e287256904ee796c9477e3ec92b07f236481ef3; 81819f0fc8285a2a5a921c019e3e3d7b6169d225 before 1f0797f17927b5cad0fb7eced422f9a7c30a3191; 81819f0fc8285a2a5a921c019e3e3d7b6169d225 before 0ef7058b4dc6fcef622ac23b45225db57f17b83f; 81819f0fc8285a2a5a921c019e3e3d7b6169d225 before dda6ec365ab04067adae40ef17015db447e90736; +3 more · source: vendor
DL
Debian Linux · Debian
11.0 · source: NVD