CVE-2026-139437: block: take i_rwsem for the direct I/O write fallback

Published Nov 30, 2026
·
Updated

block: take irwsem for the direct I/O write fallback

Affected Software

5 affected componentsFixes available
Linux Linux kernel
linux/kernel>=6.15.0<6.18.65
6.18.65
linux/kernel>=6.19.0<7.3.6
7.3.6
debian/linux<7.3.6-1
7.3.6-1
debian/linux
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.18.65
  2. Upgrade

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

    Fixed in 7.3.6
  3. Upgrade

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

    Fixed in 7.3.6-1

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

What workload is required to trigger the race?

The issue requires a direct I/O write that completes only partially and then falls back to buffered I/O. The described trigger uses O_DIRECT pwritev() with a two-segment iovec where the second segment is an unreadable PROT_NONE mapping, causing the direct path to write the first segment but fail to pin the second.

2

What concurrent action makes the partial direct-write fallback unsafe?

A concurrent ioctl(BLKBSZSET) can change the block size while the partial direct write enters its buffered-write fallback without the required inode lock. The described race can result in a kernel BUG.

3

What can be done before applying a kernel update?

Avoid running the triggering operations concurrently on the same block device: do not combine partial O_DIRECT write fallbacks with BLKBSZSET block-size changes. In particular, avoid changing block size while workloads may issue direct writes that can fall back to buffered I/O.

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