cvelo
P4 · InfoEPSS 0.4%

dm-thin: fix data corruption if discard races with regular I/O

  • CVE-2026-143010
  • GHSA-hjfj-7cfr-9x5g
  • EUVD-2026-142626

Description

In the Linux kernel, the following vulnerability has been resolved: dm-thin: fix data corruption if discard races with regular I/O In the function break_up_discard_bio, if a discard hits the same block as regular I/O, it was intended to skip the discard for the affected range. However, the skip code only advances "data_begin", it doesn't advance "virt_begin". So, the data_begin and virt_begin variables become unsynchronized. process_prepared_discard_passdown_pt1 calculates "data_end = m->data_block + (m->virt_end - m->virt_begin);" - if m->data_block is incremented and m->virt_begin isn't, it will overshoot the intended discard range.

Text from the CVE.org record.

Recommendation

No source states a fixed version. Check the vendor advisory.

Affected

  • Linux

    Affected versionsFixed in
    6.4none stated
    before 6.4: not affectednone stated
    from 6.12.120 up to 6.12.*: not affectednone stated
    from 6.18.66 up to 6.18.*: not affectednone stated
    from 7.3.7 up to 7.3.*: not affectednone stated
    from 7.4-rc3 onwards: not affectednone stated

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.