CVE-2026-98223

mm: filemap: retain mapped dropbehind folios

Published Oct 6, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

mm: filemap: retain mapped dropbehind folios

Fault-around can map ready dropbehind folios without going through the
normal page-cache lookup that clears dropbehind. A mapping represents a
competing cached user, so retain the folio instead of forcibly unmapping
it when writeback completes.

For a mapped folio, folio_unmap_invalidate() can call
unmap_mapping_folio(), which takes i_mmap_rwsem and may sleep. Retaining
mapped folios avoids this path when folio_end_dropbehind() runs in
non-preemptible task context.

Tal was able to trigger a sleeping-in-atomic warning due to this [1].

Unmapped dropbehind folios continue through the existing invalidation path.

Analysis

AI-generated

Technical impact

Fault‑around can map ready dropbehind folios without traversing the normal page‑cache lookup that clears dropbehind. The mapping represents a competing cached user, so the kernel retains the folio instead of forcibly unmapping it when writeback completes. For a mapped folio, folio_unmap_invalidate() may invoke unmap_mapping_folio(), which requires the i_mmap_rwsem and can sleep. By retaining mapped folios, the kernel avoids this path when folio_end_dropbehind() runs in a non‑preemptible context. This behavior can trigger a sleeping‑in‑atomic warning, signaling a potential race condition and improper use of synchronization (CWE‑821). The result is kernel instability that may manifest as performance degradation or occasional crashes, but no direct denial‑of‑service trigger is documented.

Affected Systems

All Linux kernel builds prior to commit 2897601dffe576fcd87a4259102f41f7fb0cbfc8, which implements the fix, are affected. The vulnerability exists in every distribution shipping such a kernel until the patch is applied.

Risk and Exploitability

The EPSS score is less than 1%, and the vulnerability is not listed in CISA KEV, indicating a low probability of exploitation. The issue resides entirely within kernel internals; the description does not document a remote or privileged exploitation path. With a CVSS base score of 5.5, the vulnerability is considered moderate severity. When triggered, the sleeping‑in‑atomic warning is recorded in kernel logs, and repeated occurrences could impair system responsiveness, but no direct denial‑of‑service attack vector is referenced in the description.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the kernel patch that includes commit 2897601dffe576fcd87a4259102f41f7fb0cbfc8 or later.
  • Recompile the kernel with that commit integrated if a pre‑built update is unavailable.
  • Monitor kernel logs for occurrences of "sleeping‑in‑atomic" warnings, which may indicate that the kernel is still running a version affected by this bug.

Generated by OpenCVE AI on October 10, 2026 at 04:29 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-9019-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9020-1 Linux kernel vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-362
Type Values Removed Values Added
Weaknesses CWE-821
References
Metrics threat_severity

None

cvssV3_1

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

threat_severity

Low

Type Values Removed Values Added
Weaknesses CWE-362
Type Values Removed Values Added
Weaknesses CWE-362
Type Values Removed Values Added
Weaknesses CWE-362
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: mm: filemap: retain mapped dropbehind folios Fault-around can map ready dropbehind folios without going through the normal page-cache lookup that clears dropbehind. A mapping represents a competing cached user, so retain the folio instead of forcibly unmapping it when writeback completes. For a mapped folio, folio_unmap_invalidate() can call unmap_mapping_folio(), which takes i_mmap_rwsem and may sleep. Retaining mapped folios avoids this path when folio_end_dropbehind() runs in non-preemptible task context. Tal was able to trigger a sleeping-in-atomic warning due to this [1]. Unmapped dropbehind folios continue through the existing invalidation path.
Title mm: filemap: retain mapped dropbehind folios
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-821

    Incorrect Synchronization

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 19, 2026, 9:15 AM
Reserved
Sep 25, 2026, 10:25 AM
Status
Received
Published
Oct 6, 2026, 9:18 AM
Modified
Oct 19, 2026, 10:18 AM
Severity
Low
Public date
Oct 6, 2026, 12:00 AM