VDB

CVE-2023-53989

CVE-2023-53989 PUBLISHED

arm64: mm: fix VA-range sanity check

Reported by linux · Published December 24, 2025

In the Linux kernel, the following vulnerability has been resolved: arm64: mm: fix VA-range sanity check Both create_mapping_noalloc() and update_mapping_prot() sanity-check their 'virt' parameter, but the check itself doesn't make much sense. The condition used today appears to be a historical accident. The sanity-check condition: if ((virt >= PAGE_END) && (virt < VMALLOC_START)) { [ ... warning here ... ] return; } ... can only be true for the KASAN shadow region or the module region, and there's no reason to exclude these specifically for creating and updateing mappings. When arm64 support was first upstreamed in commit: c1cc1552616d0f35 ("arm64: MMU initialisation") ... the condition was: if (virt < VMALLOC_START) { [ ... warning here ... ] return; } At the time, VMALLOC_START was the lowest kernel address, and this was checking whether 'virt' would be translated via TTBR1. Subsequently in commit: 14c127c957c1c607 ("arm64: mm: Flip kernel VA space") ... the condition was changed to: if ((virt >= VA_START) && (virt < VMALLOC_START)) { [ ... warning here ... ] return; } This appear to have been a thinko. The commit moved the linear map to the bottom of the kernel address space, with VMALLOC_START being at the halfway point. The old condition would warn for changes to the linear map below this, and at the time VA_START was the end of the linear map. Subsequently we cleaned up the naming of VA_START in commit: 77ad4ce69321abbe ("arm64: memory: rename VA_START to PAGE_END") ... keeping the erroneous condition as: if ((virt >= PAGE_END) && (virt < VMALLOC_START)) { [ ... warning here ... ] return; } Correct the condition to check against the start of the TTBR1 address space, which is currently PAGE_OFFSET. This simplifies the logic, and more clearly matches the "outside kernel range" message in the warning.

EPSS 0.21% · 10.8th percentile

Risk scores

EPSS Score
0.21%
10.8th percentile

Affected products

VendorProductVersions
LinuxLinux14c127c957c1c6070647c171e72f06e0db275ebf, 14c127c957c1c6070647c171e72f06e0db275ebf, 14c127c957c1c6070647c171e72f06e0db275ebf
LinuxLinux5.4, 0, 5.4.251
linuxlinux_kernel5.4, 5.4, 5.4
amazon:2023bpftool0
amazon:2023kernel-tools-devel0
amazon:2023python3-perf0
amazon:2023kernel-modules-extra0
amazon:2023kernel-livepatch-6.1.175-219.3570
amazon:2023kernel-tools0
amazon:2023perf0
LinuxLinux6.1.175, 5.15.150, 14c127c957c1c6070647c171e72f06e0db275ebf
amazon:2023kernel-modules-extra-common0
amazon:2023kernel-devel0
amazon:2023kernel0
amazon:2023kernel-headers0

Timeline

  • Dec 24, 2025 CVE Published
  • Dec 28, 2025 EPSS Score (29 in total, the first dated here)
  • Jun 2, 2026 Security Advisory (116 in total, the first dated here)
  • Jul 27, 2026 Coalition ESS Score
  • Oct 2, 2026 Distribution Patch (111 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2023-53989
vulnetix vdb fixes CVE-2023-53989

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-53989/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 ›