Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2022-50721

UNSCOREDEPSS 13%

dmaengine: qcom-adm: fix wrong calling convention for prep_slave_sg

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= 5c9f8c2dbdbe53818bcde6aa6695e1331e5f841f, < 5653bd0200944e5803fa8e32dc36aa49931312f9; >= 5c9f8c2dbdbe53818bcde6aa6695e1331e5f841f, < 9a041174c58a226e713f6cebd41eccec7a5cfa72; >= 5c9f8c2dbdbe53818bcde6aa6695e1331e5f841f, < b9d2140c3badf4107973ad77c5a0ec3075705c85
  • Anyone running Linux 5.11

Vulnerability facts

Affected
Linux >= 5c9f8c2dbdbe53818bcde6aa6695e1331e5f841f, < 5653bd0200944e5803fa8e32dc36aa49931312f9; >= 5c9f8c2dbdbe53818bcde6aa6695e1331e5f841f, < 9a041174c58a226e713f6cebd41eccec7a5cfa72; >= 5c9f8c2dbdbe53818bcde6aa6695e1331e5f841f, < b9d2140c3badf4107973ad77c5a0ec3075705c85; Linux 5.11
Fixed in
Linux 5653bd0200944e5803fa8e32dc36aa49931312f9, Linux 9a041174c58a226e713f6cebd41eccec7a5cfa72
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Unknown
CVSS
Not scored yet
EPSS
0.27% chance of exploitation in 30 days (percentile 13, 2026-11-26)
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 5c9f8c2dbdbe53818bcde6aa6695e1331e5f841f, < 5653bd0200944e5803fa8e32dc36aa49931312f9; >= 5c9f8c2dbdbe53818bcde6aa6695e1331e5f841f, < 9a041174c58a226e713f6cebd41eccec7a5cfa72; >= 5c9f8c2dbdbe53818bcde6aa6695e1331e5f841f, < b9d2140c3badf4107973ad77c5a0ec3075705c85—cvelist
Linux5.11—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2022-50721. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-50721.md
Affected: Linux >= 5c9f8c2dbdbe53818bcde6aa6695e1331e5f841f, < 5653bd0200944e5803fa8e32dc36aa49931312f9; >= 5c9f8c2dbdbe53818bcde6aa6695e1331e5f841f, < 9a041174c58a226e713f6cebd41eccec7a5cfa72; >= 5c9f8c2dbdbe53818bcde6aa6695e1331e5f841f, < b9d2140c3badf4107973ad77c5a0ec3075705c85; Linux 5.11
Fixed in: Linux 5653bd0200944e5803fa8e32dc36aa49931312f9, Linux 9a041174c58a226e713f6cebd41eccec7a5cfa72

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2022-50721 being exploited?

There is no confirmed exploitation: CVE-2022-50721 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.27% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2022-50721?

It has no CVSS score yet. Unknown.

Which versions are affected by CVE-2022-50721?

Linux >= 5c9f8c2dbdbe53818bcde6aa6695e1331e5f841f, < 5653bd0200944e5803fa8e32dc36aa49931312f9; >= 5c9f8c2dbdbe53818bcde6aa6695e1331e5f841f, < 9a041174c58a226e713f6cebd41eccec7a5cfa72; >= 5c9f8c2dbdbe53818bcde6aa6695e1331e5f841f, < b9d2140c3badf4107973ad77c5a0ec3075705c85; Linux 5.11.

Is there a fix for CVE-2022-50721?

Yes. Fixed in Linux 5653bd0200944e5803fa8e32dc36aa49931312f9, Linux 9a041174c58a226e713f6cebd41eccec7a5cfa72. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by CVE-2022-50721?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors