CVE-2021-47172: iio: adc: ad7124: Fix potential overflow due to non sequential channel numbers
Vulnerability summary
CVE-2021-47172 is a medium (CVSS 5.5) vulnerability in linux. EPSS estimates a 0.22% chance of exploitation in the next 30 days, higher than 13.2% of scored vulnerabilities.
Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 3 · Related 3Timeline
- 25-03-2024PublishedVulnerability first disclosed.
- 23-05-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 4 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- NVDNIST5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.22%
Chance of exploitation in the next 30 days
Percentile
13%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.22% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu82 products
- linux< 5.4.0-80.90
- linux-allwinner-5.19All versions (No fix recorded)
- linux-aws< 5.4.0-1054.57
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ 5408cbc6337300d6f1a87c797273c535ed96305a, < f49149964d2423fb618fb6b755bb1eaa431cca2c | ≥ d7857e4ee1ba69732b16c73b2f2dde83ecd78ee4, < f70122825076117787b91e7f219e21c09f11a5b9 | ≥ d7857e4ee1ba69732b16c73b2f2dde83ecd78ee4, < 26da8040eccc6c6b0e415e9a3baf72fd39eb2fdc | ≥ d7857e4ee1ba69732b16c73b2f2dde83ecd78ee4, < f2a772c51206b0c3f262e4f6a3812c89a650191b | ≥ 5.4.14, < 5.4.124 | 5.5
- linux_kernel≥ 5.4.14, < 5.4.124 | ≥ 5.5, < 5.10.42 | ≥ 5.11, < 5.12.9 | 5.13:rc1 | 5.13:rc2 | 5.13:rc3
Debian1 product
- linux< 5.14.6-1
3 vendors · 85 products