VDB

CVE-2023-52939

CVE-2023-52939 PUBLISHED CVSS 5.5 MEDIUM

mm: memcg: fix NULL pointer in mem_cgroup_track_foreign_dirty_slowpath()

Reported by linux · Published March 27, 2025

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
perfAmazon Linux6.1.12-17.42.amzn2023
kernel-headersAmazon Linux6.1.12-17.42.amzn2023
kernel-libbpf-staticAmazon Linux6.1.12-17.42.amzn2023
kernel-develAmazon Linux6.1.12-17.42.amzn2023
bpftoolAmazon Linux6.1.12-17.42.amzn2023
kernel-toolsAmazon Linux6.1.12-17.42.amzn2023
python3-perfAmazon Linux6.1.12-17.42.amzn2023
kernelAmazon Linux6.1.12-17.42.amzn2023
kernel-livepatch-6.1.12-17.42Amazon Linux1.0-0.amzn2023
linux_kernellinux6.1.11

Risk scores

CVSS 3.1
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected products

VendorProductVersions
LinuxLinux97b27821b4854ca744946dae32a3f2fd55bcd5bc, 97b27821b4854ca744946dae32a3f2fd55bcd5bc
LinuxLinux5.4, 0, 6.1.11
amazon:2023perf0
amazon:2023kernel-headers0
amazon:2023kernel-libbpf-static0
amazon:2023kernel-devel0
amazon:2023bpftool0
amazon:2023kernel-tools0
amazon:2023python3-perf0
amazon:2023kernel0
amazon:2023kernel-livepatch-6.1.12-17.420
linuxlinux_kernel5.4, 5.4
amazon:2023kernel-libbpf0
amazon:2023kernel-libbpf-devel0
LinuxLinux0, 97b27821b4854ca744946dae32a3f2fd55bcd5bc, 5.4
amazon:2023kernel-tools-devel0

Timeline

  • Mar 27, 2025 CVE Published
  • Mar 28, 2025 EPSS Score (30 in total, the first dated here)
  • Mar 28, 2025 Coalition ESS Score (10 in total, the first dated here)
  • Oct 1, 2025 CVE Updated
  • Jan 25, 2026 Security Advisory (128 in total, the first dated here)
  • Sep 5, 2026 Distribution Patch (120 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2023-52939
vulnetix vdb fixes CVE-2023-52939

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-52939/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›