DEBIAN-CVE-2026-99439: 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…
- Source:
- OSV.dev
- Published:
- Fetched:
- Updated:
- Affects:
- linux 12:linux-6.12
https://osv.dev/vulnerability/DEBIAN-CVE-2026-99439 ↗
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: Debian:12:linux-6.12, Debian:13:linux, Debian:14:linux Fixed in: 6.12.117-1, 7.3.3-1, 6.12.117-1~deb12u1 References: https://security-tracker.debian.org/tracker/CVE-2026-99439