Skip to content
OpenAdvisories
Unscored CVE-2026-99439 EUVD-2026-130105GHSA-6v37-974f-vh38

media: rc: Ensure registered is cleared in error path

Published Nov 19, 2026 · Assigned by Linux

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

VendorProductAffectedFixed
Linux Linux 6.12.93 – < 6.12.117, 6.18.35 – < 6.18.61, 6.6.143 – < 6.7, 7.1 6.12.117

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 linux 7.3.3-1 —
Debian 13 linux 6.12.117-1 —

Advisories 1

References