Skip to contentSkip to conversation

CVE-2026-43231: media: radio-keene: fix memory leak in error path

DISCUSSION Greg Kroah-Hartman 1 participant 1 message May 6

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: radio-keene: fix memory leak in error path

Fix a memory leak in usb_keene_probe(). The v4l2 control handler is initialized and controls are added, but if v4l2_device_register() or video_register_device() fails afterward, the handler was never freed, leaking memory.

Add v4l2_ctrl_handler_free() call in the err_v4l2 error path to ensure the control handler is properly freed for all error paths after it is initialized.

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

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

	Issue introduced in 3.4 with commit 1bf20c3a0c616f44359c573b533d06bae960ee45 and fixed in 5.10.252 with commit ad85bb5623079a35bd400f51de2e2fbc2170bdb2
	Issue introduced in 3.4 with commit 1bf20c3a0c616f44359c573b533d06bae960ee45 and fixed in 5.15.202 with commit 242b0aabb1866024a7995a767ac330c158b39aa4
	Issue introduced in 3.4 with commit 1bf20c3a0c616f44359c573b533d06bae960ee45 and fixed in 6.1.165 with commit 2fe28a63d598235595a9601e0d8fdc7c8f4fd575
	Issue introduced in 3.4 with commit 1bf20c3a0c616f44359c573b533d06bae960ee45 and fixed in 6.6.128 with commit 27c508f61963013fdf29097578284099ee7a85a4
	Issue introduced in 3.4 with commit 1bf20c3a0c616f44359c573b533d06bae960ee45 and fixed in 6.12.75 with commit 7fa9754f48cb8eefa566156be341e63d313247e5
	Issue introduced in 3.4 with commit 1bf20c3a0c616f44359c573b533d06bae960ee45 and fixed in 6.18.16 with commit 1d8558a232ecb187e8e0328d6347a125f437a0fc
	Issue introduced in 3.4 with commit 1bf20c3a0c616f44359c573b533d06bae960ee45 and fixed in 6.19.6 with commit de204d87e7d61859937272fe30cbdd46a4cfb10a
	Issue introduced in 3.4 with commit 1bf20c3a0c616f44359c573b533d06bae960ee45 and fixed in 7.0 with commit b8bf939d77c0cd01118e953bbf554e0fa15e9006

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-43231

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/radio/radio-keene.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/ad85bb5623079a35bd400f51de2e2fbc2170bdb2
	https://git.kernel.org/stable/c/242b0aabb1866024a7995a767ac330c158b39aa4
	https://git.kernel.org/stable/c/2fe28a63d598235595a9601e0d8fdc7c8f4fd575
	https://git.kernel.org/stable/c/27c508f61963013fdf29097578284099ee7a85a4
	https://git.kernel.org/stable/c/7fa9754f48cb8eefa566156be341e63d313247e5
	https://git.kernel.org/stable/c/1d8558a232ecb187e8e0328d6347a125f437a0fc
	https://git.kernel.org/stable/c/de204d87e7d61859937272fe30cbdd46a4cfb10a
	https://git.kernel.org/stable/c/b8bf939d77c0cd01118e953bbf554e0fa15e9006