CVE-2026-89883: media: rc: sunxi-cir: Unregister rc device on probe failure

Published Sep 16, 2026
·
Updated

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

media: rc: sunxi-cir: Unregister rc device on probe failure

After rcregisterdevice() succeeds, later probe failures must undo the registration with rcunregisterdevice(). The current error path jumps to the allocation cleanup label and only calls rcfreedevice(), leaving the rc device registration and resources created by rcregisterdevice() behind.

Add a registered-device unwind label for the IRQ lookup, IRQ request, and hardware initialization failure paths. Keep rcfreedevice() for failures before rcregisterdevice() succeeds.

Event History

Sep 16, 2026
CVE Published
via MITRE·10:31 AM
Data Sourced
via MITRE·10:31 AM
Description

Frequently Asked Questions

1

When can the leaked registered rc device occur?

It occurs only when rc_register_device() has already succeeded and a later probe step fails. The affected later failures are IRQ lookup, IRQ request, and hardware initialization failures.

2

What is the impact of the faulty error path?

The error path calls rc_free_device() without first unregistering the rc device. This leaves the rc device registration and resources created by rc_register_device() behind.

3

What behavior should a corrected driver have on these probe failures?

For failures after successful rc_register_device(), the driver must call rc_unregister_device() to unwind the registration. rc_free_device() remains appropriate for failures that occur before registration succeeds.

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