{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-90259",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-09-11T19:38:34.796Z",
        "datePublished": "2026-09-17T16:07:57.416Z",
        "dateUpdated": "2026-10-21T12:50:41.144Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-10-21T12:50:41.144Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "fs/btrfs/qgroup.c"
                    ],
                    "versions": [
                        {
                            "version": "bc42bda22345efdb5d8b578d1b4df2c6eaa85c58",
                            "lessThan": "202ac9e469b78817512921c5db05cc2140e4ca43",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "bc42bda22345efdb5d8b578d1b4df2c6eaa85c58",
                            "lessThan": "34adc843c28e5cd1f533a1d64f51b0f756fdf945",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "bc42bda22345efdb5d8b578d1b4df2c6eaa85c58",
                            "lessThan": "e6edde29990af8064b9d12217ec03db231ccd55d",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "bc42bda22345efdb5d8b578d1b4df2c6eaa85c58",
                            "lessThan": "c4c136555ff90f1e2921cc42da43daac0ef9985e",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "bc42bda22345efdb5d8b578d1b4df2c6eaa85c58",
                            "lessThan": "9102b179512e11644fb0489ae62010a09afa199c",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "fs/btrfs/qgroup.c"
                    ],
                    "versions": [
                        {
                            "version": "4.13",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "4.13",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.160",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.114",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.52",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.2.6",
                            "lessThanOrEqual": "7.2.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.13",
                                    "versionEndExcluding": "6.6.160"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.13",
                                    "versionEndExcluding": "6.12.114"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.13",
                                    "versionEndExcluding": "6.18.52"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.13",
                                    "versionEndExcluding": "7.2.6"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.13",
                                    "versionEndExcluding": "7.3"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/202ac9e469b78817512921c5db05cc2140e4ca43"
                },
                {
                    "url": "https://git.kernel.org/stable/c/34adc843c28e5cd1f533a1d64f51b0f756fdf945"
                },
                {
                    "url": "https://git.kernel.org/stable/c/e6edde29990af8064b9d12217ec03db231ccd55d"
                },
                {
                    "url": "https://git.kernel.org/stable/c/c4c136555ff90f1e2921cc42da43daac0ef9985e"
                },
                {
                    "url": "https://git.kernel.org/stable/c/9102b179512e11644fb0489ae62010a09afa199c"
                }
            ],
            "title": "btrfs: qgroup: fix a wrong length calculation in qgroup_free_reserved_data()",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}