{"id":"AZL-116968","summary":"CVE-2026-139234 affecting package kernel 6.6.161.1-1","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nexfat: fix used_clusters accounting during cluster allocation\n\nIn the current exfat_alloc_cluster(), p_chain-\u003esize is incremented as\neach cluster is allocated so that the partially allocated chain can\nbe freed by __exfat_free_cluster() on the error path.\n\nHowever, sbi-\u003eused_clusters is still updated only after all clusters\nhave been allocated, while __exfat_free_cluster() unconditionally\nsubtracts the number of freed clusters from sbi-\u003eused_clusters.\nTherefore, when allocation fails partway through, the partially\nallocated clusters are subtracted from sbi-\u003eused_clusters even\nthough they were never added to it. This corrupts the free-space\naccounting and can cause sbi-\u003eused_clusters to underflow.\n\nIncrement sbi-\u003eused_clusters together with p_chain-\u003esize as each\ncluster is allocated. This keeps the accounting consistent with\n__exfat_free_cluster() on both the success and error paths.\n\nThis issue is caught by generic/476 with 256k cluster size:\n\n    Ran: generic/476\n    Failures: generic/476\n    Failed 1 of 1 tests\n\n    *** fsck.exfat output ***\n    ERROR: \u003cpath\u003e: more clusters are allocated. truncate to N bytes\n    ...\n    /dev/vdc: corrupted. directories 331, files 526\n    /dev/vdc: files corrupted 9, files fixed 0\n    *** end fsck.exfat output ***","modified":"2026-12-01T14:17:41.171091963Z","published":"2026-11-30T14:18:45Z","upstream":["CVE-2026-139234"],"references":[{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139234"}],"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-116968.json"}}],"schema_version":"1.9.2"}