{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2025-71268",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-03-17T09:08:18.457Z",
        "datePublished": "2026-03-18T17:40:58.080Z",
        "dateUpdated": "2026-08-05T12:12:37.025Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-08-05T12:12:37.025Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nbtrfs: fix reservation leak in some error paths when inserting inline extent\n\nIf we fail to allocate a path or join a transaction, we return from\n__cow_file_range_inline() without freeing the reserved qgroup data,\nresulting in a leak. Fix this by ensuring we call btrfs_qgroup_free_data()\nin such cases."
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
                        "baseScore": 7.5,
                        "baseSeverity": "HIGH"
                    },
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "AV:N - A remote attacker can reach Btrfs writeback through a guest-writable ksmbd or anonymous NFS export backed by the affected filesystem, using write-through or flush operations to force inline extent insertion.\nAC:L - On a qgroup-enabled deployment, the attacker can prepare many small inline writes and create concurrent memory pressure to induce the vulnerable allocation or transaction-handle failure; no victim-controlled race is required.\nPR:N - A writable guest SMB share or anonymous NFS export requires no authenticated privileges or kernel capabilities.\nUI:N - The attacker directly submits the writes and flush requests without requiring victim action.\nS:U - The leak affects Btrfs qgroup accounting within the same kernel and filesystem security authority.\nC:N - The bug neither exposes data nor creates an out-of-bounds read, use-after-free, or other memory-disclosure primitive.\nI:N - The defect only fails to release an accounting reservation and does not corrupt memory or modify filesystem data.\nA:H - Leaked reservations remain charged to the subvolume and its ancestor qgroups after delalloc cleanup and inode eviction, potentially exhausting a shared limit and denying all further writes until quotas are reset or the filesystem is remounted."
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "fs/btrfs/inode.c"
                    ],
                    "versions": [
                        {
                            "version": "94ed938aba557aa798acf496f09afb289b619fcd",
                            "lessThan": "f7156512c8166d385f574b9ec030479aa7b1e8c9",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "94ed938aba557aa798acf496f09afb289b619fcd",
                            "lessThan": "28b97fcbbf523779688e8de5fe55bf2dae3859f6",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "94ed938aba557aa798acf496f09afb289b619fcd",
                            "lessThan": "f3ee1732851aec6fe6b2cec2ef1b32d4e71d9913",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "94ed938aba557aa798acf496f09afb289b619fcd",
                            "lessThan": "28768bd3abf9995a93f6e01bfce01c60622964dd",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "94ed938aba557aa798acf496f09afb289b619fcd",
                            "lessThan": "c1c050f92d8f6aac4e17f7f2230160794fceef0c",
                            "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/inode.c"
                    ],
                    "versions": [
                        {
                            "version": "4.4",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "4.4",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.163",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.124",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.70",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.10",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.19",
                            "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.4",
                                    "versionEndExcluding": "6.1.163"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.4",
                                    "versionEndExcluding": "6.6.124"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.4",
                                    "versionEndExcluding": "6.12.70"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.4",
                                    "versionEndExcluding": "6.18.10"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.4",
                                    "versionEndExcluding": "6.19"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/f7156512c8166d385f574b9ec030479aa7b1e8c9"
                },
                {
                    "url": "https://git.kernel.org/stable/c/28b97fcbbf523779688e8de5fe55bf2dae3859f6"
                },
                {
                    "url": "https://git.kernel.org/stable/c/f3ee1732851aec6fe6b2cec2ef1b32d4e71d9913"
                },
                {
                    "url": "https://git.kernel.org/stable/c/28768bd3abf9995a93f6e01bfce01c60622964dd"
                },
                {
                    "url": "https://git.kernel.org/stable/c/c1c050f92d8f6aac4e17f7f2230160794fceef0c"
                }
            ],
            "title": "btrfs: fix reservation leak in some error paths when inserting inline extent",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}