What’s Vulnerable › Vulnerabilities

CVE-2026-99439: media: rc: Ensure registered is cleared in error path

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

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

Get alerted when CVE-2026-99439 or the next vulnerability affects your stack