We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2023-52939

mm: memcg: fix NULL pointer in mem_cgroup_track_foreign_dirty_slowpath()



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.

Reserved 2024-08-21 | Published 2025-03-27 | Updated 2025-05-04 | Assigner Linux

Product status

Default status
unaffected

97b27821b4854ca744946dae32a3f2fd55bcd5bc before b79ba5953f6fdc5559389ad415620bffc24f024b
affected

97b27821b4854ca744946dae32a3f2fd55bcd5bc before ac86f547ca1002aec2ef66b9e64d03f45bbbfbb9
affected

Default status
affected

5.4
affected

Any version before 5.4
unaffected

6.1.11
unaffected

6.2
unaffected

References

git.kernel.org/...c/b79ba5953f6fdc5559389ad415620bffc24f024b

git.kernel.org/...c/ac86f547ca1002aec2ef66b9e64d03f45bbbfbb9

cve.org (CVE-2023-52939)

nvd.nist.gov (CVE-2023-52939)

Download JSON

Share this page
https://cve.threatint.eu/CVE/CVE-2023-52939

Support options

Helpdesk Chat, Email, Knowledgebase