i2c: cp2615: fix serial string NULL-deref at probe
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 4a7695429eade517b07ea72f9ec366130e81a076 · < efe996bcfe50c2dcc6cf65c574285713b722ced7| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
i2c: cp2615: fix serial string NULL-deref at probe
The cp2615 driver uses the USB device serial string as the i2c adapter name but does not make sure that the string exists.
Verify that the device has a serial number before accessing it to avoid triggering a NULL-pointer dereference (e.g. with malicious devices).
From the CVE record · Linux
The Linux kernel cp2615 driver does not check whether a USB device has a serial string before using it as the I2C adapter name. A device without a serial string, including a malicious device, can trigger a NULL-pointer dereference when the driver probes it.
Engineers running Linux kernels with the cp2615 driver should check their affected versions; no version range was provided.