CVE-2021-47653
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2021-47653 is a use-after-free vulnerability discovered in the Linux kernel's DaVinci VPIF (Video Port Interface) driver. The vulnerability was disclosed on February 26, 2025, and affects the media subsystem of the Linux kernel. The issue occurs during driver unbind operations where platform device structures were not properly deregistered (NVD).

Technical details

The vulnerability stems from a flaw in the DaVinci VPIF driver where two platform device structures allocated during probe were never deregistered on driver unbind. This results in a use-after-free condition when the device structures, which were allocated using devres, are freed by the driver core when remove() returns. The issue has been assigned a CVSS v3.1 Base Score of 7.8 (HIGH) with vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (NVD).

Impact

The use-after-free vulnerability could potentially lead to memory corruption, system crashes, or privilege escalation in affected Linux systems. The vulnerability requires local access to exploit and could result in high impacts on confidentiality, integrity, and availability of the system (NVD).

Mitigation and workarounds

The vulnerability has been fixed by adding missing deregistration calls to the remove() callback and implementing proper error handling during probe registration. The fix includes adding a proper release callback to avoid leaking associated resources like device names. The patch has been merged into the Linux kernel (Kernel Commit).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-40343MEDIUM6.4
  • Linux KernelLinux Kernel
  • linux-aws-fips
NoYesDec 09, 2025
CVE-2025-40342MEDIUM6.4
  • Linux KernelLinux Kernel
  • linux-azure-5.4
NoYesDec 09, 2025
CVE-2025-40341MEDIUM5.1
  • Linux KernelLinux Kernel
  • libperf-devel
NoYesDec 09, 2025
CVE-2025-40345N/AN/A
  • Linux KernelLinux Kernel
  • kernel-firmware
NoYesDec 12, 2025
CVE-2025-40344N/AN/A
  • Linux KernelLinux Kernel
  • linux-riscv
NoYesDec 09, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management