CVE-2023-52939
mm: memcg: fix NULL pointer in mem_cgroup_track_foreign_dirty_slowpath()
Published:
3/27/2025
Last updated:
5/11/2026
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 (4)
| Product |
Vendor |
Version |
| Linux |
Linux
|
11.4.0
|
| Linux |
Linux
|
12.0.1
|
| Linux |
Linux
|
V500R002C00SPCb00
|
| Linux |
Linux
|
V100R001C10SPC300
|