CVE-2022-49240
Linux Debian vulnerability analysis and mitigation

Overview

CVE-2022-49240 is a vulnerability in the Linux kernel affecting the ASoC (ALSA System on Chip) MediaTek MT8195 sound driver. The vulnerability was discovered in the mt8195mt6359rt1019rt5682devprobe function, where a reference count leak occurs due to improper error handling of device node pointers returned by ofparse_phandle(). The issue was publicly disclosed and documented on February 26, 2025 (NVD).

Technical details

The vulnerability stems from improper reference counting in the Linux kernel's sound driver for MediaTek MT8195. Specifically, when the ofparsephandle() function returns a devicenode pointer, it increments the reference count. The original code only called ofnode_put() in the regular execution path but failed to properly handle the reference count in error paths, leading to a potential reference count leak (Kernel Commit).

Impact

The reference count leak in the kernel's sound driver could potentially lead to memory resource exhaustion over time, though the practical impact is limited due to the nature of the vulnerability being in a specific hardware driver's error path.

Mitigation and workarounds

The vulnerability has been patched in the Linux kernel through a fix that properly handles the device node reference counting in both regular and error paths. The fix involves adding appropriate ofnodeput() calls in the error handling path of the mt8195mt6359rt1019rt5682dev_probe function (Kernel Fix).

Additional resources


SourceThis report was generated using AI

Related Linux Debian vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-67726HIGH7.5
  • Linux DebianLinux Debian
  • python-tornado
NoNoDec 12, 2025
CVE-2025-67725HIGH7.5
  • Linux DebianLinux Debian
  • python-tornado
NoNoDec 12, 2025
CVE-2025-67724MEDIUM5.4
  • Linux DebianLinux Debian
  • python-tornado
NoNoDec 12, 2025
CVE-2025-64702MEDIUM5.3
  • SyncthingSyncthing
  • buf
NoYesDec 11, 2025
CVE-2025-40345N/AN/A
  • Linux DebianLinux Debian
  • linux
NoYesDec 12, 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