{"id":"CVE-2026-46100","summary":"fs: afs: revert mmap_prepare() change","details":"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.","modified":"2026-06-27T11:54:57.552989188Z","published":"2026-05-27T12:59:06.853Z","related":["openSUSE-SU-2026:10954-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46100.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/48c7a0eaeea41da17d1d84d2d7a4c40be122b246"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f51f85c044809fbd39ac8ae07ac99bc43ce32bd5"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fbfc6578eaca12daa0c09df1e9ba7f2c657b49da"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46100.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-46100"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"9d5403b1036cdcd4be0f9f5568612c0e60e73d79"},{"fixed":"f51f85c044809fbd39ac8ae07ac99bc43ce32bd5"},{"fixed":"48c7a0eaeea41da17d1d84d2d7a4c40be122b246"},{"fixed":"fbfc6578eaca12daa0c09df1e9ba7f2c657b49da"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-46100.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.17.0"},{"fixed":"6.18.27"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.0.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-46100.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}