CVE-2023-52939

MEDIUM

Linux kernel 5.4-6.1.10 - NULL Pointer Dereference in mem_cgroup_track_foreign_dirty_slowpath

Title source: llm
STIX 2.1

Description

In the Linux kernel, the following vulnerability has been resolved: mm: memcg: fix NULL pointer in mem_cgroup_track_foreign_dirty_slowpath() As commit 18365225f044 ("hwpoison, memcg: forcibly uncharge LRU pages"), hwpoison will forcibly uncharg a LRU hwpoisoned page, the folio_memcg could be NULl, then, mem_cgroup_track_foreign_dirty_slowpath() could occurs a NULL pointer dereference, let's do not record the foreign writebacks for folio memcg is null in mem_cgroup_track_foreign_dirty() to fix it.

Scores

CVSS v3 5.5
EPSS 0.0018
EPSS Percentile 8.2%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-476
Status published
Products (8)
Linux/Linux < 5.4
Linux/Linux 5.4
Linux/Linux 6.1.11 - 6.1.*
Linux/Linux 6.2
Linux/Linux 97b27821b4854ca744946dae32a3f2fd55bcd5bc - ac86f547ca1002aec2ef66b9e64d03f45bbbfbb9
Linux/Linux 97b27821b4854ca744946dae32a3f2fd55bcd5bc - b79ba5953f6fdc5559389ad415620bffc24f024b
linux/linux_kernel 6.2 rc1 (6 CPE variants)
linux/linux_kernel 5.4 - 6.1.11
Published Mar 27, 2025
Tracked Since Feb 18, 2026