{"id":"AZL-118244","summary":"CVE-2026-143166 affecting package kernel 6.6.161.1-1","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nbtrfs: fix bio counter and bioc leak when async checksumming fails\n\nA single failed checksum allocation can make a later device replace\nhang forever.  btrfs_submit_chunk() takes a dev-replace bio counter\nreference and a bioc before it hands a write to the checksum worker.\nIf the checksum fails there (e.g., its allocation fails),\nrun_one_async_done() ends the bio but drops neither.  The counter then\nnever gets back to zero and the next replace waits for it:\n\n  [ 8.369] BTRFS info (device ram0): dev_replace from /dev/ram0 (devid 1) to /dev/ram1 finished\n  [41.534] INFO: task btrfscsum:80 blocked for more than 20 seconds.\n  [41.534]  btrfs_rm_dev_replace_blocked+0x135/0x180\n  [41.534]  btrfs_dev_replace_finishing+0xefe/0x13b0\n\nThe worker is only used when CONFIG_BTRFS_EXPERIMENTAL is off and the\nchecksum isn't a fast one, e.g., sha256.  We hit it on a sha256\nfilesystem.\n\nWe put the bioc and drop the counter in that error branch.  We also\nput the bioc on the synchronous error path and on the btrfs_split_bio()\nerror path, which both only drop the counter.  With the fix, the\nreplace doesn't hang anymore.\n\nThis bug was identified and confirmed with the help of fault-injection\ntesting on a deterministic hypervisor currently under development.  Our\nC reproducer however hits it within about 35s.","modified":"2026-12-04T14:18:39.941772153Z","published":"2026-12-03T10:17:51Z","upstream":["CVE-2026-143166"],"references":[{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143166"}],"affected":[{"package":{"name":"kernel","ecosystem":"Azure Linux:3","purl":"pkg:rpm/azure-linux/kernel"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"6.6.161.1-1"}]}],"database_specific":{"source":"https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-118244.json"}}],"schema_version":"1.9.2"}