CVE-2026-143054: gpio: virtuser: remove the debugfs files before freeing the line data

Published Dec 3, 2026
·
Updated

gpio: virtuser: remove the debugfs files before freeing the line data

Affected Software

7 affected componentsFixes available
Linux Linux kernel
linux/kernel>=6.11.0<6.12.120
6.12.120
linux/kernel>=6.13.0<6.18.66
6.18.66
linux/kernel>=6.19.0<7.3.7
7.3.7
debian/linux*
debian/linux*
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.12.120
  2. Upgrade

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

    Fixed in 6.18.66
  3. Upgrade

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

    Fixed in 7.3.7
  4. Compensating control

    In gpio_virtuser_probe(), register the debugfs-removal devm action after setting up the line data so it runs first on unbind; on probe error paths before that point, remove the debugfs directory manually before freeing the line data.

Event History

Dec 3, 2026
CVE Published
via MITRE·09:18 AM
Data Sourced
via MITRE·09:18 AM
Description
Data Sourced
via OSV·09:18 AM
DescriptionAffected Software
Data Sourced
via NVD·10:17 AM
Description

Frequently Asked Questions

1

Who is exposed to this race condition?

Systems using the gpio-virtuser driver and accessing its per-line debugfs files are exposed during device teardown. The demonstrated trigger uses gpio-sim as the provider, concurrent reads of per-line debugfs files, and writes to the configfs "live" attribute.

2

What concurrent activity is required to trigger the issue?

A read or write of a per-line debugfs file such as value, direction, consumer, or interrupts must occur while the virtuser instance is being unbound or torn down. In the reported reproduction, multiple threads read these files while another task toggles the configfs "live" attribute.

3

What can be done if the fix cannot be applied immediately?

Prevent concurrent access to gpio-virtuser per-line debugfs files while changing the configfs "live" attribute or otherwise unbinding the instance. Ensure debugfs readers and writers have stopped before teardown begins.

4

How might the issue appear during testing?

KASAN can report a slab use-after-free in gpio_virtuser_value_get during a debugfs read. The report can occur quickly when multiple debugfs readers run concurrently with configfs live-state changes.

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