In the Linux kernel, the following vulnerability has been resolved: serial: max310x: fix NULL pointer dereference in I2C instantiation When trying to instantiate a max14830 device from userspace: echo max14830 0x60 > /sys/bus/i2c/devices/i2c-2/new_device we get the following error: Unable to handle kernel NULL pointer dereference at virtual address... ... Call trace: max310x_i2c_probe+0x48/0x170 [max310x] i2c_device_probe+0x150/0x2a0 ... Add check for validity of devtype to prevent the error, and abort probe with a meaningful error message.
History

Fri, 22 Nov 2024 12:00:00 +0000

Type Values Removed Values Added
References

Tue, 05 Nov 2024 10:45:00 +0000

Type Values Removed Values Added
References

cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published: 2024-05-01T05:20:33.457Z

Updated: 2024-11-05T09:19:18.200Z

Reserved: 2024-02-19T14:20:24.203Z

Link: CVE-2024-26978

cve-icon Vulnrichment

Updated: 2024-08-02T00:21:05.869Z

cve-icon NVD

Status : Modified

Published: 2024-05-01T06:15:15.040

Modified: 2024-11-21T09:03:32.417

Link: CVE-2024-26978

cve-icon Redhat

Severity : Moderate

Publid Date: 2024-05-01T00:00:00Z

Links: CVE-2024-26978 - Bugzilla