{"id":"CVE-2022-49032","aliases":["CVE-2022-49032"],"related":[],"kind":"vulnerability","state":"published","title":"iio: health: afe4404: Fix oob read in afe4404_[read|write]_raw","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\niio: health: afe4404: Fix oob read in afe4404_[read|write]_raw\n\nKASAN report out-of-bounds read as follows:\n\nBUG: KASAN: global-out-of-bounds in afe4404_read_raw+0x2ce/0x380\nRead of size 4 at addr ffffffffc00e4658 by task cat/278\n\nCall Trace:\n afe4404_read_raw\n iio_read_channel_info\n dev_attr_show\n\nThe buggy address belongs to the variable:\n afe4404_channel_leds+0x18/0xffffffffffffe9c0\n\nThis issue can be reproduce by singe command:\n\n $ cat /sys/bus/i2c/devices/0-0058/iio\\:device0/in_intensity6_raw\n\nThe array size of afe4404_channel_leds and afe4404_channel_offdacs\nare less than channels, so access with chan->address cause OOB read\nin afe4404_[read|write]_raw. Fix it by moving access before use them.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\niio: health: afe4404: Fix oob read in afe4404_[read|write]_raw\n\nKASAN report out-of-bounds read as follows:\n\nBUG: KASAN: global-out-of-bounds in afe4404_read_raw+0x2ce/0x380\nRead of size 4 at addr ffffffffc00e4658 by task cat/278\n\nCall Trace:\n afe4404_read_raw\n iio_read_channel_info\n dev_attr_show\n\nThe buggy address belongs to the variable:\n afe4404_channel_leds+0x18/0xffffffffffffe9c0\n\nThis issue can be reproduce by singe command:\n\n $ cat /sys/bus/i2c/devices/0-0058/iio\\:device0/in_intensity6_raw\n\nThe array size of afe4404_channel_leds and afe4404_channel_offdacs\nare less than channels, so access with chan->address cause OOB read\nin afe4404_[read|write]_raw. Fix it by moving access before use them.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: iio: health: afe4404: Se corrige la lectura oob en el informe de KASAN afe4404_[read|write]_raw de la siguiente manera: ERROR: KASAN: global-out-of-bounds en afe4404_read_raw+0x2ce/0x380 Lectura de tamaño 4 en la dirección ffffffffc00e4658 por la tarea cat/278 Rastreo de llamadas: afe4404_read_raw iio_read_channel_info dev_attr_show La dirección con errores pertenece a la variable: afe4404_channel_leds+0x18/0xffffffffffffe9c0 Este problema se puede reproducir con un solo comando: $ cat /sys/bus/i2c/devices/0-0058/iio\\:device0/in_intensity6_raw El tamaño de la matriz de afe4404_channel_leds y afe4404_channel_offdacs son menores que los canales, por lo que el acceso con chan-&gt;address provoca una lectura OOB en afe4404_[read|write]_raw. Solucione este problema moviendo el acceso antes de usarlos.","source":"nvd"}],"published":"2024-10-21T20:06:35.864Z","modified":"2026-06-17T05:16:53.730Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","score":7.1,"rating":"HIGH"}],"cwes":["CWE-125"],"affected":[{"ranges":[{"type":"git","introduced":"b36e8257641a043764c62240316610c81e36376c","fixed":"68de7da092f38395dde523f2e5db26eba6c23e28","status":"affected"},{"type":"git","introduced":"b36e8257641a043764c62240316610c81e36376c","fixed":"113c08030a89aaf406f8a1d4549d758a67c2afba","status":"affected"},{"type":"git","introduced":"b36e8257641a043764c62240316610c81e36376c","fixed":"f5575041ec15310bdc50c42b8b22118cc900226e","status":"affected"},{"type":"git","introduced":"b36e8257641a043764c62240316610c81e36376c","fixed":"3f566b626029ca8598d48e5074e56bb37399ca1b","status":"affected"},{"type":"git","introduced":"b36e8257641a043764c62240316610c81e36376c","fixed":"5eb114f55b37dbc0487aa9c1913b81bb7837f1c4","status":"affected"},{"type":"git","introduced":"b36e8257641a043764c62240316610c81e36376c","fixed":"f7419fc42afc035f6b29ce713e17dcd2000c833f","status":"affected"},{"type":"git","introduced":"b36e8257641a043764c62240316610c81e36376c","fixed":"d45d9f45e7b1365fd0d9bf14680d6d5082a590d1","status":"affected"},{"type":"git","introduced":"b36e8257641a043764c62240316610c81e36376c","fixed":"fc92d9e3de0b2d30a3ccc08048a5fad533e4672b","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.8","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.8","status":"unaffected"},{"type":"semver","introduced":"4.9.335","lastAffected":"4.9.*","status":"unaffected"},{"type":"semver","introduced":"4.14.301","lastAffected":"4.14.*","status":"unaffected"},{"type":"semver","introduced":"4.19.268","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.226","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.158","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.82","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.0.12","lastAffected":"6.0.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.8","fixed":"4.9.335"},{"status":"affected","introduced":"4.10","fixed":"4.14.301"},{"status":"affected","introduced":"4.15","fixed":"4.19.268"},{"status":"affected","introduced":"4.20","fixed":"5.4.226"},{"status":"affected","introduced":"5.5","fixed":"5.10.158"},{"status":"affected","introduced":"5.11","fixed":"5.15.82"},{"status":"affected","introduced":"5.16","fixed":"6.0.12"},{"status":"affected","version":"6.1"},{"status":"affected","version":"6.1"},{"status":"affected","version":"6.1"},{"status":"affected","version":"6.1"},{"status":"affected","version":"6.1"},{"status":"affected","version":"6.1"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/68de7da092f38395dde523f2e5db26eba6c23e28","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/113c08030a89aaf406f8a1d4549d758a67c2afba","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f5575041ec15310bdc50c42b8b22118cc900226e","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3f566b626029ca8598d48e5074e56bb37399ca1b","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5eb114f55b37dbc0487aa9c1913b81bb7837f1c4","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f7419fc42afc035f6b29ce713e17dcd2000c833f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d45d9f45e7b1365fd0d9bf14680d6d5082a590d1","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fc92d9e3de0b2d30a3ccc08048a5fad533e4672b","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-10-22T13:11:06.095Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-49032","url":"https://www.cve.org/CVERecord?id=CVE-2022-49032","licence":"CVE Terms of Use","modified":"2026-05-11T18:51:53.331Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-49032","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49032","licence":"Public domain","modified":"2026-06-17T05:16:53.730Z"}],"updatedAt":"2026-11-25T22:58:20.043Z","epss":{"score":0.00244,"percentile":0.16775,"date":"2026-12-01T12:00:22.000Z"}}