7.5high
btrfs: fix reservation leak in some error paths when inserting inline extent
- Severity
- 7.5high CVSS:3.1 by Linux
- Exploit likelihood
- 0.35% (higher than 30% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: btrfs: fix reservation leak in some error paths when inserting inline extent If we fail to allocate a path or join a transaction, we return from __cow_file_range_inline() without freeing the reserved qgroup data, resulting in a leak. Fix this by ensuring we call btrfs_qgroup_free_data() in such cases.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 94ed938aba557aa798acf496f09afb289b619fcd before f7156512c8166d385f574b9ec030479aa7b1e8c9, from 94ed938aba557aa798acf496f09afb289b619fcd before 28b97fcbbf523779688e8de5fe55bf2dae3859f6, from 94ed938aba557aa798acf496f09afb289b619fcd before f3ee1732851aec6fe6b2cec2ef1b32d4e71d9913, from 94ed938aba557aa798acf496f09afb289b619fcd before 28768bd3abf9995a93f6e01bfce01c60622964dd, from 94ed938aba557aa798acf496f09afb289b619fcd before c1c050f92d8f6aac4e17f7f2230160794fceef0c, 4.4 Not affected: before 4.4, from 6.1.163 up to 6.1.*, from 6.6.124 up to 6.6.*, from 6.12.70 up to 6.12.*, from 6.18.10 up to 6.18.*, from 6.19 up to * | CVE List |
| linux linux_kernel | from 4.4 before 6.1.163, from 6.2 before 6.6.124, from 6.7 before 6.12.70, from 6.13 before 6.18.10, 6.19 | NVD |
All scores
| Linux | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Classification
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: btrfs: fix reservation leak in some error paths when inserting inline extent If we fail to allocate a path or join a transaction, we return from __cow_file_range_inline() without freeing the reserved qgroup data, resulting in a leak. Fix this by ensuring we call btrfs_qgroup_free_data() in such cases.
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: btrfs: corrige una fuga de reserva en algunas rutas de error al insertar una extensión en línea Si no logramos asignar una ruta o unirnos a una transacción, regresamos de __cow_file_range_inline() sin liberar los datos de qgroup reservados, lo que resulta en una fuga. Soluciona esto asegurando que llamamos a btrfs_qgroup_free_data() en tales casos.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-71268 changed 2026-10-19 | CVE Terms of Use |
| NVD | CVE-2025-71268 changed 2026-10-19 | Public domain |