Linux Kernel Remoteproc Memory Leak Vulnerability in Qcom Sysmon Subdevice

Vulnerability

A memory leak vulnerability has been identified in the Linux kernel's remoteproc subsystem, specifically within the Qcom Sysmon subdevice management. The issue arises in the 'qcom_add_sysmon_subdev()' function, where the 'kfree()' function is not called to free memory when 'of_irq_get_byname()' or 'devm_request_threaded_irq()' fail. This oversight leads to a memory leak. The vulnerability affects the Linux kernel stable tree.

Impact

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

Reproduction

The vulnerability can be reproduced by adding a Qcom Sysmon subdevice through the 'qcom_add_sysmon_subdev()' function in the remoteproc subsystem. If the function fails to retrieve the shutdown-ack IRQ, the allocated memory for the Sysmon structure is not properly freed, causing a memory leak. This can be observed by monitoring the system's memory usage before and after the function call.

Remediation

The vulnerability has been addressed by modifying the 'qcom_add_sysmon_subdev()' function to include calls to 'kfree()' when 'of_irq_get_byname()' or 'devm_request_threaded_irq()' fail. Users can apply the latest patches available in the Linux kernel stable tree to remediate this vulnerability.

Added: Dec 30, 2025, 5:35 PM
Updated: Dec 30, 2025, 5:35 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
0.6
exploitability
5.7
remediation
7.7
relevance
1.8
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.