AZL-118703: CVE-2026-143378 affecting package kernel 6.6.161.1-1

Published Dec 3, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

btrfs: zoned: fix double free of bitmaps on clone failure

btrfsclonedevzoneinfo() duplicates the original origdev->zoneinfo with kmemdup(), which also copies the seqzones, emptyzones and activezones pointers. The clone then replaces them one by one with fresh bitmaps. If one of the allocations fails, the error path frees all three pointers, including those not yet replaced, which still point to the bitmaps owned by the original device.

Clear the three pointers right after kmemdup() so the error path only frees what this function allocated.

Affected Software

1 affected component
azure-linux/kernel<=6.6.161.1-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    In btrfs_clone_dev_zone_info(), clear the three pointers immediately after kmemdup() so the error path frees only allocations made by this function.

Event History

Dec 3, 2026
Advisory Published
via OSV·10:18 AM
Data Sourced
via OSV·10:18 AM
DescriptionAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

What system activity is involved in reaching the faulty cleanup path?

The issue is in Btrfs zoned-device cloning. It is reached when bitmap allocation fails while btrfs_clone_dev_zone_info() is creating replacement zone bitmaps for a cloned device.

2

What is freed incorrectly when that allocation fails?

The cleanup path can free bitmap pointers that still belong to the original device, because kmemdup() copied the original seq_zones, empty_zones, and active_zones pointers before all of them were replaced in the clone.

3

What does the resolved change do to prevent the problem?

It clears the three copied bitmap pointers immediately after kmemdup(). This ensures that an allocation-failure cleanup frees only bitmaps allocated by the clone operation.

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