GHSA-M2XV-M32C-QQV9

Vulnerability from github – Published: 2026-11-20 06:32 – Updated: 2026-11-23 09:30
VLAI
Details

In 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.

[catalin.marinas@arm.com: changed the check to look more like __access_ok()]

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2026-99617"
  ],
  "database_specific": {
    "cwe_ids": [],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2026-11-20T06:17:54Z",
    "severity": null
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\narm64: mm: validate /dev/mem mmap ranges without overflow\n\nAn arm64 syzkaller reproducer creates a FUSE character device with\nmajor:minor 1:1, so opening it uses the /dev/mem file operations. It\nmaps one page from offset 0xfffffffffffff000 at user address zero.\nThe next openat() with a NULL pathname triggers a synchronous external\nabort (SEA, ESR 0x96000010) in strncpy_from_user() via do_getname(),\npanicking the kernel.\n\nvalid_mmap_phys_addr_range() checks the exclusive end by adding the\nmapping size to the starting address. For this offset, the sum wraps\nto zero and passes the PHYS_MASK test, allowing an out-of-range PFN to\nreach remap_pfn_range(). The inclusive-end overflow check in\nmmap_mem_prepare() does not catch it because the end is ULONG_MAX.\n\nReject starting PFNs outside PHYS_MASK and compare the inclusive length\nagainst the remaining physical range without overflowing. This also\nallows mappings that end exactly at PHYS_MASK, which the old check\nincorrectly rejects.\n\n[catalin.marinas@arm.com: changed the check to look more like __access_ok()]",
  "id": "GHSA-m2xv-m32c-qqv9",
  "modified": "2026-11-23T09:30:52Z",
  "published": "2026-11-20T06:32:04Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-99617"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/90ff5803ad3b85f1cfd07d427cc6b7d5f2d0d950"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/99abd25b9037219ef82c937ff5d1f7c35615bc89"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/9ed663f51fa2d0a8a7c4754780809e35da7e5a41"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/b0958b1397fb5ffdb995c0ccc74349841929c08d"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/bfcefa665475d737539dbecff57ab1749d81ab2e"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/c9a54fc8147f45020badd9001d4ed234c74b9526"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/db6607fd74263ead8df644b98ff25fac74d86f0e"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/fddf55af2d078f4186c5ab4f07383c8599b14640"
    }
  ],
  "schema_version": "1.4.0",
  "severity": []
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…