arm64: mm: validate /dev/mem mmap ranges without overflow

Summary

CVECVE-2026-99617
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-11-20 06:17:54 UTC
Updated2026-11-23 08:18:03 UTC
DescriptionIn the Linux kernel, the following vulnerability has been resolved: arm64: mm: validate /dev/mem mmap ranges without overflow An arm64 syzkaller reproducer creates a FUSE character device with major:minor 1:1, so opening it uses the /dev/mem file operations. It maps one page from offset 0xfffffffffffff000 at user address zero. The next openat() with a NULL pathname triggers a synchronous external abort (SEA, ESR 0x96000010) in strncpy_from_user() via do_getname(), panicking the kernel. valid_mmap_phys_addr_range() checks the exclusive end by adding the mapping size to the starting address. For this offset, the sum wraps to zero and passes the PHYS_MASK test, allowing an out-of-range PFN to reach remap_pfn_range(). The inclusive-end overflow check in mmap_mem_prepare() does not catch it because the end is ULONG_MAX. Reject starting PFNs outside PHYS_MASK and compare the inclusive length against the remaining physical range without overflowing. This also allows mappings that end exactly at PHYS_MASK, which the old check incorrectly rejects. [[email protected]: changed the check to look more like __access_ok()]

Risk And Classification

EPSS: 0.002110000 probability, percentile 0.112910000 (date 2026-11-23)

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 1d18c47c735e8adfe531fc41fae31e98f86b68fe 9ed663f51fa2d0a8a7c4754780809e35da7e5a41 git Not specified
CNA Linux Linux affected 1d18c47c735e8adfe531fc41fae31e98f86b68fe 99abd25b9037219ef82c937ff5d1f7c35615bc89 git Not specified
CNA Linux Linux affected 1d18c47c735e8adfe531fc41fae31e98f86b68fe 90ff5803ad3b85f1cfd07d427cc6b7d5f2d0d950 git Not specified
CNA Linux Linux affected 1d18c47c735e8adfe531fc41fae31e98f86b68fe bfcefa665475d737539dbecff57ab1749d81ab2e git Not specified
CNA Linux Linux affected 1d18c47c735e8adfe531fc41fae31e98f86b68fe db6607fd74263ead8df644b98ff25fac74d86f0e git Not specified
CNA Linux Linux affected 1d18c47c735e8adfe531fc41fae31e98f86b68fe fddf55af2d078f4186c5ab4f07383c8599b14640 git Not specified
CNA Linux Linux affected 1d18c47c735e8adfe531fc41fae31e98f86b68fe c9a54fc8147f45020badd9001d4ed234c74b9526 git Not specified
CNA Linux Linux affected 1d18c47c735e8adfe531fc41fae31e98f86b68fe b0958b1397fb5ffdb995c0ccc74349841929c08d git Not specified
CNA Linux Linux affected 3.7 Not specified
CNA Linux Linux unaffected 3.7 semver Not specified
CNA Linux Linux unaffected 5.10.275 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.226 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.193 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.163 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.118 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.64 6.18.* semver Not specified
CNA Linux Linux unaffected 7.3.5 7.3.* semver Not specified
CNA Linux Linux unaffected 7.4-rc2 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/99abd25b9037219ef82c937ff5d1f7c35615bc89 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/bfcefa665475d737539dbecff57ab1749d81ab2e 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/db6607fd74263ead8df644b98ff25fac74d86f0e 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/c9a54fc8147f45020badd9001d4ed234c74b9526 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/b0958b1397fb5ffdb995c0ccc74349841929c08d 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/90ff5803ad3b85f1cfd07d427cc6b7d5f2d0d950 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/9ed663f51fa2d0a8a7c4754780809e35da7e5a41 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/fddf55af2d078f4186c5ab4f07383c8599b14640 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report