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.
{ "vanir_signatures": [ { "id": "CVE-2023-52939-03ddd755", "signature_type": "Line", "target": { "file": "include/linux/memcontrol.h" }, "deprecated": false, "digest": { "line_hashes": [ "300394261157996467525733584220561185595", "118866079671317567635111895699253762909", "15327853071378377795231784469838533723", "109960422713247481038800930875731331006", "115128572421281500259202489907028728515", "201873156707754112668084320176493256054", "203661336135103990660693348220089746111" ], "threshold": 0.9 }, "signature_version": "v1", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ac86f547ca1002aec2ef66b9e64d03f45bbbfbb9" }, { "id": "CVE-2023-52939-7e0a02bb", "signature_type": "Function", "target": { "file": "include/linux/memcontrol.h", "function": "mem_cgroup_track_foreign_dirty" }, "deprecated": false, "digest": { "length": 194.0, "function_hash": "149287717843805627845241527918475198024" }, "signature_version": "v1", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b79ba5953f6fdc5559389ad415620bffc24f024b" }, { "id": "CVE-2023-52939-c19e60dc", "signature_type": "Function", "target": { "file": "include/linux/memcontrol.h", "function": "mem_cgroup_track_foreign_dirty" }, "deprecated": false, "digest": { "length": 194.0, "function_hash": "149287717843805627845241527918475198024" }, "signature_version": "v1", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ac86f547ca1002aec2ef66b9e64d03f45bbbfbb9" }, { "id": "CVE-2023-52939-da749dfe", "signature_type": "Line", "target": { "file": "include/linux/memcontrol.h" }, "deprecated": false, "digest": { "line_hashes": [ "300394261157996467525733584220561185595", "118866079671317567635111895699253762909", "15327853071378377795231784469838533723", "109960422713247481038800930875731331006", "115128572421281500259202489907028728515", "201873156707754112668084320176493256054", "203661336135103990660693348220089746111" ], "threshold": 0.9 }, "signature_version": "v1", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b79ba5953f6fdc5559389ad415620bffc24f024b" } ] }