CVE-2022-49887
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2022-49887 is a vulnerability discovered in the Linux kernel's media: meson: vdec component, specifically related to a potential refcount leak in the vdec_probe() function. The vulnerability was published on May 1, 2025, and affects multiple versions of the Linux kernel from version 5.4 through 6.1-rc1 (NVD).

Technical details

The vulnerability stems from improper reference counting in the video decoder (vdec) probe function. When v4l2deviceregister is called during probe initialization, the obtained reference count needs to be properly released by calling v4l2deviceunregister in error paths or during device removal. The vulnerability has been assigned a CVSS v3.1 Base Score of 5.5 (MEDIUM) with the vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

The vulnerability can result in a refcount leak if the vdec_probe function fails or during device removal operations. This may lead to resource leaks in the kernel's memory management, potentially affecting system stability (Wiz).

Mitigation and workarounds

The vulnerability has been resolved by ensuring proper reference count management through calling v4l2deviceunregister in the appropriate error handling paths and during device removal. Fixed versions are available for various Linux distributions, including Debian Bullseye (5.10.234-1), Bookworm (6.1.135-1), and Trixie (6.12.25-1) (Debian).

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-40205HIGH7.8
  • Linux KernelLinux Kernel
  • linux-gcp-5.4
NoYesNov 12, 2025
CVE-2025-40211HIGH7.1
  • Linux KernelLinux Kernel
  • linux-gcp-6.8
NoYesNov 21, 2025
CVE-2025-40206MEDIUM5.5
  • Linux KernelLinux Kernel
  • kernel-zfcpdump-modules-extra
NoYesNov 12, 2025
CVE-2025-40210MEDIUM5.1
  • Linux KernelLinux Kernel
  • kernel-rt-64k-modules
NoYesNov 21, 2025
CVE-2025-40212N/AN/A
  • Linux KernelLinux Kernel
  • linux-azure-6.14
NoYesNov 24, 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