Linux Kernel Memory Cgroup NULL Pointer Dereference Vulnerability

Vulnerability

A vulnerability in the Linux kernel's memory cgroup (memcg) implementation can lead to a NULL pointer dereference. This issue arises when the kernel's hwpoison feature forcibly uncharges a least recently used (LRU) hwpoisoned page. In such cases, the associated memory cgroup can be NULL, causing the 'mem_cgroup_track_foreign_dirty_slowpath()' function to dereference a NULL pointer. The vulnerability has been addressed by ensuring that foreign writebacks are not recorded for folios with a NULL memory cgroup.

Impact

Exploitation of this vulnerability leads to a NULL pointer dereference, causing a kernel crash.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
5.3
remediation
0.0
relevance
0.0
threat
3.2
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.