media: davinci: vpif: fix use-after-free on driver unbind
Published Feb 26, 2025
7.8
HIGHCVSS 3.1
EPSS 0.27%
Description
The driver allocates and registers two platform device structures during probe, but the devices were never deregistered on driver unbind.
This results in a use-after-free on driver unbind as the device structures were allocated using devres and would be freed by driver core when remove() returns.
Fix this by adding the missing deregistration calls to the remove() callback and failing probe on registration errors.
Note that the platform device structures must be freed using a proper release callback to avoid leaking associated resources like device names.
Affected products
-
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version
-
- Version 4.13StatusaffectedConstraints-
- Version 0StatusunaffectedConstraints<4.13
- Version 5.15.54StatusunaffectedConstraints<=5.15.*
- Version 5.16.19StatusunaffectedConstraints<=5.16.*
- Version 5.17.2StatusunaffectedConstraints<=5.17.*
- Version 5.18StatusunaffectedConstraints<=*
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
- ≥ 4.13 · < 5.15.54
- ≥ 5.16 · < 5.16.19
- ≥ 5.17 · < 5.17.2
No data.
Red Hat Enterprise Linux 10
kernel
Not affected
Red Hat Enterprise Linux 6
kernel
Not affected
Red Hat Enterprise Linux 7
kernel
Not affected
Red Hat Enterprise Linux 7
kernel-rt
Not affected
Red Hat Enterprise Linux 8
kernel
Not affected
Red Hat Enterprise Linux 8
kernel-rt
Not affected
Red Hat Enterprise Linux 9
kernel
Not affected
Red Hat Enterprise Linux 9
kernel-rt
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 6 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel-rt | Not affected | n/a |
| Red Hat Enterprise Linux 8 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 8 | kernel-rt | Not affected | n/a |
| Red Hat Enterprise Linux 9 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 9 | kernel-rt | Not affected | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
No CVSS v3.0 score for this CVE.
No CVSS v2.0 score for this CVE.
This CVE is not in the KEV list.
CISA SSVC (Vulnrichment)
Stakeholder-Specific Vulnerability Categorization from CISA ADP.
Exploitation
NoneAutomatable
NoTechnical Impact
TotalDecision
n/aAssessed Feb 27, 2025 · SSVC 2.0.3
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 2, 2026.
Score over time
2025–2026- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (4 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 2, 2026 | 0.27% (0.00268) | 17.16th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.25% (0.00246) | 15.49th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.02% (0.00016) | 1.91th | v4 (v2025.03.14) |
| Feb 27, 2025 | 0.04% (0.00045) | 18.25th | v3 (v2023.03.01) |
References (9)
- https://access.redhat.com/security/cve/CVE-2021-47653 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2347697 Issue Tracking
- https://git.kernel.org/stable/c/43acb728bbc40169d2e2425e84a80068270974be Patch
- https://git.kernel.org/stable/c/6512c3c39cb6b573b791ce45365818a38b76afbe Patch
- https://git.kernel.org/stable/c/9ffc602e14d7b9f7e7cb2f67e18dfef9ef8af676 Patch
- https://git.kernel.org/stable/c/b5a3bb7f6f164eb6ee74ef4898dcd019b2063448 Patch
- https://lore.kernel.org/linux-cve-announce/2025022649-CVE-2021-47653-2d4e@gregkh/T
- https://nvd.nist.gov/vuln/detail/CVE-2021-47653
- https://www.cve.org/CVERecord?id=CVE-2021-47653
Change history (0)
No recorded changes yet.