{"id":"CVE-2024-26978","aliases":["CVE-2024-26978"],"related":[],"kind":"vulnerability","state":"published","title":"serial: max310x: fix NULL pointer dereference in I2C instantiation","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nserial: max310x: fix NULL pointer dereference in I2C instantiation\n\nWhen trying to instantiate a max14830 device from userspace:\n\n    echo max14830 0x60 > /sys/bus/i2c/devices/i2c-2/new_device\n\nwe get the following error:\n\n    Unable to handle kernel NULL pointer dereference at virtual address...\n    ...\n    Call trace:\n        max310x_i2c_probe+0x48/0x170 [max310x]\n        i2c_device_probe+0x150/0x2a0\n    ...\n\nAdd check for validity of devtype to prevent the error, and abort probe\nwith a meaningful error message.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nserial: max310x: fix NULL pointer dereference in I2C instantiation\n\nWhen trying to instantiate a max14830 device from userspace:\n\n    echo max14830 0x60 > /sys/bus/i2c/devices/i2c-2/new_device\n\nwe get the following error:\n\n    Unable to handle kernel NULL pointer dereference at virtual address...\n    ...\n    Call trace:\n        max310x_i2c_probe+0x48/0x170 [max310x]\n        i2c_device_probe+0x150/0x2a0\n    ...\n\nAdd check for validity of devtype to prevent the error, and abort probe\nwith a meaningful error message.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se resolvió la siguiente vulnerabilidad: serial: max310x: corrige la desreferencia del puntero NULL en la creación de instancias I2C Al intentar crear una instancia de un dispositivo max14830 desde el espacio de usuario: echo max14830 0x60 &gt; /sys/bus/i2c/devices/i2c-2/ new_device obtenemos el siguiente error: No se puede manejar la desreferencia del puntero NULL del kernel en la dirección virtual... ... Rastreo de llamadas: max310x_i2c_probe+0x48/0x170 [max310x] i2c_device_probe+0x150/0x2a0... Agregar verificación de validez del tipo de desarrollo para evitar el error y cancelar la sonda con un mensaje de error significativo.","source":"nvd"}],"published":"2024-05-01T05:20:33.457Z","modified":"2026-06-17T07:18:50.800Z","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":"f5c252aaa1be5d38604e58e9bd335065f767d0d8","fixed":"7d271b798add90c6196539167c019d0817285cf0","status":"affected"},{"type":"git","introduced":"85d79478710ad2cbf11857aec107084a7104943e","fixed":"c45e53c27b78afd6c81fc25608003576f27b5735","status":"affected"},{"type":"git","introduced":"2e1f2d9a9bdbe12ee475c82a45ac46a278e8049a","fixed":"12609c76b755dbeb1645c0aacc0f0f4743b2eff3","status":"affected"},{"type":"git","introduced":"2e1f2d9a9bdbe12ee475c82a45ac46a278e8049a","fixed":"2160ad6861c4a21d3fa553d7b2aaec6634a37f8a","status":"affected"},{"type":"git","introduced":"2e1f2d9a9bdbe12ee475c82a45ac46a278e8049a","fixed":"5cd8af02b466e1beeae13e2de3dc58fcc7925e5a","status":"affected"},{"type":"git","introduced":"2e1f2d9a9bdbe12ee475c82a45ac46a278e8049a","fixed":"aeca49661fd02fd56fb026768b580ce301b45733","status":"affected"},{"type":"git","introduced":"2e1f2d9a9bdbe12ee475c82a45ac46a278e8049a","fixed":"0d27056c24efd3d63a03f3edfbcfc4827086b110","status":"affected"},{"type":"semver","introduced":"5.4.272","fixed":"5.4.274","status":"affected"},{"type":"semver","introduced":"5.10.213","fixed":"5.10.215","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.0","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.0","status":"unaffected"},{"type":"semver","introduced":"5.4.274","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.215","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"6.1.84","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.24","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.7.12","lastAffected":"6.7.*","status":"unaffected"},{"type":"semver","introduced":"6.8.3","lastAffected":"6.8.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.9","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","fixed":"5.4.274"},{"status":"affected","introduced":"5.5","fixed":"5.10.215"},{"status":"affected","introduced":"5.11","fixed":"6.1.84"},{"status":"affected","introduced":"6.2","fixed":"6.6.24"},{"status":"affected","introduced":"6.7","fixed":"6.7.12"},{"status":"affected","introduced":"6.8","lastAffected":"6.8.3"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/7d271b798add90c6196539167c019d0817285cf0","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c45e53c27b78afd6c81fc25608003576f27b5735","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/12609c76b755dbeb1645c0aacc0f0f4743b2eff3","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2160ad6861c4a21d3fa553d7b2aaec6634a37f8a","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5cd8af02b466e1beeae13e2de3dc58fcc7925e5a","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/aeca49661fd02fd56fb026768b580ce301b45733","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0d27056c24efd3d63a03f3edfbcfc4827086b110","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html","tags":["x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-06-06T18:50:02.480Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-26978","url":"https://www.cve.org/CVERecord?id=CVE-2024-26978","licence":"CVE Terms of Use","modified":"2026-05-23T15:40:48.743Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-26978","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-26978","licence":"Public domain","modified":"2026-06-17T07:18:50.800Z"}],"updatedAt":"2026-11-25T22:58:39.749Z","epss":{"score":0.00225,"percentile":0.14015,"date":"2026-12-01T12:00:22.000Z"}}