PT-2026-98550 · Linux · Linux

CVE-2026-97610

·

Published

2026-09-25

·

Updated

2026-09-25

None

No severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
In the Linux kernel, the following vulnerability has been resolved:
netfs: Fix uninitialized return value in netfs unbuffered write()
If preparation of the first subrequest fails, netfs unbuffered write() exits its loop before ret is initialized. The empty-iterator check can do the same.
For synchronous writes, netfs unbuffered write iter locked() may then return an unrelated error instead of wreq->error. This is reachable through CIFS if cifs prepare write() fails to reopen the file or obtain credits.
Initialize ret to 0 so the caller returns wreq->error if no data was written, or the number of bytes already written otherwise.
Found with Clang's -Wconditional-uninitialized.
Found an issue in the description? Have something to add? Feel free to write us 👾

Related Identifiers

CVE-2026-97610

Affected Products

Linux