CVE-2021-47653
Last modified
CVE-2021-47653 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: media: davinci: vpif: fix use-after-free on driver unbind 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.. EPSS estimates a 0.25% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: media: davinci: vpif: fix use-after-free on driver unbind 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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 4.13, < 5.15.54 |
| Linux | Linux Kernel | >= 5.16, < 5.16.19 |
| Linux | Linux Kernel | >= 5.17, < 5.17.2 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2021-47653?
How severe is CVE-2021-47653?
How do I fix CVE-2021-47653?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-47647In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2021-47648In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2021-47649In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2021-47650In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2021-47651In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2021-47652In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2021-47654In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2021-47655In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2021-47656In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2021-47657In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2021-47658In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2021-47659In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2021-47653?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
