CVE-2026-138927

media: rtl28xxu: fix SDR platform device leak

Published Nov 30, 2026 CVSS n/a EPSS n/a KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

media: rtl28xxu: fix SDR platform device leak

rtl2832u_tuner_attach() registers an rtl2832_sdr platform device, but
does not unregister it if no driver is bound. It also does not take a
reference on the bound driver module.

Unregister the platform device when no driver is bound or the module
reference cannot be acquired. Drop the module reference in
rtl28xxu_tuner_detach() before unregistering the device.

The issue was identified by a static analysis tool I developed and
confirmed by manual review.

Analysis

AI-generated

Technical impact

The rtl2832u driver registers a platform device when a tuner attaches, but if no driver binds it fails to unregister that device or acquire a module reference. This oversight allows the kernel to retain device registrations and module references indefinitely, leaking memory and device table slots. The consequence is a gradual exhaustion of kernel resources that can render the system unresponsive, which is a denial‑of‑service impact.

Affected Systems

All Linux kernel builds that include the rtl28xxu media driver are vulnerable. The specific kernel version range is not listed in the advisory, but the issue exists in the codebase that contains rtl2832u_tuner_attach and rtl28xxu_tuner_detach functions. Systems running unpatched kernels that load this driver, particularly those interfacing with SDR hardware, should assume exposure.

Risk and Exploitability

Local attackers who can load and unload the rtl2832u module, or that can trigger tuner attachment events without a bound driver, can repeatedly invoke the leak path until kernel resources are depleted. The EPSS score is not available and the vulnerability is not listed in the CISA KEV catalog, but the lack of proper cleanup provides a straightforward local exploit route. The risk level can be considered moderate to high, especially for embedded or industrial devices that may have limited handling of device registrations.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the kernel to a release that contains the rtl28xxu: fix SDR platform device leak commit or apply the corresponding patch.
  • Rebuild and reload the kernel module after updating to ensure the new code is in effect.
  • Avoid using the rtl2832u tuner on unpatched kernels until a patch is applied; if the device must remain active, manually unregister the platform device by unloading the module when not in use.

Generated by OpenCVE AI on November 30, 2026 at 18:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-391
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: media: rtl28xxu: fix SDR platform device leak rtl2832u_tuner_attach() registers an rtl2832_sdr platform device, but does not unregister it if no driver is bound. It also does not take a reference on the bound driver module. Unregister the platform device when no driver is bound or the module reference cannot be acquired. Drop the module reference in rtl28xxu_tuner_detach() before unregistering the device. The issue was identified by a static analysis tool I developed and confirmed by manual review.
Title media: rtl28xxu: fix SDR platform device leak
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-391

    Unchecked Error Condition

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:26 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:17 PM
Modified
Nov 30, 2026, 2:17 PM