CVE-2026-46164: btrfs: fix double free in create_space_info_sub_group() error path

Published May 28, 2026
·
Updated

btrfs: fix double free in createspaceinfosubgroup() error path

Affected Software

7 affected componentsFixes available
Linux Linux kernel
Linux Linux kernel>=6.1.162<6.2
Linux Linux kernel>=6.6.122<6.6.141
Linux Linux kernel>=6.12.67<6.12.90
Linux Linux kernel>=6.16<6.18.32
Linux Linux kernel>=6.19<7.0.7
Microsoft azl3 kernel 6.6.139.1-1<6.6.141.1-1
6.6.141.1-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 6.6.141.1-1

Event History

May 28, 2026
CVE Published
via MITRE·09:36 AM
Data Sourced
via MITRE·09:36 AM
DescriptionSeverity
Data Sourced
via NVD·10:16 AM
RemedyDescriptionSeverityWeaknessAffected Software
May 29, 2026
Data Sourced
via Microsoft·08:05 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·08:05 AM
Affected Software
Updated
via Microsoft·08:05 AM
DescriptionSeverity

Frequently Asked Questions

1

What conditions are required to trigger the double free?

The failure must occur in kobject_init_and_add() while create_space_info_sub_group() is creating a Btrfs space-info subgroup. The affected error path then calls kobject_put(), whose release callback frees the subgroup, before the caller attempts to free it again.

2

Is exploitation remote or does it require privileges?

The supplied vector identifies local attack access, high attack complexity, no privileges required, and user interaction required. It also indicates potential high impact to confidentiality, integrity, and availability.

3

Which products are identified as affected?

The data identifies the Linux kernel and Microsoft azl3 kernel version 6.6.139.1-1. No broader affected-version range is provided.

4

What is the remediation described by the fix?

After btrfs_sysfs_add_space_info_type() has invoked kobject_put() on this failure path, cleanup should be left to the kobject release callback rather than calling kfree(sub_group) again. The parent subgroup entry should still be set to NULL on failure.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203