Junglewise Threat Intelligence

CVE-2025-39902: Linux Kernel NULL pointer dereference in SLUB object_err

CVE-2025-39902 · Severity: high · CVSS 7.1 · Published 2025-10-01

Technologies: Linux Kernel. Vendors: Linux.

Executive brief

A vulnerability in the Linux kernel's memory management system could cause a system crash or potentially expose sensitive information. The issue occurs when the kernel attempts to log details about a memory error but inadvertently accesses invalid memory locations itself. This could be exploited by a local user to disrupt system operations or gain unauthorized access to data.

Technical details

The vulnerability is a NULL pointer dereference (CWE-476) located in mm/slub.c within the object_err() function. When the kernel detects memory corruption via alloc_consistency_checks(), it calls object_err() to report debugging details. However, if the object pointer itself is invalid or NULL, object_err() would attempt to access its metadata (such as redzones or freelist pointers), leading to a kernel oops/crash. A local attacker with low privileges can trigger this condition to cause a Denial of Service (DoS) or potentially leak kernel memory information. The fix introduces a check using check_valid_pointer() to ensure the pointer is valid before attempting to access its metadata.

Affected products

  • Linux Linux Kernel 2.6.22 to 6.1.151

Timeline

  • 2025-09-09: patched: Fix committed to stable kernel trees.
  • 2025-10-01: disclosed: CVE published.

References

Related threats