{"id":"CVE-2026-64068","state":"PUBLISHED","title":"netfs: Fix missing locking around retry adding new subreqs","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfs: Fix missing locking around retry adding new subreqs\n\nFix netfs_retry_read_subrequests() and netfs_retry_write_stream() to take\nthe appropriate lock when adding extra subrequests into\nstream->subrequests.","publishedAt":"2026-07-19T15:39:45.306Z","updatedAt":"2026-10-21T12:43:00.243Z","severity":{"score":9.8,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"288ace2f57c9d06dd2e42bd80d03747d879a4068","status":"affected","lessThan":"f59c4ec86ef3a9ac99706ae163a38ec28129fd76","versionType":"git"},{"version":"288ace2f57c9d06dd2e42bd80d03747d879a4068","status":"affected","lessThan":"d5c9d19b0ff2f7153532ac238a5e96fed2df315c","versionType":"git"},{"version":"288ace2f57c9d06dd2e42bd80d03747d879a4068","status":"affected","lessThan":"393f3f0d7353a94b1e0bc4ca89c683fe983e5fd2","versionType":"git"},{"version":"288ace2f57c9d06dd2e42bd80d03747d879a4068","status":"affected","lessThan":"cce18c263e9623872327ba3c956012f73c1179cc","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/netfs/read_retry.c","fs/netfs/write_retry.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.10","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.10","versionType":"semver"},{"version":"6.12.114","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.50","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.0.11","status":"unaffected","lessThanOrEqual":"7.0.*","versionType":"semver"},{"version":"7.1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/netfs/read_retry.c","fs/netfs/write_retry.c"]}],"references":["https://git.kernel.org/stable/c/f59c4ec86ef3a9ac99706ae163a38ec28129fd76","https://git.kernel.org/stable/c/d5c9d19b0ff2f7153532ac238a5e96fed2df315c","https://git.kernel.org/stable/c/393f3f0d7353a94b1e0bc4ca89c683fe983e5fd2","https://git.kernel.org/stable/c/cce18c263e9623872327ba3c956012f73c1179cc"],"weaknesses":[],"ingestedAt":"2026-10-29T20:12:41.951Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/64xxx/CVE-2026-64068.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-64068","state":"PUBLISHED","datePublished":"2026-07-19T15:39:45.306Z","dateUpdated":"2026-10-21T12:43:00.243Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-07-19T07:54:57.030Z"},"containers":{"cna":{"title":"netfs: Fix missing locking around retry adding new subreqs","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfs: Fix missing locking around retry adding new subreqs\n\nFix netfs_retry_read_subrequests() and netfs_retry_write_stream() to take\nthe appropriate lock when adding extra subrequests into\nstream->subrequests."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"288ace2f57c9d06dd2e42bd80d03747d879a4068","status":"affected","lessThan":"f59c4ec86ef3a9ac99706ae163a38ec28129fd76","versionType":"git"},{"version":"288ace2f57c9d06dd2e42bd80d03747d879a4068","status":"affected","lessThan":"d5c9d19b0ff2f7153532ac238a5e96fed2df315c","versionType":"git"},{"version":"288ace2f57c9d06dd2e42bd80d03747d879a4068","status":"affected","lessThan":"393f3f0d7353a94b1e0bc4ca89c683fe983e5fd2","versionType":"git"},{"version":"288ace2f57c9d06dd2e42bd80d03747d879a4068","status":"affected","lessThan":"cce18c263e9623872327ba3c956012f73c1179cc","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/netfs/read_retry.c","fs/netfs/write_retry.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.10","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.10","versionType":"semver"},{"version":"6.12.114","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.50","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.0.11","status":"unaffected","lessThanOrEqual":"7.0.*","versionType":"semver"},{"version":"7.1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/netfs/read_retry.c","fs/netfs/write_retry.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/f59c4ec86ef3a9ac99706ae163a38ec28129fd76"},{"url":"https://git.kernel.org/stable/c/d5c9d19b0ff2f7153532ac238a5e96fed2df315c"},{"url":"https://git.kernel.org/stable/c/393f3f0d7353a94b1e0bc4ca89c683fe983e5fd2"},{"url":"https://git.kernel.org/stable/c/cce18c263e9623872327ba3c956012f73c1179cc"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":9.8,"baseSeverity":"CRITICAL"},"scenarios":[{"lang":"en","value":"AV:N - The bug is in netfs client retry logic reached when CIFS, Ceph, AFS, or fscache-backed NFS processes I/O responses from a remote server; a malicious or MITM server can trigger retries and race the collector via crafted protocol replies.\nAC:L - An attacker controlling the remote server can force NEED_RETRY conditions and time fast completions during subrequest splitting; they control both sides of the race by sending concurrent responses while the client retries.\nPR:N - Exploitation requires no privileges on the victim host; a remote attacker only needs the client to have an active mount and any process to perform normal reads or writes against it.\nUI:N - No victim interaction beyond routine filesystem access on an already-mounted share; readahead, writeback, and daemon I/O can trigger the race without deliberate user action.\nS:U - Impact is kernel memory corruption and potential privilege escalation within the kernel; it does not cross a VM, container, or IOMMU security boundary.\nC:H - Concurrent unsynchronized list manipulation of refcounted subrequest objects can cause use-after-free, enabling arbitrary kernel memory disclosure.\nI:H - List corruption and use-after-free on heap-allocated subrequests can be leveraged for arbitrary kernel writes and control-flow hijacking.\nA:H - The race can corrupt the subrequest list and trigger kernel oops, panic, or use-after-free crashes during normal network filesystem I/O retries."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-21T12:43:00.243Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.10","versionEndExcluding":"6.12.114"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.10","versionEndExcluding":"6.18.50"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.10","versionEndExcluding":"7.0.11"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.10","versionEndExcluding":"7.1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}