Linux Kernel Refcount Leak Vulnerability in ASoC Atmel WM8731 Driver

Vulnerability

A refcount leak vulnerability has been identified in the Linux kernel's ASoC Atmel WM8731 driver. The issue arises in the 'sam9x5_wm8731_driver_probe' function, where the device_node pointer, returned by 'of_parse_phandle()' with an incremented refcount, is not properly released using 'of_node_put()' in the error handling path. This oversight can lead to a memory leak by failing to decrement the reference count when the function encounters an error.

Impact

The vulnerability causes a memory refcount leak, which can lead to increased memory usage and potential exhaustion of system resources over time.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
0.0
exploitability
4.0
remediation
0.0
relevance
0.0
threat
3.2
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.