# CVE-2023-53989: arm64: mm: fix VA-range sanity check

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.29% (percentile 14, 2026-11-26)
- **Published:** 2025-12-24T10:55:28.461Z
- **Modified:** 2026-06-17T06:46:29.700Z

## Who should check

- Anyone running Linux \>= 14c127c957c1c6070647c171e72f06e0db275ebf, \< 9d8d3df71516ec3236d8d93ff029d251377ba4b1; \>= 14c127c957c1c6070647c171e72f06e0db275ebf, \< 32020fc2a8373d3de35ae6d029d5969a42651e7a; \>= 14c127c957c1c6070647c171e72f06e0db275ebf, \< 621619f626cbe702ddbdc54117f3868b8ebd8129; \>= 14c127c957c1c6070647c171e72f06e0db275ebf, \< c7a9e967cc9615a1dabc5e0e6fdbe88a172d5a5b; \>= 14c127c957c1c6070647c171e72f06e0db275ebf, \< b03c7fcc5ed854d0e1b27e9abf12428bfa751a37; \>= 14c127c957c1c6070647c171e72f06e0db275ebf, \< ab9b4008092c86dc12497af155a0901cc1156999
- Anyone running Linux 5.4

## Description

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.

## Affected and fixed versions

- Linux: \>= 14c127c957c1c6070647c171e72f06e0db275ebf, \< 9d8d3df71516ec3236d8d93ff029d251377ba4b1; \>= 14c127c957c1c6070647c171e72f06e0db275ebf, \< 32020fc2a8373d3de35ae6d029d5969a42651e7a; \>= 14c127c957c1c6070647c171e72f06e0db275ebf, \< 621619f626cbe702ddbdc54117f3868b8ebd8129; \>= 14c127c957c1c6070647c171e72f06e0db275ebf, \< c7a9e967cc9615a1dabc5e0e6fdbe88a172d5a5b; \>= 14c127c957c1c6070647c171e72f06e0db275ebf, \< b03c7fcc5ed854d0e1b27e9abf12428bfa751a37; \>= 14c127c957c1c6070647c171e72f06e0db275ebf, \< ab9b4008092c86dc12497af155a0901cc1156999 (cvelist)
- Linux: 5.4 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-53989. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-53989.md
Affected: Linux >= 14c127c957c1c6070647c171e72f06e0db275ebf, < 9d8d3df71516ec3236d8d93ff029d251377ba4b1; >= 14c127c957c1c6070647c171e72f06e0db275ebf, < 32020fc2a8373d3de35ae6d029d5969a42651e7a; >= 14c127c957c1c6070647c171e72f06e0db275ebf, < 621619f626cbe702ddbdc54117f3868b8ebd8129; >= 14c127c957c1c6070647c17…
Fixed in: Linux 9d8d3df71516ec3236d8d93ff029d251377ba4b1, Linux 32020fc2a8373d3de35ae6d029d5969a42651e7a, Linux 621619f626cbe702ddbdc54117f3868b8ebd8129

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-53989 being exploited?

There is no confirmed exploitation: CVE-2023-53989 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2023-53989?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2023-53989?

Linux \>= 14c127c957c1c6070647c171e72f06e0db275ebf, \< 9d8d3df71516ec3236d8d93ff029d251377ba4b1; \>= 14c127c957c1c6070647c171e72f06e0db275ebf, \< 32020fc2a8373d3de35ae6d029d5969a42651e7a; \>= 14c127c957c1c6070647c171e72f06e0db275ebf, \< 621619f626cbe702ddbdc54117f3868b8ebd8129; \>= 14c127c957c1c6070647c171e72f06e0db275ebf, \< c7a9e967cc9615a1dabc5e0e6fdbe88a172d5a5b; \>= 14c127c957c1c6070647c171e72f06e0db275ebf, \< b03c7fcc5ed854d0e1b27e9abf12428bfa751a37; \>= 14c127c957c1c6070647c171e72f06e0db275ebf, \< ab9b4008092c86dc12497af155a0901cc1156999; Linux 5.4.

### Is there a fix for CVE-2023-53989?

Yes. Fixed in Linux 9d8d3df71516ec3236d8d93ff029d251377ba4b1, Linux 32020fc2a8373d3de35ae6d029d5969a42651e7a, Linux 621619f626cbe702ddbdc54117f3868b8ebd8129. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2023-53989?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/9d8d3df71516ec3236d8d93ff029d251377ba4b1>
- other: <https://git.kernel.org/stable/c/32020fc2a8373d3de35ae6d029d5969a42651e7a>
- other: <https://git.kernel.org/stable/c/621619f626cbe702ddbdc54117f3868b8ebd8129>
- other: <https://git.kernel.org/stable/c/c7a9e967cc9615a1dabc5e0e6fdbe88a172d5a5b>
- other: <https://git.kernel.org/stable/c/b03c7fcc5ed854d0e1b27e9abf12428bfa751a37>
- other: <https://git.kernel.org/stable/c/ab9b4008092c86dc12497af155a0901cc1156999>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-53989>

HTML: <https://flawdb.com/CVE-2023-53989> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-53989>
