CVE-2026-74722: btrfs: fix memory leak in btrfs_do_encoded_write()

Published Aug 22, 2026
·
Updated

btrfs: fix memory leak in btrfsdoencodedwrite()

Affected Software

2 affected componentsFixes available
Linux Linux kernel=6.12.94
Microsoft azl3 kernel 6.6.150.1-1<6.6.152.1-1
6.6.152.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.152.1-1
  2. Upgrade

    Upgrade linux kernel to a version that resolves this vulnerability.

    Fixed in 6.12.94
  3. Compensating control

    If you run an affected btrfs kernel, consider limiting exposure to ioctls that can trigger btrfs_do_encoded_write memory leak until fixed kernels are deployed.

Event History

Aug 22, 2026
CVE Published
via MITRE·03:33 PM
Data Sourced
via MITRE·03:33 PM
Description
Data Sourced
via NVD·04:16 PM
Description
Aug 24, 2026
Data Sourced
via Microsoft·08:10 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·08:10 AM
Affected Software
Updated
via Microsoft·08:10 AM
DescriptionSeverity

Frequently Asked Questions

1

What systems are exposed to this leak?

Systems using the Linux kernel with Btrfs are relevant. The reported path is the Btrfs encoded-write ioctl, and the leak occurs while reserving qgroup data during that operation.

2

What does an attacker or triggering process need to do?

The issue is triggered through an encoded write issued via the Btrfs ioctl interface. The report shows it was found through local fuzzing, so local access to perform operations against a Btrfs filesystem is implicated.

3

How can I determine whether the issue is occurring on a system?

The report identifies the leak through kmemleak and shows an allocation originating in extent_changeset_alloc, called from qgroup_reserve_data during btrfs_do_encoded_write. Inspecting kmemleak reports for this call chain can indicate that the leak has been triggered.

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