{"id":"AZL-117953","summary":"CVE-2026-143021 affecting package kernel 6.6.161.1-1","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ndm snapshot: fix discard_granularity unit in snapshot_io_hints\n\nsnapshot_io_hints() copies the snapshot store's chunk_size, which is\nin 512-byte sectors, into queue_limits.discard_granularity, which, like\nall other members of struct queue_limits, is in bytes.\n\nFor snapshots with a chunk size smaller than 512 sectors, e.g. the\n16 KiB (32-sector) chunks created by the syzkaller reproducer, the\nresulting granularity is smaller than a single sector.  When\ndm_calculate_queue_limits() then stacks the target limits into the\ntable limits:\n\n\tblk_stack_limits(limits, &ti_limits, 0)\n\nqueue_limit_discard_alignment() truncates that granularity to zero\nsectors and sector_div() divides by zero:\n\n  Oops: divide error: 0000 [#1] SMP KASAN NOPTI\n  RIP: 0010:queue_limit_discard_alignment block/blk-settings.c:645 [inline]\n  RIP: 0010:blk_stack_limits+0x1105/0x2d00 block/blk-settings.c:916\n  Call Trace:\n   dm_calculate_queue_limits+0x70c/0x1510 drivers/md/dm-table.c:1823\n   dm_setup_md_queue+0x199/0x4f0 drivers/md/dm.c:2618\n   table_load+0x4fd/0x8a0 drivers/md/dm-ioctl.c:1661\n\nThe divide fault itself only became reachable when commit e924da7d6622\n(\"block: Drop granularity check in queue_limit_discard_alignment()\")\nremoved the check for a sub-sector granularity in v6.13.  Kernels\nbefore that returned a zero discard alignment instead of faulting, but\nthey still advertised a granularity 512 times too small.\n\nUse the same chunk_size \u003c\u003c SECTOR_SHIFT conversion that\nio_overlaps_chunk() already applies to turn chunk_size into bytes.","modified":"2026-12-04T14:18:54.316522300Z","published":"2026-12-03T10:17:29Z","upstream":["CVE-2026-143021"],"references":[{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143021"}],"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-117953.json"}}],"schema_version":"1.9.2"}