Skip to contentSkip to conversation

CVE-2026-99440: media: rc: Ensure that rc_unregister_device() does not free input device

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Nov 19

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

media: rc: Ensure that rc_unregister_device() does not free input device

During or after rc_unregister_device(), IR may still be reported which results in a input event being reported. This could result in a null pointer deref in rc_keydown() or a use-after-free of the input device if the pointer was read before it is set to NULL.

The Linux kernel CVE team has assigned CVE-2026-99440 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 6.12.93 with commit 75977f5f5c4974c72bbedefbf09ad33ebbaa36f1 and fixed in 6.12.117 with commit 5698bd38cf2a64c8bdb84243ec9c664d7b941135
	Issue introduced in 6.18.35 with commit e250b672d40a9e0d97a8895cbb301248bea0fce6 and fixed in 6.18.61 with commit 144ce635f8cc02955a9bfc7caf14b1818d957a63
	Issue introduced in 7.1 with commit dccc0c3ddf8f16071736f98a7d6dd46a2d43e037 and fixed in 7.3.2 with commit 1a565b81f8ddb01d0b43a9060106dcc88cb3c636
	Issue introduced in 7.1 with commit dccc0c3ddf8f16071736f98a7d6dd46a2d43e037 and fixed in 7.4-rc1 with commit 61c7ca95d2483c77dfdde1b007cbe846f145dec4
	Issue introduced in 6.6.143 with commit a7becb58f6b8a3a3efe5d3acfd52e2c107de6772

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-99440

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
drivers/media/rc/rc-main.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/5698bd38cf2a64c8bdb84243ec9c664d7b941135
	https://git.kernel.org/stable/c/144ce635f8cc02955a9bfc7caf14b1818d957a63
	https://git.kernel.org/stable/c/1a565b81f8ddb01d0b43a9060106dcc88cb3c636
	https://git.kernel.org/stable/c/61c7ca95d2483c77dfdde1b007cbe846f145dec4