{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "ee4cdf7ba857a894ad1650d6ab77669cbbfa329e"
            },
            {
              "fixed": "f17b9121bb99f88188ec9be2db5da1d561f4c01b"
            },
            {
              "fixed": "b8271cccdd5e43cc8d738afb8b51f6ad05b1cb4b"
            },
            {
              "fixed": "ded0c6f1606061148c202825f7e53d711f9f84cf"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.12.0"
            },
            {
              "fixed": "6.18.34"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.0.11"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64058.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nnetfs: Fix netfs_read_folio() to wait on writeback\n\nFix netfs_read_folio() to wait for an ongoing writeback to complete so that\nit can trust the dirty flag and whatever is attached to folio-\u003eprivate\n(folio-\u003eprivate may get cleaned up by the collector before it clears the\nwriteback flag).",
  "id": "CVE-2026-64058",
  "modified": "2026-07-22T05:30:04.097144869Z",
  "published": "2026-07-19T15:39:38.978Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/b8271cccdd5e43cc8d738afb8b51f6ad05b1cb4b"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/ded0c6f1606061148c202825f7e53d711f9f84cf"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/f17b9121bb99f88188ec9be2db5da1d561f4c01b"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64058.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-64058"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "netfs: Fix netfs_read_folio() to wait on writeback"
}