{"id":"CVE-2026-97610","published":"2026-09-25T10:22:20Z","modified":"2026-10-19T09:10:14Z","title":"netfs: Fix uninitialized return value in netfs_unbuffered_write()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfs: Fix uninitialized return value in netfs_unbuffered_write()\n\nIf preparation of the first subrequest fails,\nnetfs_unbuffered_write() exits its loop before ret is initialized. The\nempty-iterator check can do the same.\n\nFor synchronous writes, netfs_unbuffered_write_iter_locked() may then\nreturn an unrelated error instead of wreq->error. This is reachable\nthrough CIFS if cifs_prepare_write() fails to reopen the file or obtain\ncredits.\n\nInitialize ret to 0 so the caller returns wreq->error if no data was\nwritten, or the number of bytes already written otherwise.\n\nFound with Clang's -Wconditional-uninitialized.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00198,"percentile":0.09478,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/3d038eebdbd400c3bc4b66bd8aa0dff0c2bcce26","tags":[]},{"url":"https://git.kernel.org/stable/c/2e38d500471d097cda87d7d374bbc1b13493075d","tags":[]},{"url":"https://git.kernel.org/stable/c/f18e8774f4d3137fa0a5fb8ffa83d59a719666d8","tags":[]}],"priority":{"score":1.9,"factors":[{"name":"EPSS percentile","points":1.9}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 72d08d2839649d1c5efbe375751f4473fa4486af, < 3d038eebdbd400c3bc4b66bd8aa0dff0c2bcce26",">= a0b4c7a49137ed21279f354eb59f49ddae8dffc2, < 2e38d500471d097cda87d7d374bbc1b13493075d",">= a0b4c7a49137ed21279f354eb59f49ddae8dffc2, < f18e8774f4d3137fa0a5fb8ffa83d59a719666d8","0c29f6d63122a0168d67cb8ecde5b4cf7fe4acb0",">= 6.18.17, < 6.18.53",">= 6.19.7, < 6.20"]},{"vendor":"Linux","product":"Linux","versions":["7.0"]}],"euvd":{"id":"EUVD-2026-86741","exploited":false,"provenance":"source"}}