{"api_version":"1","generated_at":"2026-07-20T14:43:01+00:00","cve":"CVE-2026-64160","urls":{"html":"https://cve.report/CVE-2026-64160","api":"https://cve.report/api/cve/CVE-2026-64160.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-64160","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-64160"},"summary":{"title":"netfs: Fix potential for tearing in ->remote_i_size and ->zero_point","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfs: Fix potential for tearing in ->remote_i_size and ->zero_point\n\nFix potential tearing in using ->remote_i_size and ->zero_point by copying\ni_size_read() and i_size_write() and using the same seqcount as for i_size.\n\nWe need to make sure that netfslib and the filesystems that use it always\nhold i_lock whilst updating any of the sizes to prevent i_size_seqcount\nfrom getting corrupted.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-07-19 16:17:58","updated_at":"2026-07-19 16:17:58"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/55970f238d495517edc961d55c44c772594d0969","name":"https://git.kernel.org/stable/c/55970f238d495517edc961d55c44c772594d0969","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/2c8f4742bb76117d735f92a3932d85239b16c494","name":"https://git.kernel.org/stable/c/2c8f4742bb76117d735f92a3932d85239b16c494","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-64160","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64160","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4058f742105ecfcbdf99e1139e6c1f74fb8e6db9 55970f238d495517edc961d55c44c772594d0969 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4058f742105ecfcbdf99e1139e6c1f74fb8e6db9 2c8f4742bb76117d735f92a3932d85239b16c494 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.18","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.18 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.0.11 7.0.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["fs/9p/v9fs_vfs.h","fs/9p/vfs_inode.c","fs/9p/vfs_inode_dotl.c","fs/afs/file.c","fs/afs/inode.c","fs/afs/internal.h","fs/afs/write.c","fs/netfs/buffered_read.c","fs/netfs/buffered_write.c","fs/netfs/direct_write.c","fs/netfs/misc.c","fs/netfs/write_collect.c","fs/smb/client/cifsfs.c","fs/smb/client/cifssmb.c","fs/smb/client/file.c","fs/smb/client/inode.c","fs/smb/client/readdir.c","fs/smb/client/smb2ops.c","fs/smb/client/smb2pdu.c","include/linux/netfs.h"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"55970f238d495517edc961d55c44c772594d0969","status":"affected","version":"4058f742105ecfcbdf99e1139e6c1f74fb8e6db9","versionType":"git"},{"lessThan":"2c8f4742bb76117d735f92a3932d85239b16c494","status":"affected","version":"4058f742105ecfcbdf99e1139e6c1f74fb8e6db9","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["fs/9p/v9fs_vfs.h","fs/9p/vfs_inode.c","fs/9p/vfs_inode_dotl.c","fs/afs/file.c","fs/afs/inode.c","fs/afs/internal.h","fs/afs/write.c","fs/netfs/buffered_read.c","fs/netfs/buffered_write.c","fs/netfs/direct_write.c","fs/netfs/misc.c","fs/netfs/write_collect.c","fs/smb/client/cifsfs.c","fs/smb/client/cifssmb.c","fs/smb/client/file.c","fs/smb/client/inode.c","fs/smb/client/readdir.c","fs/smb/client/smb2ops.c","fs/smb/client/smb2pdu.c","include/linux/netfs.h"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"5.18"},{"lessThan":"5.18","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"7.0.*","status":"unaffected","version":"7.0.11","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.0.11","versionStartIncluding":"5.18","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.1","versionStartIncluding":"5.18","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfs: Fix potential for tearing in ->remote_i_size and ->zero_point\n\nFix potential tearing in using ->remote_i_size and ->zero_point by copying\ni_size_read() and i_size_write() and using the same seqcount as for i_size.\n\nWe need to make sure that netfslib and the filesystems that use it always\nhold i_lock whilst updating any of the sizes to prevent i_size_seqcount\nfrom getting corrupted."}],"providerMetadata":{"dateUpdated":"2026-07-19T15:40:47.063Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/55970f238d495517edc961d55c44c772594d0969"},{"url":"https://git.kernel.org/stable/c/2c8f4742bb76117d735f92a3932d85239b16c494"}],"title":"netfs: Fix potential for tearing in ->remote_i_size and ->zero_point","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-64160","datePublished":"2026-07-19T15:40:47.063Z","dateReserved":"2026-07-19T07:54:57.038Z","dateUpdated":"2026-07-19T15:40:47.063Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-07-19 16:17:58","lastModifiedDate":"2026-07-19 16:17:58","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"64160","Ordinal":"1","Title":"netfs: Fix potential for tearing in ->remote_i_size and ->zero_p","CVE":"CVE-2026-64160","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"64160","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfs: Fix potential for tearing in ->remote_i_size and ->zero_point\n\nFix potential tearing in using ->remote_i_size and ->zero_point by copying\ni_size_read() and i_size_write() and using the same seqcount as for i_size.\n\nWe need to make sure that netfslib and the filesystems that use it always\nhold i_lock whilst updating any of the sizes to prevent i_size_seqcount\nfrom getting corrupted.","Type":"Description","Title":"netfs: Fix potential for tearing in ->remote_i_size and ->zero_p"}]}}}