Skip to content
CVE PROGRAM SOURCE RECORD7.8 High

CVE-2026-46100

fs: afs: revert mmap_prepare() change

Description

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 9d5403b1036cdcd4be0f9f5568612c0e60e73d79 to < f51f85c044809fbd39ac8ae07ac99bc43ce32bd5affected
  • 9d5403b1036cdcd4be0f9f5568612c0e60e73d79 to < 48c7a0eaeea41da17d1d84d2d7a4c40be122b246affected
  • 9d5403b1036cdcd4be0f9f5568612c0e60e73d79 to < fbfc6578eaca12daa0c09df1e9ba7f2c657b49daaffected

Linux Linux

Default version status: affected

  • 6.17affected
  • 0 to < 6.17unaffected
  • 6.18.27 to ≤ 6.18.*unaffected
  • 7.0.4 to ≤ 7.0.*unaffected
  • 7.1 to ≤ *unaffected

References