What’s Vulnerable › Vulnerabilities
CVE-2026-99439: media: rc: Ensure registered is cleared in error path
- Severity: unknown
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-11-19 · updated 2026-11-23
Description
In the Linux kernel, the following vulnerability has been resolved: media: rc: Ensure registered is cleared in error path If rc_register_device() fails, ensure that registered is not set to true. If lirc_register() succeeded, then userspace could have an open file descriptor open. This leads to a use-after-free. lirc_unregister() must be called with registered = false, else there is a possibility that an fd is open and polling, which would never return POLLERR unless registered is false. Note that registered must be changed under dev->lock, many functions read registered under lock (e.g. lirc_ioctl).
Affected products
- Linux: from 6.6.143 before 6.6.163; from 6.12.93 before 6.12.117; from 6.18.35 before 6.18.61 — fixed in 6.6.163, 6.12.117, 6.18.61
How to fix
Upgrade to a fixed version: Linux 6.6.163, 6.12.117, 6.18.61. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/37efd09ba2c62e46e3a3a793025c186f8cd1a417
- https://git.kernel.org/stable/c/4c94661218f2accf309372cac59ebe9e21853349
- https://git.kernel.org/stable/c/63644a8b70dab7e67a8a6f563b7df9647324a41f
- https://git.kernel.org/stable/c/7a6e8c9726dfd1cb284708f7b179a6bc9bcd6e0e
- https://git.kernel.org/stable/c/eda129862b995154d19eb7af7c9024c2fe0115f6
Get alerted when CVE-2026-99439 or the next vulnerability affects your stack