{"id":"CVE-2026-72364","state":"PUBLISHED","title":"netfs: Fix writeback error handling","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfs: Fix writeback error handling\n\nFix the error handling in writeback_iter() loop.  If an error occurs,\nwriteback_iter() needs to be called again with *error set to the error so\nthat it can clean up iteration state.  Further, the current folio needs\nunlocking and redirtying.","publishedAt":"2026-08-15T05:56:02.722Z","updatedAt":"2026-08-17T05:43:18.766Z","severity":{"score":7.1,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"288ace2f57c9d06dd2e42bd80d03747d879a4068","status":"affected","lessThan":"fb39ffd3cc5422887fd118668ff45ebfdbc83302","versionType":"git"},{"version":"288ace2f57c9d06dd2e42bd80d03747d879a4068","status":"affected","lessThan":"1bb33d959aabcde07d724b5eb9992462e91fa79a","versionType":"git"},{"version":"288ace2f57c9d06dd2e42bd80d03747d879a4068","status":"affected","lessThan":"89df9c158a25d0a7c6ca079a9bd9ca7009d75c7b","versionType":"git"},{"version":"288ace2f57c9d06dd2e42bd80d03747d879a4068","status":"affected","lessThan":"ac5f95ac5d6d0f4c567b8b642825705a2bf0d79e","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/netfs/write_issue.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.97","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.40","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.5","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/netfs/write_issue.c"]}],"references":["https://git.kernel.org/stable/c/fb39ffd3cc5422887fd118668ff45ebfdbc83302","https://git.kernel.org/stable/c/1bb33d959aabcde07d724b5eb9992462e91fa79a","https://git.kernel.org/stable/c/89df9c158a25d0a7c6ca079a9bd9ca7009d75c7b","https://git.kernel.org/stable/c/ac5f95ac5d6d0f4c567b8b642825705a2bf0d79e"],"weaknesses":[],"ingestedAt":"2026-10-29T20:12:58.252Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/72xxx/CVE-2026-72364.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-72364","state":"PUBLISHED","datePublished":"2026-08-15T05:56:02.722Z","dateUpdated":"2026-08-17T05:43:18.766Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-08-09T03:40:39.921Z"},"containers":{"cna":{"title":"netfs: Fix writeback error handling","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfs: Fix writeback error handling\n\nFix the error handling in writeback_iter() loop.  If an error occurs,\nwriteback_iter() needs to be called again with *error set to the error so\nthat it can clean up iteration state.  Further, the current folio needs\nunlocking and redirtying."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"288ace2f57c9d06dd2e42bd80d03747d879a4068","status":"affected","lessThan":"fb39ffd3cc5422887fd118668ff45ebfdbc83302","versionType":"git"},{"version":"288ace2f57c9d06dd2e42bd80d03747d879a4068","status":"affected","lessThan":"1bb33d959aabcde07d724b5eb9992462e91fa79a","versionType":"git"},{"version":"288ace2f57c9d06dd2e42bd80d03747d879a4068","status":"affected","lessThan":"89df9c158a25d0a7c6ca079a9bd9ca7009d75c7b","versionType":"git"},{"version":"288ace2f57c9d06dd2e42bd80d03747d879a4068","status":"affected","lessThan":"ac5f95ac5d6d0f4c567b8b642825705a2bf0d79e","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/netfs/write_issue.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.97","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.40","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.5","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/netfs/write_issue.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/fb39ffd3cc5422887fd118668ff45ebfdbc83302"},{"url":"https://git.kernel.org/stable/c/1bb33d959aabcde07d724b5eb9992462e91fa79a"},{"url":"https://git.kernel.org/stable/c/89df9c158a25d0a7c6ca079a9bd9ca7009d75c7b"},{"url":"https://git.kernel.org/stable/c/ac5f95ac5d6d0f4c567b8b642825705a2bf0d79e"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","baseScore":7.1,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - The bug is in client-side netfs writeback reached only via local VFS writeback (do_writepages -> netfs_writepages) on CIFS, 9p, and AFS mounts after local writes/mmaps dirty pagecache; it is not in ksmbd/nfsd or other packet-receive paths.\nAC:L - An attacker can reliably trigger -ENOMEM during writeback by exhausting the 100-entry folio_queue mempool or system memory while dirtying many pages on a netfs mount, then forcing writeback via sync/fsync, close, or reclaim.\nPR:L - Exploitation requires a local process with write access to files on a netfs-backed mount (typical unprivileged CIFS/9p/AFS user); no real-root or init-namespace-only capability is needed beyond normal filesystem permissions.\nUI:N - No victim interaction is required beyond normal background writeback or attacker-initiated sync/memory pressure; exploitation does not depend on a victim opening a file or mounting a share at attack time.\nS:U - Impact is confined to the kernel pagecache and netfs writeback state on the affected host; it does not cross VM, container, or IOMMU security boundaries into another authority.\nC:N - The flaw mishandles folio locks and dirty state causing data loss or hangs; it does not expose kernel memory, leak pointers, or provide an out-of-bounds or use-after-free read primitive.\nI:H - On -ENOMEM at writeback start the vulnerable path calls netfs_kill_dirty_pages(), which clears dirty folios without uploading them, silently destroying arbitrary unsaved buffered data on network filesystem mounts.\nA:H - Breaking out of the writeback_iter loop on error leaves folios locked and writeback state uncleared, causing indefinite blocking of processes accessing those pages and stalling future writeback on affected files."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-17T05:43:18.766Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.10","versionEndExcluding":"6.12.97"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.10","versionEndExcluding":"6.18.40"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.10","versionEndExcluding":"7.1.5"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.10","versionEndExcluding":"7.2"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}