CVE-2022-50836 remoteproc: sysmon: fix memory leak in qcom_add_sysmon_subdev()

Not scored Published Updated

A memory leak in the Linux kernel's remoteproc sysmon driver can lead to resource exhaustion and denial of service.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Not stated
Victim action needed
Not needed
Fix
Available

What is CVE-2022-50836?

CVE-2022-50836 is a memory corruption vulnerability in Linux, published on 30 Dec 2025.

Official 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.

Which versions are affected by CVE-2022-50836?

How do I fix CVE-2022-50836?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2022-50836 being exploited?

There is no known exploitation of CVE-2022-50836 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2022-50836, GHSA-c5c5-86g3-j5v4, UBUNTU-CVE-2022-50836.

Is CVE-2022-50836 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free