CVE-2026-64160 (GCVE-0-2026-64160)
Vulnerability from cvelistv5
Published
2026-07-19 15:40
Modified
2026-10-19 20:28
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: netfs: Fix potential for tearing in ->remote_i_size and ->zero_point Fix potential tearing in using ->remote_i_size and ->zero_point by copying i_size_read() and i_size_write() and using the same seqcount as for i_size. We need to make sure that netfslib and the filesystems that use it always hold i_lock whilst updating any of the sizes to prevent i_size_seqcount from getting corrupted.
Impacted products
Vendor Product Version
Linux Linux Version: 4058f742105ecfcbdf99e1139e6c1f74fb8e6db9
Version: 4058f742105ecfcbdf99e1139e6c1f74fb8e6db9
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-64160",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "yes"
                  },
                  {
                    "Technical Impact": "total"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-10-16T15:37:03.470970Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "problemTypes": [
          {
            "descriptions": [
              {
                "cweId": "CWE-362",
                "description": "CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization (\u0027Race Condition\u0027)",
                "lang": "en",
                "type": "CWE"
              }
            ]
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-10-19T20:28:14.119Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "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 -\u003eremote_i_size and -\u003ezero_point\n\nFix potential tearing in using -\u003eremote_i_size and -\u003ezero_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."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 9.8,
            "baseSeverity": "CRITICAL",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:N - The bug is in netfs client code (CIFS/SMB, AFS, 9p) reached when processing network filesystem protocol responses and concurrent I/O; a malicious remote server can drive attribute/size updates that race with client read/write paths.\nAC:L - The attacker controls both sides of the race by timing SMB/AFS/9p responses against concurrent local read/write/DIO operations, or by spawning parallel threads performing file I/O on the same inode.\nPR:N - A remote malicious filesystem server needs no privileges on the victim host; exploitation only requires the victim system to perform routine I/O against a mounted attacker-controlled or MITM\u0027d network share.\nUI:N - No per-attack discretionary user action is required beyond an existing CIFS/AFS/9p mount and normal automated or concurrent file access, which is typical in enterprise and embedded deployments.\nS:U - Impact is confined to the victim kernel\u0027s netfs client subsystem and does not cross a VM, IOMMU, or other security-authority boundary.\nC:H - Torn 64-bit size values produce attacker-influenceable arbitrary bounds used in read-length and EOF decisions, potentially causing out-of-bounds kernel reads or stale-cache data exposure beyond intended file ranges.\nI:H - Corrupted size metadata causes incorrect zero-filling, skipped server reads, and wrong EOF handling, enabling arbitrary modification of file content visible to applications and incorrect size metadata written back to the server.\nA:H - Unsynchronized writes can corrupt i_size_seqcount, causing i_size_read() and related readers to spin forever, producing soft lockups and denial of service for affected inodes and dependent processes."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T12:39:50.187Z",
        "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 -\u003eremote_i_size and -\u003ezero_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-10-19T20:28:14.119Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2026-64160\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"yes\"}, {\"Technical Impact\": \"total\"}], \"version\": \"2.0.3\", \"timestamp\": \"2026-10-16T15:37:03.470970Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2026-10-16T15:37:04.379Z\"}}], \"cna\": {\"title\": \"netfs: Fix potential for tearing in -\u003eremote_i_size and -\u003ezero_point\", \"metrics\": [{\"cvssV3_1\": {\"version\": \"3.1\", \"baseScore\": 9.8, \"baseSeverity\": \"CRITICAL\", \"vectorString\": \"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H\"}, \"scenarios\": [{\"lang\": \"en\", \"value\": \"AV:N - The bug is in netfs client code (CIFS/SMB, AFS, 9p) reached when processing network filesystem protocol responses and concurrent I/O; a malicious remote server can drive attribute/size updates that race with client read/write paths.\\nAC:L - The attacker controls both sides of the race by timing SMB/AFS/9p responses against concurrent local read/write/DIO operations, or by spawning parallel threads performing file I/O on the same inode.\\nPR:N - A remote malicious filesystem server needs no privileges on the victim host; exploitation only requires the victim system to perform routine I/O against a mounted attacker-controlled or MITM\u0027d network share.\\nUI:N - No per-attack discretionary user action is required beyond an existing CIFS/AFS/9p mount and normal automated or concurrent file access, which is typical in enterprise and embedded deployments.\\nS:U - Impact is confined to the victim kernel\u0027s netfs client subsystem and does not cross a VM, IOMMU, or other security-authority boundary.\\nC:H - Torn 64-bit size values produce attacker-influenceable arbitrary bounds used in read-length and EOF decisions, potentially causing out-of-bounds kernel reads or stale-cache data exposure beyond intended file ranges.\\nI:H - Corrupted size metadata causes incorrect zero-filling, skipped server reads, and wrong EOF handling, enabling arbitrary modification of file content visible to applications and incorrect size metadata written back to the server.\\nA:H - Unsynchronized writes can corrupt i_size_seqcount, causing i_size_read() and related readers to spin forever, producing soft lockups and denial of service for affected inodes and dependent processes.\"}]}], \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"4058f742105ecfcbdf99e1139e6c1f74fb8e6db9\", \"lessThan\": \"55970f238d495517edc961d55c44c772594d0969\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"4058f742105ecfcbdf99e1139e6c1f74fb8e6db9\", \"lessThan\": \"2c8f4742bb76117d735f92a3932d85239b16c494\", \"versionType\": \"git\"}], \"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\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"5.18\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"5.18\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"7.0.11\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"7.0.*\"}, {\"status\": \"unaffected\", \"version\": \"7.1\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"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\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/55970f238d495517edc961d55c44c772594d0969\"}, {\"url\": \"https://git.kernel.org/stable/c/2c8f4742bb76117d735f92a3932d85239b16c494\"}], \"x_generator\": {\"engine\": \"bippy-1.2.0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\nnetfs: Fix potential for tearing in -\u003eremote_i_size and -\u003ezero_point\\n\\nFix potential tearing in using -\u003eremote_i_size and -\u003ezero_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.\"}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"7.0.11\", \"versionStartIncluding\": \"5.18\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"7.1\", \"versionStartIncluding\": \"5.18\"}], \"operator\": \"OR\"}]}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2026-08-05T12:39:50.187Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2026-64160\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-10-16T15:42:24.995Z\", \"dateReserved\": \"2026-07-19T07:54:57.038Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2026-07-19T15:40:47.063Z\", \"assignerShortName\": \"Linux\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…