{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "72d08d2839649d1c5efbe375751f4473fa4486af"
            },
            {
              "fixed": "3d038eebdbd400c3bc4b66bd8aa0dff0c2bcce26"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "a0b4c7a49137ed21279f354eb59f49ddae8dffc2"
            },
            {
              "fixed": "2e38d500471d097cda87d7d374bbc1b13493075d"
            },
            {
              "fixed": "f18e8774f4d3137fa0a5fb8ffa83d59a719666d8"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "0c29f6d63122a0168d67cb8ecde5b4cf7fe4acb0"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "6.18.17"
            },
            {
              "fixed": "6.18.53"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "6.19.7"
            },
            {
              "fixed": "6.20"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "6.18.53"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.2.7"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/97xxx/CVE-2026-97610.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nnetfs: Fix uninitialized return value in netfs_unbuffered_write()\n\nIf preparation of the first subrequest fails,\nnetfs_unbuffered_write() exits its loop before ret is initialized. The\nempty-iterator check can do the same.\n\nFor synchronous writes, netfs_unbuffered_write_iter_locked() may then\nreturn an unrelated error instead of wreq-\u003eerror. This is reachable\nthrough CIFS if cifs_prepare_write() fails to reopen the file or obtain\ncredits.\n\nInitialize ret to 0 so the caller returns wreq-\u003eerror if no data was\nwritten, or the number of bytes already written otherwise.\n\nFound with Clang's -Wconditional-uninitialized.",
  "id": "CVE-2026-97610",
  "modified": "2026-09-27T03:30:37.888933490Z",
  "published": "2026-09-25T10:22:20.228Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/2e38d500471d097cda87d7d374bbc1b13493075d"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/3d038eebdbd400c3bc4b66bd8aa0dff0c2bcce26"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/f18e8774f4d3137fa0a5fb8ffa83d59a719666d8"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/97xxx/CVE-2026-97610.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-97610"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.0",
  "summary": "netfs: Fix uninitialized return value in netfs_unbuffered_write()"
}