{"id":"CVE-2025-39786","aliases":["CVE-2025-39786"],"related":[],"kind":"vulnerability","state":"published","title":"iio: adc: ad7173: fix channels index for syscalib_mode","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\niio: adc: ad7173: fix channels index for syscalib_mode\n\nFix the index used to look up the channel when accessing the\nsyscalib_mode attribute. The address field is a 0-based index (same\nas scan_index) that it used to access the channel in the\nad7173_channels array throughout the driver. The channels field, on\nthe other hand, may not match the address field depending on the\nchannel configuration specified in the device tree and could result\nin an out-of-bounds access.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\niio: adc: ad7173: fix channels index for syscalib_mode\n\nFix the index used to look up the channel when accessing the\nsyscalib_mode attribute. The address field is a 0-based index (same\nas scan_index) that it used to access the channel in the\nad7173_channels array throughout the driver. The channels field, on\nthe other hand, may not match the address field depending on the\nchannel configuration specified in the device tree and could result\nin an out-of-bounds access.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\niio: adc: ad7173: corregir el índice de canales para syscalib_mode\n\nCorregir el índice utilizado para buscar el canal al acceder al atributo syscalib_mode. El campo de dirección es un índice basado en 0 (igual que scan_index) que se utiliza para acceder al canal en el array ad7173_channels en todo el controlador. El campo de canales, por otro lado, puede no coincidir con el campo de dirección dependiendo de la configuración del canal especificada en el árbol de dispositivos y podría resultar en un acceso fuera de límites.","source":"nvd"}],"published":"2025-09-11T16:56:35.706Z","modified":"2026-10-19T21:10:00.160Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"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":"031bdc8aee01b7b298159eee541844d8bff4467d","fixed":"2def1a8691eb43654da0ae0d2fdb3722e20262a5","status":"affected"},{"type":"git","introduced":"031bdc8aee01b7b298159eee541844d8bff4467d","fixed":"0eb8d7b25397330beab8ee62c681975b79f37223","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.14","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.14","status":"unaffected"},{"type":"semver","introduced":"6.16.4","lastAffected":"6.16.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.17","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":"6.14","fixed":"6.16.4"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/2def1a8691eb43654da0ae0d2fdb3722e20262a5","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0eb8d7b25397330beab8ee62c681975b79f37223","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-39786","url":"https://www.cve.org/CVERecord?id=CVE-2025-39786","licence":"CVE Terms of Use","modified":"2026-08-05T12:05:07.581Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-39786","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-39786","licence":"Public domain","modified":"2026-10-19T21:10:00.160Z"}],"updatedAt":"2026-11-25T22:59:04.566Z","epss":{"score":0.00146,"percentile":0.04052,"date":"2026-12-01T12:00:22.000Z"}}