CVE-2026-98686

Source
https://cve.org/CVERecord?id=CVE-2026-98686
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98686.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-98686
Downstream
Published
2026-10-18T15:45:55Z
Modified
2026-10-19T02:47:12Z
Summary
smb: client: discard post-EOF pagecache when extending a file via zero range
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98686.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
72c419d9b073628d3b5b0b2fc787b724f1a8c726
Fixed
94949b6b2f2bf0dba2e8786aed0b08cc6bc3a183
Fixed
b75dadb50a25eed525264bf6fea44fad94e7626f
Fixed
6a8279c98ad289b27c0bdb11adb3f0c0b7fd456d
Fixed
da4fe97fb6c730d9c94a115c7bfa6f98e0d578d0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98686.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.1.0
Fixed
6.12.113
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.56
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.2.10

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98686.json"