media: radio-keene: fix memory leak in error path (Linux Linux)

CVE-2026-43231
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.13 % · percentile 2 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

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.

Weaknesses (CWE)

  • CWE-401 — Missing Release of Memory after Effective Lifetime

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 1bf20c3a0c616f44359c573b533d06bae960ee45 < ad85bb5623079a35bd400f51de2e2fbc2170bdb2 ; affected 1bf20c3a0c616f44359c573b533d06bae960ee45 < 242b0aabb1866024a7995a767ac330c158b39aa4 ; affected 1bf20c3a0c616f44359c573b533d06bae960ee45 < 2fe28a63d598235595a9601e0d8fdc7c8f4fd575 ; affected 1bf20c3a0c616f44359c573b533d06bae960ee45 < 27c508f61963013fdf29097578284099ee7a85a4 ; affected 1bf20c3a0c616f44359c573b533d06bae960ee45 < 7fa9754f48cb8eefa566156be341e63d313247e5 ; affected 1bf20c3a0c616f44359c573b533d06bae960ee45 < 1d8558a232ecb187e8e0328d6347a125f437a0fc
Linux · Linuxaffected 3.4 ; unaffected 0 < 3.4 ; unaffected 5.10.252 ≤ 5.10.* ; unaffected 5.15.202 ≤ 5.15.* ; unaffected 6.1.165 ≤ 6.1.* ; unaffected 6.6.128 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD