CVE-2026-46164

EUVD-2026-32791
In the Linux kernel, the following vulnerability has been resolved:

btrfs: fix double free in create_space_info_sub_group() error path

When kobject_init_and_add() fails, the call chain is:

create_space_info_sub_group()
-> btrfs_sysfs_add_space_info_type()
-> kobject_init_and_add()
-> failure
-> kobject_put(&sub_group->kobj)
-> space_info_release()
-> kfree(sub_group)

Then control returns to create_space_info_sub_group(), where:

btrfs_sysfs_add_space_info_type() returns error
-> kfree(sub_group)

Thus, sub_group is freed twice.

Keep parent->sub_group[index] = NULL for the failure path, but after
btrfs_sysfs_add_space_info_type() has called kobject_put(), let the
kobject release callback handle the cleanup.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
7 HIGH
LOCAL
HIGH
NONE
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Base Score
CVSS 3.x
EPSS Score
Percentile: 3%
Affected Products (NVD)
VendorProductVersion
linuxlinux_kernel
6.1.162 ≤
𝑥
< 6.2
linuxlinux_kernel
6.6.122 ≤
𝑥
< 6.6.141
linuxlinux_kernel
6.12.67 ≤
𝑥
< 6.12.90
linuxlinux_kernel
6.16 ≤
𝑥
< 6.18.32
linuxlinux_kernel
6.19 ≤
𝑥
< 7.0.7
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
linux
bookworm
6.1.176-1
fixed
bookworm (security)
6.1.176-1
fixed
bullseye
5.10.223-1
fixed
bullseye (security)
5.10.259-1
fixed
forky
7.1.3-1
fixed
sid
7.1.3-1
fixed
trixie
6.12.94-1
fixed
trixie (security)
6.12.95-1
fixed
linux-6.1
bullseye (security)
6.1.176-1~deb11u1
fixed
Amazon Linux logo
Amazon Linux Releases
Amazon Package
Release
bpftool6.12
Amazon Linux 2023
1:6.12.90-120.164.amzn2023
fixed
bpftool6.12-debuginfo
Amazon Linux 2023
1:6.12.90-120.164.amzn2023
fixed
bpftool6.18
Amazon Linux 2023
1:6.18.33-63.124.amzn2023
fixed
bpftool6.18-debuginfo
Amazon Linux 2023
1:6.18.33-63.124.amzn2023
fixed
kernel-livepatch-6.12.90-120.164
Amazon Linux 2023
1:1.0-0.amzn2023
fixed
kernel-livepatch-6.18.33-63.124
Amazon Linux 2023
1:1.0-0.amzn2023
fixed
kernel6.12
Amazon Linux 2023
1:6.12.90-120.164.amzn2023
fixed
kernel6.12-debuginfo
Amazon Linux 2023
1:6.12.90-120.164.amzn2023
fixed
kernel6.12-debuginfo-common-aarch64
Amazon Linux 2023
1:6.12.90-120.164.amzn2023
fixed
kernel6.12-debuginfo-common-x86_64
Amazon Linux 2023
1:6.12.90-120.164.amzn2023
fixed
kernel6.12-devel
Amazon Linux 2023
1:6.12.90-120.164.amzn2023
fixed
kernel6.12-headers
Amazon Linux 2023
1:6.12.90-120.164.amzn2023
fixed
kernel6.12-modules-extra
Amazon Linux 2023
1:6.12.90-120.164.amzn2023
fixed
kernel6.12-modules-extra-common
Amazon Linux 2023
1:6.12.90-120.164.amzn2023
fixed
kernel6.12-tools
Amazon Linux 2023
1:6.12.90-120.164.amzn2023
fixed
kernel6.12-tools-debuginfo
Amazon Linux 2023
1:6.12.90-120.164.amzn2023
fixed
kernel6.12-tools-devel
Amazon Linux 2023
1:6.12.90-120.164.amzn2023
fixed
kernel6.18
Amazon Linux 2023
1:6.18.33-63.124.amzn2023
fixed
kernel6.18-debuginfo
Amazon Linux 2023
1:6.18.33-63.124.amzn2023
fixed
kernel6.18-debuginfo-common-aarch64
Amazon Linux 2023
1:6.18.33-63.124.amzn2023
fixed
kernel6.18-debuginfo-common-x86_64
Amazon Linux 2023
1:6.18.33-63.124.amzn2023
fixed
kernel6.18-devel
Amazon Linux 2023
1:6.18.33-63.124.amzn2023
fixed
kernel6.18-headers
Amazon Linux 2023
1:6.18.33-63.124.amzn2023
fixed
kernel6.18-modules-extra
Amazon Linux 2023
1:6.18.33-63.124.amzn2023
fixed
kernel6.18-modules-extra-common
Amazon Linux 2023
1:6.18.33-63.124.amzn2023
fixed
kernel6.18-tools
Amazon Linux 2023
1:6.18.33-63.124.amzn2023
fixed
kernel6.18-tools-debuginfo
Amazon Linux 2023
1:6.18.33-63.124.amzn2023
fixed
kernel6.18-tools-devel
Amazon Linux 2023
1:6.18.33-63.124.amzn2023
fixed
perf6.12
Amazon Linux 2023
1:6.12.90-120.164.amzn2023
fixed
perf6.12-debuginfo
Amazon Linux 2023
1:6.12.90-120.164.amzn2023
fixed
perf6.18
Amazon Linux 2023
1:6.18.33-63.124.amzn2023
fixed
perf6.18-debuginfo
Amazon Linux 2023
1:6.18.33-63.124.amzn2023
fixed
python3-perf6.12
Amazon Linux 2023
1:6.12.90-120.164.amzn2023
fixed
python3-perf6.12-debuginfo
Amazon Linux 2023
1:6.12.90-120.164.amzn2023
fixed
python3-perf6.18
Amazon Linux 2023
1:6.18.33-63.124.amzn2023
fixed
python3-perf6.18-debuginfo
Amazon Linux 2023
1:6.18.33-63.124.amzn2023
fixed
Azure Linux logo
Azure Linux Releases
Azure Package
Release
kernel
Azure Linux 3.0
0:6.6.141.1-1.azl3
fixed