media: rc: sunxi-cir: Unregister rc device on probe failure
Published Sep 16, 2026
7.8
HIGHCVSS 3.1
EPSS 0.18%
Description
After rc_register_device() succeeds, later probe failures must undo the registration with rc_unregister_device(). The current error path jumps to the allocation cleanup label and only calls rc_free_device(), leaving the rc device registration and resources created by rc_register_device() behind.
Add a registered-device unwind label for the IRQ lookup, IRQ request, and hardware initialization failure paths. Keep rc_free_device() for failures before rc_register_device() succeeds.
Affected products
-
Affected
- ≥ , <
- ≥ , <
- ≥ , <
- ≥ , <
- ≥ , <
- ≥ , <
- ≥ , <
-
Affected
- 3.17
Unaffected
- ≥ 0, < 3.17
- ≥ 5.15.221, ≤ 5.15.*
- ≥ 6.1.188, ≤ 6.1.*
- ≥ 6.12.110, ≤ 6.12.*
- ≥ 6.18.51, ≤ 6.18.*
- ≥ 6.6.157, ≤ 6.6.*
- ≥ 7.2.5, ≤ 7.2.*
- 7.3-rc1
Default status is the baseline for the product. Each version can override it (patched versions can be marked unaffected).
No data.
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
No remediation recorded yet.
No CWE recorded.
References (8)
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-80483 Advisory
- https://git.kernel.org/stable/c/4655a591478e4b31a3396695a2457daad9d4c899
- https://git.kernel.org/stable/c/479aa6fa8c50f1052f1451326ef7d4d586d340c3
- https://git.kernel.org/stable/c/4efd7146dcf959afe64e9c51531cd8f82e60eab6
- https://git.kernel.org/stable/c/59951b8a87ef4fb4b5b9409f70ba07663681a040
- https://git.kernel.org/stable/c/5b58d8c206f37525c8217171e1f3e91dd2fa55e5
- https://git.kernel.org/stable/c/5e6f5bffaa80fc8ecce348ec0e34fed9d843e47e
- https://git.kernel.org/stable/c/826763adbd8bd3137c5b3756650da473dc6216d5
Change history (0)
No recorded changes yet.
CVE.org / MITRE
CISA Vulnrichment
No data
Red Hat
No data
GitHub
No data