CVE-2023-52939

mm: memcg: fix NULL pointer in mem_cgroup_track_foreign_dirty_slowpath()

Medium · published March 27, 2025

CVSS v3.1
5.5
EPSS
0%
Percentile
11.4
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00215 · 11.4th percentile
Published
2025-03-27T16:37Z
EPSS history
Timeline
  • 27 MAR 16:37Z
    mm: memcg: fix NULL pointer in mem_cgroup_track_foreign_dirty_slowpath()
    cvelistv5