CVE-2026-64160 (GCVE-0-2026-64160)

Vulnerability from cvelistv5 – Published: 2026-07-19 15:40 – Updated: 2026-07-19 15:40
VLAI
Title
netfs: Fix potential for tearing in ->remote_i_size and ->zero_point
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.
Severity
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: 4058f742105ecfcbdf99e1139e6c1f74fb8e6db9 , < 55970f238d495517edc961d55c44c772594d0969 (git)
Affected: 4058f742105ecfcbdf99e1139e6c1f74fb8e6db9 , < 2c8f4742bb76117d735f92a3932d85239b16c494 (git)
Create a notification for this product.
Linux Linux Affected: 5.18
Unaffected: 0 , < 5.18 (semver)
Unaffected: 7.0.11 , ≤ 7.0.* (semver)
Unaffected: 7.1 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "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 -\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."
        }
      ],
      "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 -\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-07-19T15:40:47.063Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-64160",
      "date": "2026-07-20",
      "epss": "0.00162",
      "percentile": "0.05817"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-64160\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-07-19T16:17:58.010\",\"lastModified\":\"2026-07-19T16:17:58.010\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"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.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"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\",\"versions\":[{\"version\":\"4058f742105ecfcbdf99e1139e6c1f74fb8e6db9\",\"lessThan\":\"55970f238d495517edc961d55c44c772594d0969\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"4058f742105ecfcbdf99e1139e6c1f74fb8e6db9\",\"lessThan\":\"2c8f4742bb76117d735f92a3932d85239b16c494\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"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\",\"versions\":[{\"version\":\"5.18\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"5.18\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.0.11\",\"lessThanOrEqual\":\"7.0.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.1\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/2c8f4742bb76117d735f92a3932d85239b16c494\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/55970f238d495517edc961d55c44c772594d0969\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…