CVE-2023-52939

Source
https://cve.org/CVERecord?id=CVE-2023-52939
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-52939.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-52939
Downstream
Related
Published
2025-03-27T16:37:18.026Z
Modified
2026-03-20T12:32:53.225150Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
mm: memcg: fix NULL pointer in mem_cgroup_track_foreign_dirty_slowpath()
Details

In the Linux kernel, the following vulnerability has been resolved:

mm: memcg: fix NULL pointer in memcgrouptrackforeigndirty_slowpath()

As commit 18365225f044 ("hwpoison, memcg: forcibly uncharge LRU pages"), hwpoison will forcibly uncharg a LRU hwpoisoned page, the foliomemcg could be NULl, then, memcgrouptrackforeigndirtyslowpath() could occurs a NULL pointer dereference, let's do not record the foreign writebacks for folio memcg is null in memcgrouptrackforeigndirty() to fix it.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52939.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
97b27821b4854ca744946dae32a3f2fd55bcd5bc
Fixed
b79ba5953f6fdc5559389ad415620bffc24f024b
Fixed
ac86f547ca1002aec2ef66b9e64d03f45bbbfbb9

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-52939.json"