CVE-2022-50721 in Kernel products
In the Linux kernel, the following vulnerability has been resolved: dmaengine: qcom-adm: fix wrong calling convention for prep_slave_sg The calling convention for pre_slave_sg is to return NULL on error and provide an error log to the system. Qcom-adm instead provide error pointer when an error occur. This indirec...
Affects 1 product from 4 vendors. Facts below cite their sources.
Affected products and versions
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
In the Linux kernel, the following vulnerability has been resolved: dmaengine: qcom-adm: fix wrong calling convention for prep_slave_sg The calling convention for pre_slave_sg is to return NULL on error and provide an error log to the system. Qcom-adm instead provide error pointer when an error occur. This indirectly cause kernel panic for example for the nandc driver that checks only if the pointer returned by device_prep_slave_sg is not NULL. Returning an error pointer makes nandc think the device_prep_slave_sg function correctly completed and makes the kernel panics later in the code. While nandc is the one that makes the kernel crash, it was pointed out that the real problem is qcom-adm not following calling convention for that function. To fix this, drop returning error pointer and return NULL with an error log.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2022-50721 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-340982-I |
| Published | 2025-12-24 |
| Last modified | 2026-11-10 |
| Source | NVD |
Analysis AI-written, not human-reviewed
A vulnerability in the Linux kernel's dmaengine: qcom-adm module incorrectly handles error conditions by returning an error pointer instead of NULL, which can lead to kernel panics.
The vulnerability arises from the incorrect implementation of the prep_slave_sg function in the qcom-adm driver. This function is expected to return NULL on error and log the error, but instead returns an error pointer. This can cause the nandc driver and potentially other components to incorrectly handle the error, leading to a kernel panic.
Questions
What is CVE-2022-50721?
A vulnerability in the Linux kernel's dmaengine: qcom-adm module incorrectly handles error conditions by returning an error pointer instead of NULL, which can lead to kernel panics.
Is CVE-2022-50721 actively exploited?
No confirmed active exploitation of CVE-2022-50721 as of 2026-11-11.
How do I remediate CVE-2022-50721?
Priority: MEDIUM.
What systems are affected by CVE-2022-50721?
CVE-2022-50721 affects Kernel; Linux Linux; Panic; Think.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Kernel","product":"EDS-518A","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-11-10.