VDB

CVE-2026-46164

CVE-2026-46164 PUBLISHED CVSS 7 HIGH

btrfs: fix double free in create_space_info_sub_group() error path

Reported by linux · Published May 28, 2026

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.

EPSS 0.14% · 3.1th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel6.12-modules-extraAmazon Linux1:6.12.90-120.164.amzn2023
perf6.18Amazon Linux1:6.18.33-63.124.amzn2023
kernel6.12-headersAmazon Linux1:6.12.90-120.164.amzn2023
kernel6.12-toolsAmazon Linux1:6.12.90-120.164.amzn2023
perf6.12Amazon Linux1:6.12.90-120.164.amzn2023
python3-perf6.18Amazon Linux1:6.18.33-63.124.amzn2023
kernel6.18-develAmazon Linux1:6.18.33-63.124.amzn2023
kernel6.18-headersAmazon Linux1:6.18.33-63.124.amzn2023
kernel6.18-toolsAmazon Linux1:6.18.33-63.124.amzn2023

Risk scores

CVSS 3.1
7
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS Score
0.14%
3.1th percentile

Affected products

VendorProductVersions
LinuxLinux64c7ddda83acfbaa0efb381a1928ce908c584607, 0bd151ce4200ca847990e05cca29a76456982ca5, 190d5a7c4fe42b8c9aa46e3336389e7cb10395bb
LinuxLinux6.16, 0, 6.1.176
amazon:2023kernel6.12-modules-extra0
amazon:2023perf6.180
amazon:2023kernel6.12-headers0
amazon:2023kernel6.12-tools0
amazon:2023perf6.120
amazon:2023python3-perf6.180
amazon:2023kernel6.18-devel0
amazon:2023kernel6.18-headers0
amazon:2023kernel6.18-tools0
linuxlinux_kernel6.1.162, 6.6.122, 6.12.67
amazon:2023bpftool6.180
LinuxLinux6.12.67, 6.6.122, 6.16
amazon:2023kernel6.18-modules-extra-common0
amazon:2023bpftool6.120
amazon:2023kernel6.18-tools-devel0
amazon:2023kernel-livepatch-6.12.90-120.1640
amazon:2023kernel-livepatch-6.18.33-63.1240
amazon:2023kernel6.120

…and 6 more

Timeline

  • May 27, 2026 CVE Published
  • May 28, 2026 EPSS Score (15 in total, the first dated here)
  • Jun 1, 2026 Security Advisory (131 in total, the first dated here)
  • Jun 4, 2026 Coalition ESS Score
  • Aug 11, 2026 Distribution Patch (128 in total, the first dated here)
  • Sep 16, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-46164
vulnetix vdb fixes CVE-2026-46164

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-46164/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›