In the Linux kernel, the following vulnerability has been resolved:serial: max310x: fix NULL pointer dereference in I2C instantiationWhen trying to instantiate a max14830 device from userspace:we get the following error:Add check for validity of devtype to prevent the error, and abort probe
with a meaningful error message.