CVE-2026-46100

fs: afs: revert mmap_prepare() change

HIGH
7.8
CVSS Score
Published: May 27, 2026 at 12:59 PM UTC
Updated: August 5, 2026 at 01:24 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.1%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

6.17 ≤ v < 6.18.276.17 ≤ v < 7.0.46.17 ≤ v < 7.16.19 ≤ v < 7.0.46.179d5403b1036cdcd4be0f9f5568612c0e60e73d79
Vendor states this is fixed in 48c7a0eaeea41da17d1d84d2d7a4c40be122b246 (fixed)
Vendor states this is fixed in f51f85c044809fbd39ac8ae07ac99bc43ce32bd5 (fixed)
Vendor states this is fixed in fbfc6578eaca12daa0c09df1e9ba7f2c657b49da (fixed)
Vendor states this is fixed in 6.17 (unaffected)
Vendor states this is fixed in 6.18.27 (unaffected)
Vendor states this is fixed in 7.0.4 (unaffected)
Vendor states this is fixed in 7.1 (unaffected)

CVSS

7.8HIGHLinux
Vector?

Quick Info

StatusANALYZED
CWE
NVD-CWE-noinfo

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card