CVE-2026-46100

fs: afs: revert mmap_prepare() change

High · published May 27, 2026

CVSS v3.1
7.8
EPSS
0%
Percentile
6.4
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00173 · 6.4th percentile
Published
2026-05-27T12:59Z
EPSS history
Timeline
  • 27 MAY 12:59Z
    fs: afs: revert mmap_prepare() change
    cvelistv5