{"id":"CVE-2021-47172","published":"2024-03-25T09:16:23Z","modified":"2026-05-23T15:19:26Z","title":"iio: adc: ad7124: Fix potential overflow due to non sequential channel numbers","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00225,"percentile":0.07827,"provenance":"source"},"cwes":[{"id":"CWE-120","name":"Buffer Copy without Checking Size of Input"}],"references":[{"url":"https://git.kernel.org/stable/c/f49149964d2423fb618fb6b755bb1eaa431cca2c","tags":[]},{"url":"https://git.kernel.org/stable/c/f70122825076117787b91e7f219e21c09f11a5b9","tags":[]},{"url":"https://git.kernel.org/stable/c/26da8040eccc6c6b0e415e9a3baf72fd39eb2fdc","tags":[]},{"url":"https://git.kernel.org/stable/c/f2a772c51206b0c3f262e4f6a3812c89a650191b","tags":[]}],"priority":{"score":5.4,"factors":[{"name":"EPSS percentile","points":1.57},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 5408cbc6337300d6f1a87c797273c535ed96305a, < f49149964d2423fb618fb6b755bb1eaa431cca2c",">= d7857e4ee1ba69732b16c73b2f2dde83ecd78ee4, < f70122825076117787b91e7f219e21c09f11a5b9",">= d7857e4ee1ba69732b16c73b2f2dde83ecd78ee4, < 26da8040eccc6c6b0e415e9a3baf72fd39eb2fdc",">= d7857e4ee1ba69732b16c73b2f2dde83ecd78ee4, < f2a772c51206b0c3f262e4f6a3812c89a650191b",">= 5.4.14, < 5.4.124"]},{"vendor":"Linux","product":"Linux","versions":["5.5"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-07-17T17:18:44.850824Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2021-33820","exploited":false,"provenance":"source"}}