{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-47172","id":"CVE-2021-47172","title":"iio: adc: ad7124: Fix potential overflow due to non sequential channel numbers","description":"In the Linux kernel, the following vulnerability has been resolved:\n\niio: adc: ad7124: Fix potential overflow due to non sequential channel numbers\n\nChannel numbering must start at 0 and then not have any holes, or\nit is possible to overflow the available storage.  Note this bug was\nintroduced as part of a fix to ensure we didn't rely on the ordering\nof child nodes.  So we need to support arbitrar","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\niio: adc: ad7124: Fix potential overflow due to non sequential channel numbers\n\nChannel numbering must start at 0 and then not have any holes, or\nit is possible to overflow the available storage.  Note this bug was\nintroduced as part of a fix to ensure we didn't rely on the ordering\nof child nodes.  So we need to support arbitrary ordering but they all\nneed to be there somewhere.\n\nNote I hit this when using qemu to test the rest of this series.\nArguably this isn't the best fix, but it is probably the most minimal\noption for backporting etc.\n\nAlexandru's sign-off is here because he carried this patch in a larger\nset that Jonathan then applied.","published":"2024-03-25T09:16:23.741Z","updated":"2026-06-17T04:16:49.700Z","reserved":"2024-03-25T09:12:14.111Z","status":"Analyzed","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"CISA-ADP"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"CISA-ADP"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"OSV"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"5408cbc6337300d6f1a87c797273c535ed96305a","lessThan":"f49149964d2423fb618fb6b755bb1eaa431cca2c","status":"affected","versionType":"git"},{"version":"d7857e4ee1ba69732b16c73b2f2dde83ecd78ee4","lessThan":"f70122825076117787b91e7f219e21c09f11a5b9","status":"affected","versionType":"git"},{"version":"d7857e4ee1ba69732b16c73b2f2dde83ecd78ee4","lessThan":"26da8040eccc6c6b0e415e9a3baf72fd39eb2fdc","status":"affected","versionType":"git"},{"version":"d7857e4ee1ba69732b16c73b2f2dde83ecd78ee4","lessThan":"f2a772c51206b0c3f262e4f6a3812c89a650191b","status":"affected","versionType":"git"},{"version":"5.4.14","lessThan":"5.4.124","status":"affected","versionType":"semver"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.5","status":"affected"},{"version":"0","lessThan":"5.5","status":"unaffected","versionType":"semver"},{"version":"5.4.124","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.42","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.12.9","lessThanOrEqual":"5.12.*","status":"unaffected","versionType":"semver"},{"version":"5.13","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-120"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/f49149964d2423fb618fb6b755bb1eaa431cca2c","tags":["x_transferred","Patch","fix"]},{"url":"https://git.kernel.org/stable/c/f70122825076117787b91e7f219e21c09f11a5b9","tags":["x_transferred","Patch","fix"]},{"url":"https://git.kernel.org/stable/c/26da8040eccc6c6b0e415e9a3baf72fd39eb2fdc","tags":["x_transferred","Patch","fix"]},{"url":"https://git.kernel.org/stable/c/f2a772c51206b0c3f262e4f6a3812c89a650191b","tags":["x_transferred","Patch","fix"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00225,"epssPercentile":0.13324,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-47172","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-47172","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-47172","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-47172","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}