{"id":"CVE-2024-26978","published":"2024-05-01T05:20:33Z","modified":"2026-05-23T15:40:48Z","title":"serial: max310x: fix NULL pointer dereference in I2C instantiation","vendor":"Linux","product":"Linux","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00309,"percentile":0.16202,"provenance":"source"},"cwes":[{"id":"CWE-476","name":"NULL Pointer Dereference"}],"references":[{"url":"https://git.kernel.org/stable/c/7d271b798add90c6196539167c019d0817285cf0","tags":[]},{"url":"https://git.kernel.org/stable/c/c45e53c27b78afd6c81fc25608003576f27b5735","tags":[]},{"url":"https://git.kernel.org/stable/c/12609c76b755dbeb1645c0aacc0f0f4743b2eff3","tags":[]},{"url":"https://git.kernel.org/stable/c/2160ad6861c4a21d3fa553d7b2aaec6634a37f8a","tags":[]},{"url":"https://git.kernel.org/stable/c/5cd8af02b466e1beeae13e2de3dc58fcc7925e5a","tags":[]},{"url":"https://git.kernel.org/stable/c/aeca49661fd02fd56fb026768b580ce301b45733","tags":[]},{"url":"https://git.kernel.org/stable/c/0d27056c24efd3d63a03f3edfbcfc4827086b110","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html","tags":["x_transferred"]}],"priority":{"score":3.2,"factors":[{"name":"EPSS percentile","points":3.24}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= f5c252aaa1be5d38604e58e9bd335065f767d0d8, < 7d271b798add90c6196539167c019d0817285cf0",">= 85d79478710ad2cbf11857aec107084a7104943e, < c45e53c27b78afd6c81fc25608003576f27b5735",">= 2e1f2d9a9bdbe12ee475c82a45ac46a278e8049a, < 12609c76b755dbeb1645c0aacc0f0f4743b2eff3",">= 2e1f2d9a9bdbe12ee475c82a45ac46a278e8049a, < 2160ad6861c4a21d3fa553d7b2aaec6634a37f8a",">= 2e1f2d9a9bdbe12ee475c82a45ac46a278e8049a, < 5cd8af02b466e1beeae13e2de3dc58fcc7925e5a",">= 2e1f2d9a9bdbe12ee475c82a45ac46a278e8049a, < aeca49661fd02fd56fb026768b580ce301b45733",">= 2e1f2d9a9bdbe12ee475c82a45ac46a278e8049a, < 0d27056c24efd3d63a03f3edfbcfc4827086b110",">= 5.4.272, < 5.4.274",">= 5.10.213, < 5.10.215"]},{"vendor":"Linux","product":"Linux","versions":["6.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-06-06T18:50:02.480775Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-24240","exploited":false,"provenance":"source"}}