# iio: adc: ad7124: Fix potential overflow due to non sequential channel numbers

CVE record · `CVE-2021-47172`

- **Identifiers:** `CVE-2021-47172`
- **State:** Confirmed
- **Severity:** CVSS 5.5 Medium
- **Critical:** No
- **CNA:** Linux
- **Weakness (CWE):** [CWE-120](https://cwe.mitre.org/data/definitions/120.html)
- **Tags:** [Memory corruption](https://agentprime.io/advisories/tag/memory-corruption.md)
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 25 Mar 2024
- **Updated:** 23 May 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 25 Mar 2024, 09:16 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `5408cbc6337300d6f1a87c797273c535ed96305a to before f49149964d2423fb618fb6b755bb1eaa431cca2c` (git)
  - affected: `d7857e4ee1ba69732b16c73b2f2dde83ecd78ee4 to before f70122825076117787b91e7f219e21c09f11a5b9` (git)
  - affected: `d7857e4ee1ba69732b16c73b2f2dde83ecd78ee4 to before 26da8040eccc6c6b0e415e9a3baf72fd39eb2fdc` (git)
  - affected: `d7857e4ee1ba69732b16c73b2f2dde83ecd78ee4 to before f2a772c51206b0c3f262e4f6a3812c89a650191b` (git)
  - affected: `5.4.14 to before 5.4.124` (semver)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `5.5`
  - unaffected: `before 5.5` (semver)
  - unaffected: `5.4.124 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.42 to 5.10.*, inclusive` (semver)
  - unaffected: `5.12.9 to 5.12.*, inclusive` (semver)
  - unaffected: `5.13 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

- 5.5 Medium, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`, from ADP (CISA-ADP)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0022, the 13th percentile, on 21 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the CVE Program, published 25 Mar 2024. New records show when each source confirmed them.

## Sources

- [CVE List: CVE-2021-47172](https://www.cve.org/CVERecord?id=CVE-2021-47172)
- [NVD: CVE-2021-47172](https://nvd.nist.gov/vuln/detail/CVE-2021-47172)

### References from the CNA

- <https://git.kernel.org/stable/c/f49149964d2423fb618fb6b755bb1eaa431cca2c>
- <https://git.kernel.org/stable/c/f70122825076117787b91e7f219e21c09f11a5b9>
- <https://git.kernel.org/stable/c/26da8040eccc6c6b0e415e9a3baf72fd39eb2fdc>
- <https://git.kernel.org/stable/c/f2a772c51206b0c3f262e4f6a3812c89a650191b>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2021-47172>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2021-47172/>. Everything for agents: <https://agentprime.io/llms.txt>.
