GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

CVE-2026-46100 (GCVE-0-2026-46100)

Vulnerability from cvelistv5 – Published: 2026-05-27 12:59 – Updated: 2026-08-05 12:29
VLAI
Title
fs: afs: revert mmap_prepare() change
Summary
In the Linux kernel, the following vulnerability has been resolved: fs: afs: revert mmap_prepare() change Partially reverts commit 9d5403b1036c ("fs: convert most other generic_file_*mmap() users to .mmap_prepare()"). This is because the .mmap invocation establishes a refcount, but .mmap_prepare is called at a point where a merge or an allocation failure might happen after the call, which would leak the refcount increment. Functionality is being added to permit the use of .mmap_prepare in this case, but in the interim, we need to fix this.
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 9d5403b1036cdcd4be0f9f5568612c0e60e73d79 , < f51f85c044809fbd39ac8ae07ac99bc43ce32bd5 (git)
Affected: 9d5403b1036cdcd4be0f9f5568612c0e60e73d79 , < 48c7a0eaeea41da17d1d84d2d7a4c40be122b246 (git)
Affected: 9d5403b1036cdcd4be0f9f5568612c0e60e73d79 , < fbfc6578eaca12daa0c09df1e9ba7f2c657b49da (git)
guessed Create a notification for this product.
Linux Linux Affected: 6.17
Unaffected: 0 , < 6.17 (semver)
Unaffected: 6.18.27 , ≤ 6.18.* (semver)
Unaffected: 7.0.4 , ≤ 7.0.* (semver)
Unaffected: 7.1 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "fs/afs/file.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "f51f85c044809fbd39ac8ae07ac99bc43ce32bd5",
              "status": "affected",
              "version": "9d5403b1036cdcd4be0f9f5568612c0e60e73d79",
              "versionType": "git"
            },
            {
              "lessThan": "48c7a0eaeea41da17d1d84d2d7a4c40be122b246",
              "status": "affected",
              "version": "9d5403b1036cdcd4be0f9f5568612c0e60e73d79",
              "versionType": "git"
            },
            {
              "lessThan": "fbfc6578eaca12daa0c09df1e9ba7f2c657b49da",
              "status": "affected",
              "version": "9d5403b1036cdcd4be0f9f5568612c0e60e73d79",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "fs/afs/file.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.17"
            },
            {
              "lessThan": "6.17",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.27",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.0.*",
              "status": "unaffected",
              "version": "7.0.4",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.27",
                  "versionStartIncluding": "6.17",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.0.4",
                  "versionStartIncluding": "6.17",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1",
                  "versionStartIncluding": "6.17",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nfs: afs: revert mmap_prepare() change\n\nPartially reverts commit 9d5403b1036c (\"fs: convert most other\ngeneric_file_*mmap() users to .mmap_prepare()\").\n\nThis is because the .mmap invocation establishes a refcount, but\n.mmap_prepare is called at a point where a merge or an allocation failure\nmight happen after the call, which would leak the refcount increment.\n\nFunctionality is being added to permit the use of .mmap_prepare in this\ncase, but in the interim, we need to fix this."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - The refcount leak is set up by a local mmap() syscall on a file in a mounted AFS volume; although AFS is a network filesystem, the vulnerable code path is reached via a local syscall, not via remote packet processing.\nAC:L - A local user reliably forces the leaking path by mmap\u0027ing adjacent compatible regions to cause a VMA merge after .mmap_prepare; the merge and the subsequent fileserver-driven open_mmaps traversal are repeatable and within the attacker\u0027s control.\nPR:L - Exploitation requires only an unprivileged local account able to open and mmap a readable file on the AFS mount; no elevated capabilities are needed.\nUI:N - The attacker performs the mmap themselves; no action by another user is required (the AFS mount is environmental setup, not interaction).\nS:U - The corrupted vnode and the impacted callback-break code are all within the kernel\u0027s own security authority; no boundary such as VM/IOMMU is crossed.\nC:H - The leaked refcount leaves a freed afs_vnode linked on open_mmaps, and a subsequent callback-break traversal yields a use-after-free whose freed slab object can be controlled to enable arbitrary kernel memory disclosure.\nI:H - The use-after-free on the afs_vnode (afs_inode_cachep) permits heap spraying of attacker-controlled contents, providing a write primitive and potential control-flow hijack.\nA:H - The dangling list entry causes kernel oops/panic on the next callback-break traversal, and sustained triggering also leaks vnodes, so availability is fully impacted."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T12:29:37.582Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/f51f85c044809fbd39ac8ae07ac99bc43ce32bd5"
        },
        {
          "url": "https://git.kernel.org/stable/c/48c7a0eaeea41da17d1d84d2d7a4c40be122b246"
        },
        {
          "url": "https://git.kernel.org/stable/c/fbfc6578eaca12daa0c09df1e9ba7f2c657b49da"
        }
      ],
      "title": "fs: afs: revert mmap_prepare() change",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-46100",
    "datePublished": "2026-05-27T12:59:06.853Z",
    "dateReserved": "2026-05-13T15:03:33.097Z",
    "dateUpdated": "2026-08-05T12:29:37.582Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-46100",
      "date": "2026-09-16",
      "epss": "0.00141",
      "percentile": "0.03805"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-46100\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-05-27T14:17:31.877\",\"lastModified\":\"2026-06-25T21:18:03.243\",\"vulnStatus\":\"Analyzed\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nfs: afs: revert mmap_prepare() change\\n\\nPartially reverts commit 9d5403b1036c (\\\"fs: convert most other\\ngeneric_file_*mmap() users to .mmap_prepare()\\\").\\n\\nThis is because the .mmap invocation establishes a refcount, but\\n.mmap_prepare is called at a point where a merge or an allocation failure\\nmight happen after the call, which would leak the refcount increment.\\n\\nFunctionality is being added to permit the use of .mmap_prepare in this\\ncase, but in the interim, we need to fix this.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"fs/afs/file.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"9d5403b1036cdcd4be0f9f5568612c0e60e73d79\",\"lessThan\":\"f51f85c044809fbd39ac8ae07ac99bc43ce32bd5\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"9d5403b1036cdcd4be0f9f5568612c0e60e73d79\",\"lessThan\":\"48c7a0eaeea41da17d1d84d2d7a4c40be122b246\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"9d5403b1036cdcd4be0f9f5568612c0e60e73d79\",\"lessThan\":\"fbfc6578eaca12daa0c09df1e9ba7f2c657b49da\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"fs/afs/file.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"6.17\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"6.17\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.18.27\",\"lessThanOrEqual\":\"6.18.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.0.4\",\"lessThanOrEqual\":\"7.0.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.1\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\",\"baseScore\":7.8,\"baseSeverity\":\"HIGH\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":5.9}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"NVD-CWE-noinfo\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.17\",\"versionEndExcluding\":\"6.18.27\",\"matchCriteriaId\":\"210B8806-2626-4386-99C1-68429968DE90\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.19\",\"versionEndExcluding\":\"7.0.4\",\"matchCriteriaId\":\"CDB78D6D-22C3-4154-B0D0-94AF1CE5C2E3\"}]}]}],\"references\":[{\"url\":\"https://git.kernel.org/stable/c/48c7a0eaeea41da17d1d84d2d7a4c40be122b246\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/f51f85c044809fbd39ac8ae07ac99bc43ce32bd5\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/fbfc6578eaca12daa0c09df1e9ba7f2c657b49da\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]}]}}",
    "redhat_vex": {
      "aggregate_severity": "None",
      "current_release_date": "2026-06-28T11:05:08+00:00",
      "cve": "CVE-2026-46100",
      "id": "CVE-2026-46100",
      "initial_release_date": "2026-05-27T00:00:00+00:00",
      "product_status:known_not_affected": "274",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: fs: afs: revert mmap_prepare() change",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-46100.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-08-06T01:18:08Z",
      "cve": "CVE-2026-46100",
      "id": "CVE-2026-46100",
      "initial_release_date": "2026-05-28T03:52:39Z",
      "product_status:known_not_affected": "293",
      "product_status:recommended": "4",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-46100",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2026-46100.json",
      "version": "7"
    }
  }
}



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…

Detection rules are retrieved from Rulezet.

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…