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.
Published: 2026-05-27
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Linux kernel AFS subsystem contains a defect (CWE-911) where the ".mmap_prepare" callback may increment a reference count that is not decremented if a merge or allocation failure occurs following the call. This defect could result in a reference count leak affecting kernel objects.

Affected Systems

The defect is present in the Linux kernel source. All systems running a kernel that includes the buggy commit before the revert may be affected. No vendor‑specific version information is provided, so any Linux kernel that incorporates that commit is potentially vulnerable until the revert is applied.

Risk and Exploitability

The CVSS score of 7.8 indicates a high severity vulnerability with potential impact on system integrity and availability. The EPSS score of less than 1 % suggests that the likelihood of this vulnerability being actively exploited in the wild is quite low at present. Because the vulnerability is not listed in the CISA KEV catalog, no widespread active exploitation is known. The flaw originates from an improper use of the .mmap_prepare callback, which may result in a reference count leak that could lead to resource exhaustion over time if not addressed.

Generated by OpenCVE AI on May 30, 2026 at 13:22 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to a Linux kernel version that includes the revert of the problematic commit.
  • If an upgrade cannot be performed immediately, apply the revert commit manually to the kernel source or use a patched kernel build that disables the buggy behaviour.
  • Monitor kernel memory usage and related metrics for unexpected growth that could indicate a reference count leak.

Generated by OpenCVE AI on May 30, 2026 at 13:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 30 May 2026 11:00:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Thu, 28 May 2026 04:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-391

Thu, 28 May 2026 00:15:00 +0000


Wed, 27 May 2026 21:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-391

Wed, 27 May 2026 14:15:00 +0000

Type Values Removed Values Added
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.
Title fs: afs: revert mmap_prepare() change
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-06-14T17:54:25.442Z

Reserved: 2026-05-13T15:03:33.097Z

Link: CVE-2026-46100

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-05-27T14:17:31.877

Modified: 2026-06-17T10:53:04.007

Link: CVE-2026-46100

cve-icon Redhat

Severity :

Publid Date: 2026-05-27T00:00:00Z

Links: CVE-2026-46100 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-05-30T13:30:24Z

Weaknesses
  • CWE-911

    Improper Update of Reference Count