{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-99392",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-09-25T10:25:14.412Z",
        "datePublished": "2026-11-19T14:23:30.943Z",
        "dateUpdated": "2026-11-19T14:39:12.378Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-11-19T14:39:12.378Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nxfs: don't subtract excess usage twice when computing agf_btreeblks\n\nLOLLM noticed that the free space btree repair code calculates\nagf_btreeblks from the number of blocks we wrote to rebuild the free\nspace btrees (minus the roots).  That's correct.  However, it observes\nthat we subtract the \"excess\" reservation, which is not correct.  Fix\nthis accounting problem."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "fs/xfs/scrub/alloc_repair.c",
                        "fs/xfs/scrub/newbt.c",
                        "fs/xfs/scrub/newbt.h"
                    ],
                    "versions": [
                        {
                            "version": "4bdfd7d15747b170ce93a06fafccaf20544b6684",
                            "lessThan": "7fd7a78cb5cce2a6fabd50cf77d059a10cbcf9b8",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "4bdfd7d15747b170ce93a06fafccaf20544b6684",
                            "lessThan": "3e8c3ed178c1e8a1cc93f773ed15c6e487c7885e",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "4bdfd7d15747b170ce93a06fafccaf20544b6684",
                            "lessThan": "10fead7a6e6ec8ed9e2f749012163b19afc5b445",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "4bdfd7d15747b170ce93a06fafccaf20544b6684",
                            "lessThan": "4439b626fb5104204952aa2f169451688fb6be26",
                            "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/xfs/scrub/alloc_repair.c",
                        "fs/xfs/scrub/newbt.c",
                        "fs/xfs/scrub/newbt.h"
                    ],
                    "versions": [
                        {
                            "version": "6.8",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "6.8",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.117",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.61",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3.2",
                            "lessThanOrEqual": "7.3.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.4-rc1",
                            "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": "6.8",
                                    "versionEndExcluding": "6.12.117"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.8",
                                    "versionEndExcluding": "6.18.61"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.8",
                                    "versionEndExcluding": "7.3.2"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.8",
                                    "versionEndExcluding": "7.4-rc1"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/7fd7a78cb5cce2a6fabd50cf77d059a10cbcf9b8"
                },
                {
                    "url": "https://git.kernel.org/stable/c/3e8c3ed178c1e8a1cc93f773ed15c6e487c7885e"
                },
                {
                    "url": "https://git.kernel.org/stable/c/10fead7a6e6ec8ed9e2f749012163b19afc5b445"
                },
                {
                    "url": "https://git.kernel.org/stable/c/4439b626fb5104204952aa2f169451688fb6be26"
                }
            ],
            "title": "xfs: don't subtract excess usage twice when computing agf_btreeblks",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}