CVE-2026-93054: uio: Fix stale info pointer in failed registration path

Published Sep 17, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

uio: Fix stale info pointer in failed registration path

After deviceadd(), the UIO device is visible to userspace and /dev/uioX can be opened. If a later setup step fails, uioregisterdevice() unwinds the device but leaves idev->info pointing at the caller-owned struct uioinfo.

That is unsafe when an opener races with the failed registration path. The open file keeps a reference to the uiodevice, while the caller sees registration failure and may free its struct uioinfo. Later file operations can then follow idev->info and dereference freed memory.

Handle post-deviceadd() failures like unregister: remove UIO attributes while the info pointer is still valid, then clear idev->info under infolock and wake existing waiters/async users before removing the device and minor. This makes already-open file descriptors observe the same "device gone" state as normal uiounregisterdevice().

Affected Software

1 affected component
Linux Linux kernel

Event History

Sep 17, 2026
CVE Published
via MITRE·04:10 PM
Data Sourced
via MITRE·04:10 PM
Description

Frequently Asked Questions

1

What conditions are required for this issue to be exploitable?

A UIO device registration must fail after device_add() has made the device visible to userspace. A userspace process must open the exposed /dev/uioX node before the failed registration path finishes, while the caller can free the associated struct uio_info.

2

What is the impact on a process that opened the device during the failed registration?

Its open file retains a reference to the UIO device, but later file operations can dereference the freed uio_info through idev->info. This creates a use-after-free condition.

3

How does the fix affect file descriptors that were already opened?

The fix clears the info pointer under the info lock and wakes waiters and asynchronous users before removing the device and minor. Existing descriptors then observe the same device-gone state used by normal UIO device unregistration.

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