VYPR
Unrated severityNVD Advisory· Published Dec 30, 2025· Updated Apr 15, 2026

CVE-2022-50836

CVE-2022-50836

Description

In the Linux kernel, the following vulnerability has been resolved:

remoteproc: sysmon: fix memory leak in qcom_add_sysmon_subdev()

The kfree() should be called when of_irq_get_byname() fails or devm_request_threaded_irq() fails in qcom_add_sysmon_subdev(), otherwise there will be a memory leak, so add kfree() to fix it.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

A memory leak in the Linux kernel's remoteproc sysmon driver occurs when interrupt setup fails, potentially leading to resource exhaustion.

Vulnerability

In the Linux kernel's remoteproc subsystem, the qcom_add_sysmon_subdev() function in the sysmon driver contains a memory leak. When of_irq_get_byname() or devm_request_threaded_irq() fails, the allocated memory for the sysmon subdevice is not freed, causing a leak [1][2][3].

Exploitation

An attacker with the ability to trigger a failure in interrupt registration (e.g., by manipulating device tree entries or exhausting IRQ resources) could repeatedly trigger this code path. No special privileges are required beyond the ability to cause the probe to fail, which may be achievable through local access to the device tree or through hotplug events.

Impact

Repeated exploitation leads to kernel memory exhaustion, potentially causing denial of service (system instability or crash). There is no evidence of code execution or privilege escalation from this bug.

Mitigation

The fix adds a kfree() call before returning on error, which has been backported to stable kernels [1][2][3]. Users should apply the latest kernel updates from their distribution.

AI Insight generated on May 19, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected products

1

Patches

6

Vulnerability mechanics

Generated on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.

References

6

News mentions

0

No linked articles in our index yet.