CVE 7.8 HIGH

fs: afs: revert mmap_prepare() change_CVE-2026-46100

7.8 / 10
HIGH
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

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.

Basic Information

ID CVE-2026-46100
Source Linux
Published May 27, 2026 at 12:59
Modified May 30, 2026 at 10:47

Affected Product

Vendor Linux
Product Linux
Version 9d5403b1036cdcd4be0f9f5568612c0e60e73d79
Affected Versions Linux Linux 9d5403b1036cdcd4be0f9f5568612c0e60e73d79
Linux Linux 9d5403b1036cdcd4be0f9f5568612c0e60e73d79
Linux Linux 9d5403b1036cdcd4be0f9f5568612c0e60e73d79
Linux Linux 6.17

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.