CVE-2021-47653
published 2025-02-26CVE-2021-47653: In the Linux kernel, the following vulnerability has been resolved: media: davinci: vpif: fix use-after-free on driver unbind The driver allocates and…
PriorityP338high7.8CVSS 3.1
AVLACLPRLUINSUCHIHAH
EPSS
0.26%
18.0th percentile
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.
Affected
12 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 5.17.3-1 (bookworm) | linux 5.17.3-1 (bookworm) |
| linux | linux | — | — |
| linux | linux | >= 479f7a1181058689435baddc16a6a42e1a8ff0e8 < 6512c3c39cb6b573b791ce45365818a38b76afbe | 6512c3c39cb6b573b791ce45365818a38b76afbe |
| linux | linux | >= 479f7a1181058689435baddc16a6a42e1a8ff0e8 < b5a3bb7f6f164eb6ee74ef4898dcd019b2063448 | b5a3bb7f6f164eb6ee74ef4898dcd019b2063448 |
| linux | linux | >= 479f7a1181058689435baddc16a6a42e1a8ff0e8 < 9ffc602e14d7b9f7e7cb2f67e18dfef9ef8af676 | 9ffc602e14d7b9f7e7cb2f67e18dfef9ef8af676 |
| linux | linux | >= 479f7a1181058689435baddc16a6a42e1a8ff0e8 < 43acb728bbc40169d2e2425e84a80068270974be | 43acb728bbc40169d2e2425e84a80068270974be |
| linux | linux_kernel | >= 0 < 5.17.3-1 | 5.17.3-1 |
| linux | linux_kernel | >= 0 < 5.17.3-1 | 5.17.3-1 |
| linux | linux_kernel | >= 0 < 5.17.3-1 | 5.17.3-1 |
| linux | linux_kernel | >= 4.13 < 5.15.54 | 5.15.54 |
| linux | linux_kernel | >= 5.16 < 5.16.19 | 5.16.19 |
| linux | linux_kernel | >= 5.17 < 5.17.2 | 5.17.2 |
CVSS provenance
nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
osv7.8HIGH
vendor_debian7.8HIGH
vendor_redhat7.8HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
kernel: media: davinci: vpif: fix use-after-free on driver unbind
vendor_redhat·2025-02-26·CVSS 7.8
CVE-2021-47653 [HIGH] CWE-416 kernel: media: davinci: vpif: fix use-after-free on driver unbind
kernel: media: davinci: vpif: fix use-after-free on driver unbind
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.
Package: kernel (Red Hat Enterprise Linux 10)
Debian
CVE-2021-47653: linux - In the Linux kernel, the following vulnerability has been resolved: media: davi...
vendor_debian·2021·CVSS 7.8
CVE-2021-47653 [HIGH] CVE-2021-47653: linux - In the Linux kernel, the following vulnerability has been resolved: media: davi...
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.
Scope: local
bookworm: resolved (fixed in 5.17.3-1)
bullseye: open
forky: resolved (fixed in 5.17.3-1)
sid: resol
GHSA
GHSA-9rg5-7j22-7fqw: In the Linux kernel, the following vulnerability has been resolved:
media: davinci: vpif: fix use-after-free on driver unbind
The driver allocates a
ghsa_unreviewed·2025-02-27
CVE-2021-47653 [HIGH] CWE-416 GHSA-9rg5-7j22-7fqw: In the Linux kernel, the following vulnerability has been resolved:
media: davinci: vpif: fix use-after-free on driver unbind
The driver allocates a
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.
OSV
CVE-2021-47653: In the Linux kernel, the following vulnerability has been resolved: media: davinci: vpif: fix use-after-free on driver unbind The driver allocates and
osv·2025-02-26·CVSS 7.8
CVE-2021-47653 [HIGH] CVE-2021-47653: In the Linux kernel, the following vulnerability has been resolved: media: davinci: vpif: fix use-after-free on driver unbind The driver allocates and
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.
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2025-02-26
Published