{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "bc42bda22345efdb5d8b578d1b4df2c6eaa85c58"
            },
            {
              "fixed": "e6edde29990af8064b9d12217ec03db231ccd55d"
            },
            {
              "fixed": "c4c136555ff90f1e2921cc42da43daac0ef9985e"
            },
            {
              "fixed": "9102b179512e11644fb0489ae62010a09afa199c"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "4.13.0"
            },
            {
              "fixed": "6.18.52"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.2.6"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/90xxx/CVE-2026-90259.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nbtrfs: qgroup: fix a wrong length calculation in qgroup_free_reserved_data()\n\nIn that function, we round down the start position and round up the\nending position.\n\nBut during the calculation of @len, we use \"round_up(start + len,\nsectorsize)\", which is the rounded up end position, not the rounded up\nlength.\n\nWhich results a much larger length, and later we are still using\n\"start + len\", which is completely incorrect.\n\nFix it by declaring a local @aligned_start and @aligned_len and use them\ninstead.",
  "id": "CVE-2026-90259",
  "modified": "2026-09-19T03:30:32.548479663Z",
  "published": "2026-09-17T16:07:57.416Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/9102b179512e11644fb0489ae62010a09afa199c"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/c4c136555ff90f1e2921cc42da43daac0ef9985e"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/e6edde29990af8064b9d12217ec03db231ccd55d"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/90xxx/CVE-2026-90259.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-90259"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.0",
  "summary": "btrfs: qgroup: fix a wrong length calculation in qgroup_free_reserved_data()"
}