Description
In the Linux kernel, the following vulnerability has been resolved: media: rc: sunxi-cir: Unregister rc device on probe failure 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
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
b4e3e59fb59c214c5bcf9d1bf2971f100e0dac4f to < 4655a591478e4b31a3396695a2457daad9d4c899affectedb4e3e59fb59c214c5bcf9d1bf2971f100e0dac4f to < 4efd7146dcf959afe64e9c51531cd8f82e60eab6affectedb4e3e59fb59c214c5bcf9d1bf2971f100e0dac4f to < 826763adbd8bd3137c5b3756650da473dc6216d5affectedb4e3e59fb59c214c5bcf9d1bf2971f100e0dac4f to < 59951b8a87ef4fb4b5b9409f70ba07663681a040affectedb4e3e59fb59c214c5bcf9d1bf2971f100e0dac4f to < 5b58d8c206f37525c8217171e1f3e91dd2fa55e5affectedb4e3e59fb59c214c5bcf9d1bf2971f100e0dac4f to < 5e6f5bffaa80fc8ecce348ec0e34fed9d843e47eaffectedb4e3e59fb59c214c5bcf9d1bf2971f100e0dac4f to < 479aa6fa8c50f1052f1451326ef7d4d586d340c3affected
Linux Linux
Default version status: affected
3.17affected0 to < 3.17unaffected5.15.221 to ≤ 5.15.*unaffected6.1.188 to ≤ 6.1.*unaffected6.6.157 to ≤ 6.6.*unaffected6.12.110 to ≤ 6.12.*unaffected6.18.51 to ≤ 6.18.*unaffected7.2.5 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/4655a591478e4b31a3396695a2457daad9d4c899 ↗
- https://git.kernel.org/stable/c/4efd7146dcf959afe64e9c51531cd8f82e60eab6 ↗
- https://git.kernel.org/stable/c/826763adbd8bd3137c5b3756650da473dc6216d5 ↗
- 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/479aa6fa8c50f1052f1451326ef7d4d586d340c3 ↗