Linux Kernel Refcount Leak Vulnerability in ASoC Mediatek MT8183 Driver

Vulnerability

A refcount leak vulnerability has been identified in the Linux kernel's ASoC Mediatek MT8183 driver, specifically within the 'mt8183_mt6358_ts3a227_max98357_dev_probe' function. The issue arises because the 'of_parse_phandle' function increments the reference count of the returned node, but the corresponding 'of_node_put' function is not called in all error paths, leading to a memory leak. This vulnerability affects the Linux kernel stable tree.

Impact

Exploitation of this vulnerability can lead to a memory leak, where reference counts are not properly managed, potentially causing increased memory usage over time.

Reproduction

The vulnerability can be reproduced by loading the ASoC Mediatek MT8183 machine driver with TS3A227 support. The 'mt8183_mt6358_ts3a227_max98357_dev_probe' function will be called during the device probe process. If the function encounters an error, the reference count for the platform node or codec nodes may not be properly decremented, leading to a refcount leak.

Remediation

The vulnerability has been addressed in the Linux kernel. Users should upgrade to the latest version where this issue has been fixed.

Added: Sep 18, 2025, 3:44 PM
Updated: Sep 18, 2025, 3:44 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
0.6
exploitability
4.3
remediation
7.7
relevance
0.5
threat
4.8
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.