{"id":"CVE-2025-22076","state":"PUBLISHED","title":"exfat: fix missing shutdown check","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nexfat: fix missing shutdown check\n\nxfstests generic/730 test failed because after deleting the device\nthat still had dirty data, the file could still be read without\nreturning an error. The reason is the missing shutdown check in\n->read_iter.\n\nI also noticed that shutdown checks were missing from ->write_iter,\n->splice_read, and ->mmap. This commit adds shutdown checks to all\nof them.","publishedAt":"2025-04-16T14:12:27.214Z","updatedAt":"2026-05-11T21:12:11.458Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"f761fcdd289d07e8547fef7ac76c3760fc7803f2","status":"affected","lessThan":"4a9595eb024b8319957c178be3cdeed613ac0795","versionType":"git"},{"version":"f761fcdd289d07e8547fef7ac76c3760fc7803f2","status":"affected","lessThan":"e41e33eb795cb9c1ead6ac627d8710546fac6e81","versionType":"git"},{"version":"f761fcdd289d07e8547fef7ac76c3760fc7803f2","status":"affected","lessThan":"539147585ca453db6e3d7a5cf3b9c9690513762d","versionType":"git"},{"version":"f761fcdd289d07e8547fef7ac76c3760fc7803f2","status":"affected","lessThan":"47e35366bc6fa3cf189a8305bce63992495f3efa","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/exfat/file.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.12","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.12","versionType":"semver"},{"version":"6.12.23","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.13.11","status":"unaffected","lessThanOrEqual":"6.13.*","versionType":"semver"},{"version":"6.14.2","status":"unaffected","lessThanOrEqual":"6.14.*","versionType":"semver"},{"version":"6.15","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/exfat/file.c"]}],"references":["https://git.kernel.org/stable/c/4a9595eb024b8319957c178be3cdeed613ac0795","https://git.kernel.org/stable/c/e41e33eb795cb9c1ead6ac627d8710546fac6e81","https://git.kernel.org/stable/c/539147585ca453db6e3d7a5cf3b9c9690513762d","https://git.kernel.org/stable/c/47e35366bc6fa3cf189a8305bce63992495f3efa"],"weaknesses":[],"ingestedAt":"2026-10-29T20:08:39.238Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/22xxx/CVE-2025-22076.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-22076","state":"PUBLISHED","datePublished":"2025-04-16T14:12:27.214Z","dateUpdated":"2026-05-11T21:12:11.458Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-12-29T08:45:45.815Z"},"containers":{"cna":{"title":"exfat: fix missing shutdown check","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nexfat: fix missing shutdown check\n\nxfstests generic/730 test failed because after deleting the device\nthat still had dirty data, the file could still be read without\nreturning an error. The reason is the missing shutdown check in\n->read_iter.\n\nI also noticed that shutdown checks were missing from ->write_iter,\n->splice_read, and ->mmap. This commit adds shutdown checks to all\nof them."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"f761fcdd289d07e8547fef7ac76c3760fc7803f2","status":"affected","lessThan":"4a9595eb024b8319957c178be3cdeed613ac0795","versionType":"git"},{"version":"f761fcdd289d07e8547fef7ac76c3760fc7803f2","status":"affected","lessThan":"e41e33eb795cb9c1ead6ac627d8710546fac6e81","versionType":"git"},{"version":"f761fcdd289d07e8547fef7ac76c3760fc7803f2","status":"affected","lessThan":"539147585ca453db6e3d7a5cf3b9c9690513762d","versionType":"git"},{"version":"f761fcdd289d07e8547fef7ac76c3760fc7803f2","status":"affected","lessThan":"47e35366bc6fa3cf189a8305bce63992495f3efa","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/exfat/file.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.12","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.12","versionType":"semver"},{"version":"6.12.23","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.13.11","status":"unaffected","lessThanOrEqual":"6.13.*","versionType":"semver"},{"version":"6.14.2","status":"unaffected","lessThanOrEqual":"6.14.*","versionType":"semver"},{"version":"6.15","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/exfat/file.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/4a9595eb024b8319957c178be3cdeed613ac0795"},{"url":"https://git.kernel.org/stable/c/e41e33eb795cb9c1ead6ac627d8710546fac6e81"},{"url":"https://git.kernel.org/stable/c/539147585ca453db6e3d7a5cf3b9c9690513762d"},{"url":"https://git.kernel.org/stable/c/47e35366bc6fa3cf189a8305bce63992495f3efa"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T21:12:11.458Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.12","versionEndExcluding":"6.12.23"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.12","versionEndExcluding":"6.13.11"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.12","versionEndExcluding":"6.14.2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.12","versionEndExcluding":"6.15"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}