smb: client: don't write back through O_DIRECT handles
Summary
| CVE | CVE-2026-143032 |
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-12-03 10:17:31 UTC |
| Updated | 2026-12-03 10:17:31 UTC |
| Description | In the Linux kernel, the following vulnerability has been resolved:
smb: client: don't write back through O_DIRECT handles
Writeback uses the first writable handle of the inode, which may have
been opened with O_DIRECT. Such handles are opened with
FILE_NO_INTERMEDIATE_BUFFERING, for which Windows rejects any unaligned
I/O with STATUS_INVALID_PARAMETER. Writeback of partly dirty pages and
of the unaligned tail of a file through one of them fails, so netfs ends
it with the folios clean and the data never reaches the server.
xfstests generic/051, where fsstress mixes both kinds of opens, loses
about 1% of its writes this way:
smb3_write_err: ... offset=0xde90d7 len=0xbd0b rc=-22
All the rejected writes in a network capture were unaligned writes on a
no-buffering handle; none of the aligned ones, and none of the unaligned
ones on regular handles, were.
Prefer a handle that was not opened with O_DIRECT, and use one that was
only if there is no other. |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|
| CNA |
Linux |
Linux |
affected 1013e760d10e614dc10b5624ce9fc41563ba2e65 0c17b9275fa515e9a3348fbedfe722f4c8e0fdc9 git |
Not specified |
| CNA |
Linux |
Linux |
affected 1013e760d10e614dc10b5624ce9fc41563ba2e65 0e85145af984f7cae2aadaa694cb8612009027ac git |
Not specified |
| CNA |
Linux |
Linux |
affected 0b35d1a29b76aa077057a0dd5197c230bd9e4e9f git |
Not specified |
| CNA |
Linux |
Linux |
affected 64304f5ae2f37d54072b208d53fb692ef941d168 git |
Not specified |
| CNA |
Linux |
Linux |
affected cfcdf66ca4b73f84009ae944ebd3ae48a5fa63f9 git |
Not specified |
| CNA |
Linux |
Linux |
affected 3bb7084cc031ff8c1cdbb1c50cbe3e1940eab268 git |
Not specified |
| CNA |
Linux |
Linux |
affected 18a89a10b26b325da5eb03cbd275f835a4a704f5 git |
Not specified |
| CNA |
Linux |
Linux |
affected cc6985ec8f095aaa9b1b9f4bee1d292e772ca468 git |
Not specified |
| CNA |
Linux |
Linux |
affected 3.16.52 3.17 semver |
Not specified |
| CNA |
Linux |
Linux |
affected 3.18.73 3.19 semver |
Not specified |
| CNA |
Linux |
Linux |
affected 4.1.46 4.2 semver |
Not specified |
| CNA |
Linux |
Linux |
affected 4.4.90 4.5 semver |
Not specified |
| CNA |
Linux |
Linux |
affected 4.9.53 4.10 semver |
Not specified |
| CNA |
Linux |
Linux |
affected 4.13.5 4.14 semver |
Not specified |
| CNA |
Linux |
Linux |
affected 4.14 |
Not specified |
| CNA |
Linux |
Linux |
unaffected 4.14 semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.3.7 7.3.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.4-rc3 * original_commit_for_fix |
Not specified |
References
| Reference | Source | Link | Tags |
|---|
| git.kernel.org/stable/c/0e85145af984f7cae2aadaa694cb8612009027ac |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/0c17b9275fa515e9a3348fbedfe722f4c8e0fdc9 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.