{"id":"CVE-2024-38637","aliases":["CVE-2024-38637"],"related":[],"kind":"vulnerability","state":"published","title":"greybus: lights: check return of get_channel_from_mode","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ngreybus: lights: check return of get_channel_from_mode\n\nIf channel for the given node is not found we return null from\nget_channel_from_mode. Make sure we validate the return pointer\nbefore using it in two of the missing places.\n\nThis was originally reported in [0]:\nFound by Linux Verification Center (linuxtesting.org) with SVACE.\n\n[0] https://lore.kernel.org/all/20240301190425.120605-1-m.lobanov@rosalinux.ru","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ngreybus: lights: check return of get_channel_from_mode\n\nIf channel for the given node is not found we return null from\nget_channel_from_mode. Make sure we validate the return pointer\nbefore using it in two of the missing places.\n\nThis was originally reported in [0]:\nFound by Linux Verification Center (linuxtesting.org) with SVACE.\n\n[0] https://lore.kernel.org/all/20240301190425.120605-1-m.lobanov@rosalinux.ru","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se resolvió la siguiente vulnerabilidad: greybus: luces: verificar el retorno de get_channel_from_mode Si no se encuentra el canal para el nodo dado, devolvemos nulo de get_channel_from_mode. Asegúrese de validar el puntero de retorno antes de usarlo en dos de los lugares que faltan. Esto se informó originalmente en [0]: Encontrado por el Centro de verificación de Linux (linuxtesting.org) con SVACE. [0] https://lore.kernel.org/all/20240301190425.120605-1-m.lobanov@rosalinux.ru","source":"nvd"}],"published":"2024-06-21T10:18:25.560Z","modified":"2026-06-17T07:40:46.523Z","severity":{"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"},"severities":[{"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":"2870b52bae4c81823ffcb3ed2b0626fb39d64f48","fixed":"8f4a76d477f0cc3c54d512f07f6f88c8e1c1e07b","status":"affected"},{"type":"git","introduced":"2870b52bae4c81823ffcb3ed2b0626fb39d64f48","fixed":"e2c64246e5dc8c0d35ec41770b85e2b4cafdff21","status":"affected"},{"type":"git","introduced":"2870b52bae4c81823ffcb3ed2b0626fb39d64f48","fixed":"eac10cf3a97ffd4b4deb0a29f57c118225a42850","status":"affected"},{"type":"git","introduced":"2870b52bae4c81823ffcb3ed2b0626fb39d64f48","fixed":"330f6bcdcef03f70f81db5f2ed6747af656a09f2","status":"affected"},{"type":"git","introduced":"2870b52bae4c81823ffcb3ed2b0626fb39d64f48","fixed":"9b41a9b9c8be8c552f10633453fdb509e83b66f8","status":"affected"},{"type":"git","introduced":"2870b52bae4c81823ffcb3ed2b0626fb39d64f48","fixed":"518e2c46b5dbce40b1aa0100001d03c3ceaa7d38","status":"affected"},{"type":"git","introduced":"2870b52bae4c81823ffcb3ed2b0626fb39d64f48","fixed":"895cdd9aa9546523df839f9cc1488a0ecc1e0731","status":"affected"},{"type":"git","introduced":"2870b52bae4c81823ffcb3ed2b0626fb39d64f48","fixed":"a1ba19a1ae7cd1e324685ded4ab563e78fe68648","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.9","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.9","status":"unaffected"},{"type":"semver","introduced":"4.19.316","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.278","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.219","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.161","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.93","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.33","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.9.4","lastAffected":"6.9.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.10","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.9","fixed":"4.19.316"},{"status":"affected","introduced":"4.20","fixed":"5.4.278"},{"status":"affected","introduced":"5.5","fixed":"5.10.219"},{"status":"affected","introduced":"5.11","fixed":"5.15.161"},{"status":"affected","introduced":"5.16","fixed":"6.1.93"},{"status":"affected","introduced":"6.2","fixed":"6.6.33"},{"status":"affected","introduced":"6.7","fixed":"6.9.4"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/8f4a76d477f0cc3c54d512f07f6f88c8e1c1e07b","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e2c64246e5dc8c0d35ec41770b85e2b4cafdff21","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/eac10cf3a97ffd4b4deb0a29f57c118225a42850","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/330f6bcdcef03f70f81db5f2ed6747af656a09f2","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9b41a9b9c8be8c552f10633453fdb509e83b66f8","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/518e2c46b5dbce40b1aa0100001d03c3ceaa7d38","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/895cdd9aa9546523df839f9cc1488a0ecc1e0731","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a1ba19a1ae7cd1e324685ded4ab563e78fe68648","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-09-10T17:08:59.285Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-38637","url":"https://www.cve.org/CVERecord?id=CVE-2024-38637","licence":"CVE Terms of Use","modified":"2026-05-11T20:20:37.830Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-38637","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-38637","licence":"Public domain","modified":"2026-06-17T07:40:46.523Z"}],"updatedAt":"2026-11-25T22:58:42.121Z","epss":{"score":0.00231,"percentile":0.1489,"date":"2026-12-01T12:00:22.000Z"}}