CVE-2026-143166
Last modified
CVE-2026-143166 is a vulnerability of currently unknown severity. In the Linux kernel, the following vulnerability has been resolved: btrfs: fix bio counter and bioc leak when async checksumming fails A single failed checksum allocation can make a later device replace hang forever. btrfs_submit_chunk() takes a dev-replace bio counter reference and a bioc before it hands a write to the checksum worker. If the checksum fails there (e.g., its allocation fails), run_one_async_done() ends the bio but drops neither.
Description
In the Linux kernel, the following vulnerability has been resolved: btrfs: fix bio counter and bioc leak when async checksumming fails A single failed checksum allocation can make a later device replace hang forever. btrfs_submit_chunk() takes a dev-replace bio counter reference and a bioc before it hands a write to the checksum worker. If the checksum fails there (e.g., its allocation fails), run_one_async_done() ends the bio but drops neither. The counter then never gets back to zero and the next replace waits for it: [ 8.369] BTRFS info (device ram0): dev_replace from /dev/ram0 (devid 1) to /dev/ram1 finished [41.534] INFO: task btrfscsum:80 blocked for more than 20 seconds. [41.534] btrfs_rm_dev_replace_blocked+0x135/0x180 [41.534] btrfs_dev_replace_finishing+0xefe/0x13b0 The worker is only used when CONFIG_BTRFS_EXPERIMENTAL is off and the checksum isn't a fast one, e.g., sha256. We hit it on a sha256 filesystem. We put the bioc and drop the counter in that error branch. We also put the bioc on the synchronous error path and on the btrfs_split_bio() error path, which both only drop the counter. With the fix, the replace doesn't hang anymore. This bug was identified and confirmed with the help of fault-injection testing on a deterministic hypervisor currently under development. Our C reproducer however hits it within about 35s.
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= f8a53bb58ec7e2150f9b03f210675ba3e6d8b919, < b252abcdaf20a365a03a360356c9fe336116c228; >= f8a53bb58ec7e2150f9b03f210675ba3e6d8b919, < d72253b60d43901c873f0ada101ff4474774eecc; >= f8a53bb58ec7e2150f9b03f210675ba3e6d8b919, < d27d0039bc1334be8a72c769e14c0b0c3efc317d |
| Linux | Linux | 6.3 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-143166?
How severe is CVE-2026-143166?
How do I fix CVE-2026-143166?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-143160In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-143161In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-143162In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143163In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143164In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143165In the Linux kernel, the following vulnerability has been re…7.5
- CVE-2026-143167In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143168In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143169In the Linux kernel, the following vulnerability has been re…
- CVE-2026-14317The GiveWP WordPress plugin before 4.16.3 does not restrict…5.3
- CVE-2026-143170In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143171In the Linux kernel, the following vulnerability has been re…
Are you affected by CVE-2026-143166?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
