CVE-2026-139438: block: use iomap_dirty_folio for block devices

Published Nov 30, 2026
·
Updated

block: use iomapdirtyfolio for block devices

Affected Software

8 affected componentsFixes available
Linux Linux kernel
linux/kernel>=6.6.0<6.6.163
6.6.163
linux/kernel>=6.7.0<6.12.119
6.12.119
linux/kernel>=6.13.0<6.18.65
6.18.65
linux/kernel>=6.19.0<7.3.6
7.3.6
debian/linux*
debian/linux<7.3.6-1
7.3.6-1
debian/linux<=6.12.117-1, <=6.12.118-1
7.3.6-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.6.163
  2. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.12.119
  3. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.18.65
  4. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 7.3.6
  5. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 7.3.6-1
  6. Compensating control

    For block devices, use iomap_dirty_folio instead of filemap_dirty_folio so the folio’s per-block dirty bits are set.

Event History

Nov 30, 2026
CVE Published
via MITRE·01:34 PM
Data Sourced
via MITRE·01:34 PM
Description
Data Sourced
via OSV·01:34 PM
DescriptionAffected Software
Data Sourced
via NVD·02:19 PM
Description

Frequently Asked Questions

1

Which systems are realistically exposed to data loss?

The issue is observable only when CONFIG_BUFFER_HEAD is disabled and the affected block device has a block size smaller than the folio size. Devices whose size is not page-aligned may already receive a sub-page block size; page-aligned devices may require a block-size change to reach the affected condition.

2

What access does an attacker or triggering workload need?

A triggering workload needs to write through a memory mapping and force writeback, such as by modifying an mmaped range followed by msync() and fsync(). Setting a page-aligned device's block size with BLKBSZSET requires CAP_SYS_ADMIN, but no ioctl or privilege is needed when the device already has a sub-page block size.

3

Are devices with one block per folio affected?

No. With a single block, there is no iomap folio state that can become inconsistent, and iomap_writeback_folio() marks the entire folio dirty itself.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203