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

CVE-2021-47172

MEDIUM 5.5EPSS 8%

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

Mitigation

  • Upgrade Linux to 5.4.124 or later.

Who should check

  • Anyone running Linux >= 5408cbc6337300d6f1a87c797273c535ed96305a, < f49149964d2423fb618fb6b755bb1eaa431cca2c; >= d7857e4ee1ba69732b16c73b2f2dde83ecd78ee4, < f70122825076117787b91e7f219e21c09f11a5b9; >= d7857e4ee1ba69732b16c73b2f2dde83ecd78ee4, < 26da8040eccc6c6b0e415e9a3baf72fd39eb2fdc; >= d7857e4ee1ba69732b16c73b2f2dde83ecd78ee4, < f2a772c51206b0c3f262e4f6a3812c89a650191b; >= 5.4.14, < 5.4.124
  • Anyone running Linux 5.5

Vulnerability facts

Affected
Linux >= 5408cbc6337300d6f1a87c797273c535ed96305a, < f49149964d2423fb618fb6b755bb1eaa431cca2c; >= d7857e4ee1ba69732b16c73b2f2dde83ecd78ee4, < f70122825076117787b91e7f219e21c09f11a5b9; >= d7857e4ee1ba69732b16c73b2f2dde83ecd78ee4, < 26da8040eccc6c6b0e415e9a3baf72fd39eb2fdc; >= d7857e4ee1ba69732b16c73b2f2dde83ecd78ee4, < f2a772c51206b0c3f262e4f6a3812c89a650191b; >= 5.4.14, < 5.4.124; Linux 5.5
Fixed in
Linux 26da8040eccc6c6b0e415e9a3baf72fd39eb2fdc, Linux 5.4.124
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
5.5 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
EPSS
0.22% chance of exploitation in 30 days (percentile 8, 2026-11-26)
CWE
CWE-120
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: iio: adc: ad7124: Fix potential overflow due to non sequential channel numbers Channel numbering must start at 0 and then not have any holes, or it is possible to overflow the available storage. Note this bug was introduced as part of a fix to ensure we didn't rely on the ordering of child nodes. So we need to support arbitrary ordering but they all need to be there somewhere. Note I hit this when using qemu to test the rest of this series. Arguably this isn't the best fix, but it is probably the most minimal option for backporting etc. Alexandru's sign-off is here because he carried this patch in a larger set that Jonathan then applied.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 5408cbc6337300d6f1a87c797273c535ed96305a, < f49149964d2423fb618fb6b755bb1eaa431cca2c; >= d7857e4ee1ba69732b16c73b2f2dde83ecd78ee4, < f70122825076117787b91e7f219e21c09f11a5b9; >= d7857e4ee1ba69732b16c73b2f2dde83ecd78ee4, < 26da8040eccc6c6b0e415e9a3baf72fd39eb2fdc; >= d7857e4ee1ba69732b16c73b2f2dde83ecd78ee4, < f2a772c51206b0c3f262e4f6a3812c89a650191b; >= 5.4.14, < 5.4.124—cvelist
Linux5.5—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-2021-47172. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2021-47172.md
Affected: Linux >= 5408cbc6337300d6f1a87c797273c535ed96305a, < f49149964d2423fb618fb6b755bb1eaa431cca2c; >= d7857e4ee1ba69732b16c73b2f2dde83ecd78ee4, < f70122825076117787b91e7f219e21c09f11a5b9; >= d7857e4ee1ba69732b16c73b2f2dde83ecd78ee4, < 26da8040eccc6c6b0e415e9a3baf72fd39eb2fdc; >= d7857e4ee1ba69732b16c73…
Fixed in: Linux 26da8040eccc6c6b0e415e9a3baf72fd39eb2fdc, Linux 5.4.124

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-2021-47172 being exploited?

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

How serious is CVE-2021-47172?

Medium: CVSS 5.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2021-47172?

Linux >= 5408cbc6337300d6f1a87c797273c535ed96305a, < f49149964d2423fb618fb6b755bb1eaa431cca2c; >= d7857e4ee1ba69732b16c73b2f2dde83ecd78ee4, < f70122825076117787b91e7f219e21c09f11a5b9; >= d7857e4ee1ba69732b16c73b2f2dde83ecd78ee4, < 26da8040eccc6c6b0e415e9a3baf72fd39eb2fdc; >= d7857e4ee1ba69732b16c73b2f2dde83ecd78ee4, < f2a772c51206b0c3f262e4f6a3812c89a650191b; >= 5.4.14, < 5.4.124; Linux 5.5.

Is there a fix for CVE-2021-47172?

Yes. Fixed in Linux 26da8040eccc6c6b0e415e9a3baf72fd39eb2fdc, Linux 5.4.124. Upgrade Linux to 5.4.124 or later.

How do I check if I'm affected by CVE-2021-47172?

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