{"id":"CVE-2024-50198","aliases":["CVE-2024-50198"],"related":[],"kind":"vulnerability","state":"published","title":"iio: light: veml6030: fix IIO device retrieval from embedded device","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\niio: light: veml6030: fix IIO device retrieval from embedded device\n\nThe dev pointer that is received as an argument in the\nin_illuminance_period_available_show function references the device\nembedded in the IIO device, not in the i2c client.\n\ndev_to_iio_dev() must be used to accessthe right data. The current\nimplementation leads to a segmentation fault on every attempt to read\nthe attribute because indio_dev gets a NULL assignment.\n\nThis bug has been present since the first appearance of the driver,\napparently since the last version (V6) before getting applied. A\nconstant attribute was used until then, and the last modifications might\nhave not been tested again.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\niio: light: veml6030: fix IIO device retrieval from embedded device\n\nThe dev pointer that is received as an argument in the\nin_illuminance_period_available_show function references the device\nembedded in the IIO device, not in the i2c client.\n\ndev_to_iio_dev() must be used to accessthe right data. The current\nimplementation leads to a segmentation fault on every attempt to read\nthe attribute because indio_dev gets a NULL assignment.\n\nThis bug has been present since the first appearance of the driver,\napparently since the last version (V6) before getting applied. A\nconstant attribute was used until then, and the last modifications might\nhave not been tested again.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: iio: light: veml6030: fix IIO device retrieval from built-in device El puntero dev que se recibe como argumento en la función in_illuminance_period_available_show hace referencia al dispositivo integrado en el dispositivo IIO, no en el cliente i2c. Se debe utilizar dev_to_iio_dev() para acceder a los datos correctos. La implementación actual genera un error de segmentación en cada intento de leer el atributo porque indio_dev obtiene una asignación NULL. Este error ha estado presente desde la primera aparición del controlador, aparentemente desde la última versión (V6) antes de aplicarse. Hasta entonces se utilizaba un atributo constante y es posible que no se hayan vuelto a probar las últimas modificaciones.","source":"nvd"}],"published":"2024-11-08T05:54:12.450Z","modified":"2026-06-17T08:03:51.120Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"7b779f573c48e1ad6da1d6ea5f181f3ecd666bf6","fixed":"bf3ab8e1c28f10df0823d4ff312f83c952b06a15","status":"affected"},{"type":"git","introduced":"7b779f573c48e1ad6da1d6ea5f181f3ecd666bf6","fixed":"50039aec43a82ad2495f2d0fb0c289c8717b4bb2","status":"affected"},{"type":"git","introduced":"7b779f573c48e1ad6da1d6ea5f181f3ecd666bf6","fixed":"bcb90518ccd9e10bf6ab29e31994aab93e4a4361","status":"affected"},{"type":"git","introduced":"7b779f573c48e1ad6da1d6ea5f181f3ecd666bf6","fixed":"2cbb41abae65626736b8b52cf3b9339612c5a86a","status":"affected"},{"type":"git","introduced":"7b779f573c48e1ad6da1d6ea5f181f3ecd666bf6","fixed":"905166531831beb067fffe2bdfc98031ffe89087","status":"affected"},{"type":"git","introduced":"7b779f573c48e1ad6da1d6ea5f181f3ecd666bf6","fixed":"c7c44e57750c31de43906d97813273fdffcf7d02","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.5","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.5","status":"unaffected"},{"type":"semver","introduced":"5.10.228","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.169","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.114","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.58","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.11.5","lastAffected":"6.11.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.12","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":"5.5","fixed":"5.10.228"},{"status":"affected","introduced":"5.11","fixed":"5.15.169"},{"status":"affected","introduced":"5.16","fixed":"6.1.114"},{"status":"affected","introduced":"6.2","fixed":"6.6.58"},{"status":"affected","introduced":"6.7","fixed":"6.11.5"},{"status":"affected","version":"6.12"},{"status":"affected","version":"6.12"},{"status":"affected","version":"6.12"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/bf3ab8e1c28f10df0823d4ff312f83c952b06a15","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/50039aec43a82ad2495f2d0fb0c289c8717b4bb2","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bcb90518ccd9e10bf6ab29e31994aab93e4a4361","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2cbb41abae65626736b8b52cf3b9339612c5a86a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/905166531831beb067fffe2bdfc98031ffe89087","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c7c44e57750c31de43906d97813273fdffcf7d02","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-10-01T20:17:52.950Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-50198","url":"https://www.cve.org/CVERecord?id=CVE-2024-50198","licence":"CVE Terms of Use","modified":"2026-05-11T20:47:19.503Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-50198","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-50198","licence":"Public domain","modified":"2026-06-17T08:03:51.120Z"}],"updatedAt":"2026-11-25T22:58:47.911Z","epss":{"score":0.00207,"percentile":0.114,"date":"2026-12-01T12:00:22.000Z"}}