CVE-2026-143032
not scored yetsmb: client: don't write back through O_DIRECT handles
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.
- Published
- 3 Dec 2026
- Last modified
- 3 Dec 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Received
- Sources
- NVDJSONCVE ListJSON
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | Linux | Linux | >= 1013e760d10e614dc10b5624ce9fc41563ba2e65, < 0c17b9275fa515e9a3348fbedfe722f4c8e0fdc9; >= 1013e760d10e614dc10b5624ce9fc41563ba2e65, < 0e85145af984f7cae2aadaa694cb8612009027ac; = 0b35d1a29b76aa077057a0dd5197c230bd9e4e9f; = 64304f5ae2f37d54072b208d53fb692ef941d168; = cfcdf66ca4b73f84009ae944ebd3ae48a5fa63f9; = 3bb7084cc031ff8c1cdbb1c50cbe3e1940eab268; = 18a89a10b26b325da5eb03cbd275f835a4a704f5; = cc6985ec8f095aaa9b1b9f4bee1d292e772ca468; >= 3.16.52, < 3.17; >= 3.18.73, < 3.19; >= 4.1.46, < 4.2; >= 4.4.90, < 4.5; >= 4.9.53, < 4.10; >= 4.13.5, < 4.14 | 0c17b9275fa515e9a3348fbedfe722f4c8e0fdc9, 0e85145af984f7cae2aadaa694cb8612009027ac, 3.17, 3.19, 4.2, 4.5, 4.10, 4.14 |
| CVE List | Linux | Linux | = 4.14 |
References
- https://git.kernel.org/stable/c/0c17b9275fa515e9a3348fbedfe722f4c8e0fdc9
- https://git.kernel.org/stable/c/0e85145af984f7cae2aadaa694cb8612009027ac
History
- 3 Dec 2026 11:07 UTC · NVD: first stored (published 3 Dec 2026)
- 3 Dec 2026 10:07 UTC · CVE List: first stored (published 3 Dec 2026)