smb: client: discard post-EOF pagecache when extending a file via zero range
In the Linux kernel, the following vulnerability has been resolved: smb: client: discard post-EOF pagecache when extending a file via zero range smb3_zero_range() removed the pagecache only for the range being zeroed, so when it extends the file the folio straddling the old EOF - which may hold data dirtied past EOF through an mmap - was never dropped and became visible as file content once the file was extended. Lower the discard boundary to the smaller of the zero-range offset and the old EOF.
CVE-2026-98686
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-98686
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": "72c419d9b073628d3b5b0b2fc787b724f1a8c726",
"lessThan": "3df27277f8f95345d4a6c57367824bf1aefdbf66",
"versionType": "git"
},
{
"status": "affected",
"version": "72c419d9b073628d3b5b0b2fc787b724f1a8c726",
"lessThan": "94949b6b2f2bf0dba2e8786aed0b08cc6bc3a183",
"versionType": "git"
},
{
"status": "affected",
"version": "72c419d9b073628d3b5b0b2fc787b724f1a8c726",
"lessThan": "b75dadb50a25eed525264bf6fea44fad94e7626f",
"versionType": "git"
},
{
"status": "affected",
"version": "72c419d9b073628d3b5b0b2fc787b724f1a8c726",
"lessThan": "6a8279c98ad289b27c0bdb11adb3f0c0b7fd456d",
"versionType": "git"
},
{
"status": "affected",
"version": "72c419d9b073628d3b5b0b2fc787b724f1a8c726",
"lessThan": "da4fe97fb6c730d9c94a115c7bfa6f98e0d578d0",
"versionType": "git"
}
],
"programFiles": [
"fs/smb/client/smb2ops.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "5.1"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "5.1",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.6.160",
"versionType": "semver",
"lessThanOrEqual": "6.6.*"
},
{
"status": "unaffected",
"version": "6.12.113",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.56",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.2.10",
"versionType": "semver",
"lessThanOrEqual": "7.2.*"
},
{
"status": "unaffected",
"version": "7.3",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"fs/smb/client/smb2ops.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-98686
Source reference:
/cveMetadata/cveId
Publisher severity
No explicit severity was provided.
- Event
- #48906 · Revision 1
- Added to Heist Feed
- Publisher date