{
  "id": "CVE-2026-46100",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-46100",
  "published_at": "2026-05-27T12:59:06.853Z",
  "title": "fs: afs: revert mmap_prepare() change",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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.",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 9d5403b1036cdcd4be0f9f5568612c0e60e73d79, \u003c f51f85c044809fbd39ac8ae07ac99bc43ce32bd5",
          "\u003e= 9d5403b1036cdcd4be0f9f5568612c0e60e73d79, \u003c 48c7a0eaeea41da17d1d84d2d7a4c40be122b246",
          "\u003e= 9d5403b1036cdcd4be0f9f5568612c0e60e73d79, \u003c fbfc6578eaca12daa0c09df1e9ba7f2c657b49da"
        ],
        "fixed_in": [
          "f51f85c044809fbd39ac8ae07ac99bc43ce32bd5",
          "48c7a0eaeea41da17d1d84d2d7a4c40be122b246",
          "fbfc6578eaca12daa0c09df1e9ba7f2c657b49da"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.17"
        ],
        "fixed_in": [
          "0",
          "6.18.27",
          "7.0.4",
          "7.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to f51f85c044809fbd39ac8ae07ac99bc43ce32bd5 or 48c7a0eaeea41da17d1d84d2d7a4c40be122b246 or fbfc6578eaca12daa0c09df1e9ba7f2c657b49da or later.",
      "Upgrade Linux to 0 or 6.18.27 or 7.0.4 or 7.1 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
