CVE-2026-99956: ata: libata-sff: fix race between IRQ deferral and ata_sff_flush_pio_task()

Published Nov 30, 2026
·
Updated

ata: libata-sff: fix race between IRQ deferral and atasffflushpiotask()

Affected Software

4 affected componentsFixes available
Linux Linux kernel
linux/kernel>=7.3.0<7.3.4
7.3.4
debian/linux<7.3.4-1
7.3.4-1
debian/linux
7.3.4-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 7.3.4
  2. Upgrade

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

    Fixed in 7.3.4-1
  3. Compensating control

    In Linux kernel libata-sff, set hsm_task_state to HSM_ST_IDLE before cancelling the PIO task in ata_sff_flush_pio_task(); make ata_sff_pio_task() return quietly when the state is idle, checking both at entry and after reacquiring the port lock.

Event History

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

Frequently Asked Questions

1

Under what conditions can the race be triggered?

It requires a timed-out PIO data-in command during early error handling, while the command is still active, the port is not frozen, and interrupts continue to be serviced. The final data-block interrupt must occur after cancel_delayed_work_sync() completes but before the HSM state and PIO-task link are reset.

2

Is cancelling the delayed PIO work sufficient to prevent the problem?

No. An interrupt handler can queue sff_pio_task again after cancel_delayed_work_sync() has completed, creating the unsafe window.

3

What observable failure does the race cause?

When the newly queued work executes after the PIO-task link has been cleared, ata_sff_pio_task() reaches BUG_ON(ap->sff_pio_task_link == NULL).

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