CVE-2023-52939
mm: memcg: fix NULL pointer in mem_cgroup_track_foreign_dirty_slowpath()
Published:
3/27/2025
Last updated:
10/1/2025
Reserved:
8/21/2024
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.
CNA assigner:
Linux (416baaa9-dc9f-4396-8d5f-8c081fb06d67)
Requested by:
n/a
Products affected (3)
| Product |
Vendor |
Version |
| Linux |
Linux
|
n/a
|
| Linux |
Linux
|
n/a
|
| Linux |
Linux
|
6.6 prior to 6.6.5.14
|