mm: filemap: retain mapped dropbehind folios
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.
CVE-2026-98223
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-98223
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "fb7d3bc4149395c1ae99029c852eab6c28fc3c88",
"lessThan": "2897601dffe576fcd87a4259102f41f7fb0cbfc8",
"versionType": "git"
},
{
"status": "affected",
"version": "fb7d3bc4149395c1ae99029c852eab6c28fc3c88",
"lessThan": "77c0fade37c80e8aa16ac048a9828249055e3f66",
"versionType": "git"
},
{
"status": "affected",
"version": "fb7d3bc4149395c1ae99029c852eab6c28fc3c88",
"lessThan": "848d2ce2fce15fbdc083fbf9691bfa72911033c4",
"versionType": "git"
}
],
"programFiles": [
"mm/filemap.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "6.14"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "6.14",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.18.54",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.2.8",
"versionType": "semver",
"lessThanOrEqual": "7.2.*"
},
{
"status": "unaffected",
"version": "7.3",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"mm/filemap.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-98223
Source reference:
/cveMetadata/cveId
Publisher severity
No explicit severity was provided.
- Event
- #38304 · Revision 1
- Added to Heist Feed
- Publisher date