media: rtl28xxu: fix SDR platform device leak
- State
- Published
- Severity
- Not Scored
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 30, 2026
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.
| Product | Versions |
|---|---|
| Linux Linux | a2f7f220df5edf7cbe17ec89f49676a7b4b64d34 to before 81796d0b0649aa91d25673e7fafdfbf024dc5959 Affecteda2f7f220df5edf7cbe17ec89f49676a7b4b64d34 to before 0996f38a828777b8b855c68933340b206d09ec41 Affecteda2f7f220df5edf7cbe17ec89f49676a7b4b64d34 to before e0c57a937c4cf57ee241d744cb787b113889bd8f Affecteda2f7f220df5edf7cbe17ec89f49676a7b4b64d34 to before ab2772b2d5771d45c6b84d4e3ef0c754dc57cca7 Affecteda2f7f220df5edf7cbe17ec89f49676a7b4b64d34 to before 65939ff0f95451078879bfafaff83266ed4c5095 Affecteda2f7f220df5edf7cbe17ec89f49676a7b4b64d34 to before e4686b15bb97fe56231b12dcc309b68d1e586775 Affecteda2f7f220df5edf7cbe17ec89f49676a7b4b64d34 to before dd3af412de04c5253ff863c295ff53cd7628d4dd Affecteda2f7f220df5edf7cbe17ec89f49676a7b4b64d34 to before 083a92996598a5080965f1baa84175082e14a45b Affected |
| Linux Linux | 4.0 Affectedbefore 4.0 Not Affected5.10.275 through 5.10.* Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.117 through 6.12.* Not Affected6.18.63 through 6.18.* Not Affected7.3.4 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
References
- https://git.kernel.org/stable/c/81796d0b0649aa91d25673e7fafdfbf024dc5959
- https://git.kernel.org/stable/c/0996f38a828777b8b855c68933340b206d09ec41
- https://git.kernel.org/stable/c/e0c57a937c4cf57ee241d744cb787b113889bd8f
- https://git.kernel.org/stable/c/ab2772b2d5771d45c6b84d4e3ef0c754dc57cca7
- https://git.kernel.org/stable/c/65939ff0f95451078879bfafaff83266ed4c5095
- https://git.kernel.org/stable/c/e4686b15bb97fe56231b12dcc309b68d1e586775
- https://git.kernel.org/stable/c/dd3af412de04c5253ff863c295ff53cd7628d4dd
- https://git.kernel.org/stable/c/083a92996598a5080965f1baa84175082e14a45b
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.