smb: client: drain and invalidate before server-side copy/clone
Severity and exploitation
KEV coverage does not rule out exploitation.
Severity
unknownCVSS measures technical severity, not the likelihood of an attack.
Known exploitation
Not listed in the checked CISA KEV catalog
Absence from CISA KEV does not rule out attacks.
Public exploit
Not established by this record
Missing evidence does not mean no public exploit exists.
Remediation
Fix status not established
No structured fix or guidance is available here. Check the latest publisher advisory.
What this means
In the Linux kernel, the following vulnerability has been resolved:
Source excerpt · LinuxAttack conditions
No attack-condition excerpt has been identified here. Review the full source description and references for authentication, network access, and configuration requirements.
Review supporting sources →Affected versions
Check the exact model, release, and any platform requirements against your installation.
Linux · Linux
Linux
8 ranges
Linux · Linux
Linux
Compare with this publisher’s ranges. This does not inspect your installation.
affected
c54fc3a4f375663f2361a9cbb2955fb4ef912879 → before 6e7a06704457594f06e4ea58a17a5d162ccc735c
git versions
c54fc3a4f375663f2361a9cbb2955fb4ef912879 → before e97dac26ed2cce04f9d159cc99e1eca828c5d49e
git versions
c54fc3a4f375663f2361a9cbb2955fb4ef912879 → before dc71660f11ef2fecc0695a41e49cd496a9d255ab
git versions
c54fc3a4f375663f2361a9cbb2955fb4ef912879 → before c9b1194e8ec99d95db25db45edd2fbf690f043ab
git versions
358bd5f436d820bb758833050aae065b35d6986c
git versions
43801359c8971cc49b4a4db5015fba77fbd09c32
git versions
6.1.68 → before 6.2
semver versions
6.6.7 → before 6.7
semver versions
Other versions: unaffected
Linux · Linux
Linux
6 ranges
Linux · Linux
Linux
Compare with this publisher’s ranges. This does not inspect your installation.
affected
6.7
unaffected
0 → before 6.7
semver versions
6.12.117 → through 6.12.*
semver versions
6.18.61 → through 6.18.*
semver versions
7.2.10 → through 7.2.*
semver versions
7.3 → through *
original_commit_for_fix versions
Other versions: affected
What to do
Compare your installed product and version with the affected versions above. A matching product name alone does not confirm exposure.
No structured fix or remediation guidance is available here. Check the full source description and vendor’s latest advisory for a patch or workaround; do not assume another version is safe.
cve.new guidance unless attributed to a publisher. This page does not inspect your installation.
Public exploit evidence
No public exploit reference is identified in the imported evidence. This is not a claim that no exploit exists.
Original source description
Read the full publisher description
In the Linux kernel, the following vulnerability has been resolved:
smb: client: drain and invalidate before server-side copy/clone
cifs_file_copychunk_range() and the clone (FICLONE) path of cifs_remap_file_range() do not serialise the destination page cache against the server-side copy the way the other server-side range operations (smb3_zero_range(), smb3_punch_hole(), smb3_collapse_range() and smb3_insert_range()) do.
cifs_file_copychunk_range() invalidates the destination range with filemap_invalidate_inode(), which takes and drops the mapping's invalidate_lock internally, so the lock is no longer held when the copychunk ioctl is issued. It also never drains in-flight netfs I/O on the target. The clone path never takes the invalidate_lock at all (only i_rwsem), uses a bare truncate_inode_pages_range() and likewise does not drain outstanding I/O.
As a result an asynchronous destination writeback can complete after the server-side copy/clone has run and reinstate stale data over the region just written by the server, corrupting the file. This is the same class of corruption as commit d7d2adcd022b ("smb/client: flush dirty data before punching a hole") and has been seen randomly in generic/363 against Windows Server.
Fix both paths to follow the established ordering: hold the target mapping's invalidate_lock across the flush and invalidation of the destination and the server ioctl, and call netfs_wait_for_outstanding_io() on the target to drain in-flight writes before the ioctl is issued. Only the target inode's invalidate_lock is required, as the source is merely flushed and not invalidated; i_rwsem (already held via lock_two_nondirectories()) is acquired before the invalidate_lock, matching the VFS lock ordering. Since filemap_invalidate_inode() takes that same lock internally, replace it with its own unmap/flush/invalidate steps instead of calling it, and return early on a zero-length copy to avoid a range underflow.
References
4 sourcesInside the record
Evidence available
Describes the evidence in this view, not whether the product is safe.
Original records
CVE-2026-98682View the latest unmodified CVE JSON from the official source. It may be newer than this imported page.
cve.new JSON →Environment requirements
These conditions apply together as specified by the publisher. A matching product name alone does not establish exposure.
Linux · platform conditions
Any condition may hold
Vulnerable product
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*From (inclusive): 6.7
Before: 6.12.117
Vulnerable product
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*From (inclusive): 6.7
Before: 6.18.61
Vulnerable product
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*From (inclusive): 6.7
Before: 7.2.10
Vulnerable product
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*From (inclusive): 6.7
Before: 7.3
Vulnerable product
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*From (inclusive): 6.1.68
Vulnerable product
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*From (inclusive): 6.6.7
Applicability preview
[
{
"nodes": [
{
"operator": "OR",
"negate": false,
"cpeMatch": [
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "6.7",
"versionEndExcluding": "6.12.117"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "6.7",
"versionEndExcluding": "6.18.61"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "6.7",
"versionEndExcluding": "7.2.10"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "6.7",
"versionEndExcluding": "7.3"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "6.1.68"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "6.6.7"
}
]
}
]
}
]Contributing organizations · 1
Assigning organization
Timeline
All times UTCAdvisory published
Publication date supplied by the source.
Source updated
Latest modification date supplied by the source.
Last imported by cve.new
Latest catalog import, not the date we first saw this advisory.
What changed
Follow changes- CVE · CVE-2026-98682
Observed 2026-11-10T18:25:10.635Z · upstream updated 2026-11-10T18:15:15.197Z
Product or version evidence changed
before
[ { "vendor": "Linux", "name": "Linux", "platforms": [], "versions": [ { "version": "c54fc3a4f375663f2361a9cbb2955fb4ef912879", "status": "affected", "lessThan": "e97dac26ed2cce04f9d159cc99e1eca828c5d49e", "versionType": "git" }, { "version": "c54fc3a4f375663f2361a9cbb2955fb4ef912879", "status": "affected", "lessThan": "dc71660f11ef2fecc0695a41e49cd496a9d255ab", "versionType": "git" }, { "version": "c54fc3a4f375663f2361a9cbb2955fb4ef912879", "status": "affected", "lessThan": "c9b1194e8ec99d95db25db45edd2fbf690f043ab", "versionType": "git" }, { "version": "358bd5f436d820bb758833050aae065b35d6986c", "status": "affected", "versionType": "git" }, { "version": "43801359c8971cc49b4a4db5015fba77fbd09c32", "status": "affected", "versionType": "git" }, { "version": "6.1.68", "status": "affected", "lessThan": "6.2", "versionType": "semver" }, { "version": "6.6.7", "status": "affected", "lessThan": "6.7", "versionType": "semver" } ], "defaultStatus": "unaffected", "cpes": [], "source": "Linux", "url": "https://www.cve.org/CVERecord?id=CVE-2026-98682" }, { "vendor": "Linux", "name": "Linux", "platforms": [], "versions": [ { "version": "6.7", "status": "affected" }, { "version": "0", "status": "unaffected", "lessThan": "6.7", "versionType": "semver" }, { "version": "6.18.61", "status": "unaffected", "lessThanOrEqual": "6.18.*", "versionType": "semver" }, { "version": "7.2.10", "status": "unaffected", "lessThanOrEqual": "7.2.*", "versionType": "semver" }, { "version": "7.3", "status": "unaffected", "lessThanOrEqual": "*", "versionType": "original_commit_for_fix" } ], "defaultStatus": "affected", "cpes": [], "source": "Linux", "url": "https://www.cve.org/CVERecord?id=CVE-2026-98682" } ]after
[ { "vendor": "Linux", "name": "Linux", "platforms": [], "versions": [ { "version": "c54fc3a4f375663f2361a9cbb2955fb4ef912879", "status": "affected", "lessThan": "6e7a06704457594f06e4ea58a17a5d162ccc735c", "versionType": "git" }, { "version": "c54fc3a4f375663f2361a9cbb2955fb4ef912879", "status": "affected", "lessThan": "e97dac26ed2cce04f9d159cc99e1eca828c5d49e", "versionType": "git" }, { "version": "c54fc3a4f375663f2361a9cbb2955fb4ef912879", "status": "affected", "lessThan": "dc71660f11ef2fecc0695a41e49cd496a9d255ab", "versionType": "git" }, { "version": "c54fc3a4f375663f2361a9cbb2955fb4ef912879", "status": "affected", "lessThan": "c9b1194e8ec99d95db25db45edd2fbf690f043ab", "versionType": "git" }, { "version": "358bd5f436d820bb758833050aae065b35d6986c", "status": "affected", "versionType": "git" }, { "version": "43801359c8971cc49b4a4db5015fba77fbd09c32", "status": "affected", "versionType": "git" }, { "version": "6.1.68", "status": "affected", "lessThan": "6.2", "versionType": "semver" }, { "version": "6.6.7", "status": "affected", "lessThan": "6.7", "versionType": "semver" } ], "defaultStatus": "unaffected", "cpes": [], "source": "Linux", "url": "https://www.cve.org/CVERecord?id=CVE-2026-98682" }, { "vendor": "Linux", "name": "Linux", "platforms": [], "versions": [ { "version": "6.7", "status": "affected" }, { "version": "0", "status": "unaffected", "lessThan": "6.7", "versionType": "semver" }, { "version": "6.12.117", "status": "unaffected", "lessThanOrEqual": "6.12.*", "versionType": "semver" }, { "version": "6.18.61", "status": "unaffected", "lessThanOrEqual": "6.18.*", "versionType": "semver" }, { "version": "7.2.10", "status": "unaffected", "lessThanOrEqual": "7.2.*", "versionType": "semver" }, { "version": "7.3", "status": "unaffected", "lessThanOrEqual": "*", "versionType": "original_commit_for_fix" } ], "defaultStatus": "affected", "cpes": [], "source": "Linux", "url": "https://www.cve.org/CVERecord?id=CVE-2026-98682" } ]References changed
before
[ "https://git.kernel.org/stable/c/e97dac26ed2cce04f9d159cc99e1eca828c5d49e", "https://git.kernel.org/stable/c/dc71660f11ef2fecc0695a41e49cd496a9d255ab", "https://git.kernel.org/stable/c/c9b1194e8ec99d95db25db45edd2fbf690f043ab" ]
after
[ "https://git.kernel.org/stable/c/6e7a06704457594f06e4ea58a17a5d162ccc735c", "https://git.kernel.org/stable/c/e97dac26ed2cce04f9d159cc99e1eca828c5d49e", "https://git.kernel.org/stable/c/dc71660f11ef2fecc0695a41e49cd496a9d255ab", "https://git.kernel.org/stable/c/c9b1194e8ec99d95db25db45edd2fbf690f043ab" ]
Environment requirements changed
before
[ { "source": "Linux", "statements": [ { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "6.7", "versionEndExcluding": "6.18.61" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "6.7", "versionEndExcluding": "7.2.10" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "6.7", "versionEndExcluding": "7.3" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "6.1.68" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "6.6.7" } ] } ] } ] } ]after
[ { "source": "Linux", "statements": [ { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "6.7", "versionEndExcluding": "6.12.117" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "6.7", "versionEndExcluding": "6.18.61" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "6.7", "versionEndExcluding": "7.2.10" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "6.7", "versionEndExcluding": "7.3" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "6.1.68" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "6.6.7" } ] } ] } ] } ]
Large field values are marked as truncated previews. Original source snapshots remain retained.
Showing up to 50 most recent observed changes.