Skip to main content
VulnerabilityPublished

CVE-2026-143021: Linux kernel · dm snapshot: fix discard_granularity unit in snapshot_io_hints

Affects Linux kernelSource CVE Database V5

0
Compare

Not known to be exploited · fixed in d7216d7be2bbfdf3312695b6e41a4fc7c5e22902 : update Linux kernel when convenient.

Data as of 3 Dec 2026, 09:30 UTC

Severity
Unrated

Rated by Threat Radar · CVSS not yet scored by NVD

Thin evidence

One scorer or none
Patch
Available – fixed in d7216d7be2bbfdf3312695b6e41a4fc7c5e22902, d6fec458f06fd30d0cb3350ac772f161ca35866a, 7049ec6f8b4b8d1eabfceaf80fbf6be93075a910 +1

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 3 Dec 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 3 Dec 2026.

What to do

Upgrade Linux kernel to d7216d7be2bbfdf3312695b6e41a4fc7c5e22902, d6fec458f06fd30d0cb3350ac772f161ca35866a, 7049ec6f8b4b8d1eabfceaf80fbf6be93075a910 or 4e7d218bee0201216aab43823d9d010177e8e3ee.

Affected software

ProductAffectedFixed in
LinuxLinuxAffected
  • ≥ 2e6023850e177dbaca21498ada04c5a5ac93f812, < d7216d7be2bbfdf3312695b6e41a4fc7c5e22902
Fixed in
  • d7216d7be2bbfdf3312695b6e41a4fc7c5e22902
LinuxLinuxAffected
  • ≥ 2e6023850e177dbaca21498ada04c5a5ac93f812, < d6fec458f06fd30d0cb3350ac772f161ca35866a
Fixed in
  • d6fec458f06fd30d0cb3350ac772f161ca35866a
LinuxLinuxAffected
  • ≥ 2e6023850e177dbaca21498ada04c5a5ac93f812, < 7049ec6f8b4b8d1eabfceaf80fbf6be93075a910
Fixed in
  • 7049ec6f8b4b8d1eabfceaf80fbf6be93075a910
LinuxLinuxAffected
  • ≥ 2e6023850e177dbaca21498ada04c5a5ac93f812, < 4e7d218bee0201216aab43823d9d010177e8e3ee
Fixed in
  • 4e7d218bee0201216aab43823d9d010177e8e3ee
LinuxLinuxAffected
  • =5.3
Fixed in–

Description

In the Linux kernel, the following vulnerability has been resolved: dm snapshot: fix discard_granularity unit in snapshot_io_hints snapshot_io_hints() copies the snapshot store's chunk_size, which is in 512-byte sectors, into queue_limits.discard_granularity, which, like all other members of struct queue_limits, is in bytes. For snapshots with a chunk size smaller than 512 sectors, e.g. the 16 KiB (32-sector) chunks created by the syzkaller reproducer, the resulting granularity is smaller than a single sector. When dm_calculate_queue_limits() then stacks the target limits into the table limits: blk_stack_limits(limits, &ti_limits, 0) queue_limit_discard_alignment() truncates that granularity to zero sectors and sector_div() divides by zero: Oops: divide error: 0000 [#1] SMP KASAN NOPTI RIP: 0010:queue_limit_discard_alignment block/blk-settings.c:645 [inline] RIP: 0010:blk_stack_limits+0x1105/0x2d00 block/blk-settings.c:916 Call Trace: dm_calculate_queue_limits+0x70c/0x1510 drivers/md/dm-table.c:1823 dm_setup_md_queue+0x199/0x4f0 drivers/md/dm.c:2618 table_load+0x4fd/0x8a0 drivers/md/dm-ioctl.c:1661 The divide fault itself only became reachable when commit e924da7d6622 ("block: Drop granularity check in queue_limit_discard_alignment()") removed the check for a sub-sector granularity in v6.13. Kernels before that returned a zero discard alignment instead of faulting, but they still advertised a granularity 512 times too small. Use the same chunk_size << SECTOR_SHIFT conversion that io_overlaps_chunk() already applies to turn chunk_size into bytes.

References

Community reviews

Loading reviews…