CVE-2026-46164
Gravedad CVSS v3.1:
ALTA
Tipo:
No Disponible / Otro tipo
Fecha de publicación:
28/05/2026
Última modificación:
30/05/2026
Descripción
*** Pendiente de traducción *** In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
btrfs: fix double free in create_space_info_sub_group() error path<br />
<br />
When kobject_init_and_add() fails, the call chain is:<br />
<br />
create_space_info_sub_group()<br />
-> btrfs_sysfs_add_space_info_type()<br />
-> kobject_init_and_add()<br />
-> failure<br />
-> kobject_put(&sub_group->kobj)<br />
-> space_info_release()<br />
-> kfree(sub_group)<br />
<br />
Then control returns to create_space_info_sub_group(), where:<br />
<br />
btrfs_sysfs_add_space_info_type() returns error<br />
-> kfree(sub_group)<br />
<br />
Thus, sub_group is freed twice.<br />
<br />
Keep parent->sub_group[index] = NULL for the failure path, but after<br />
btrfs_sysfs_add_space_info_type() has called kobject_put(), let the<br />
kobject release callback handle the cleanup.
Impacto
Puntuación base 3.x
7.00
Gravedad 3.x
ALTA
Referencias a soluciones, herramientas e información
- https://git.kernel.org/stable/c/14b22be1dd844383eb03af9b1ee3b6b25d32aeaf
- https://git.kernel.org/stable/c/259af6857a1b4f1e9ef8b780353f9d11c26a22bd
- https://git.kernel.org/stable/c/a7449edf96143f192606ec8647e3167e1ecbd728
- https://git.kernel.org/stable/c/d2a675f2e238ec96c8e91e2718c1f910c9c8fb21
- https://git.kernel.org/stable/c/dfd05a16b5c9d1d98b47905f37f2fccda52173d1



