iio: temperature: mlx90635: Fix ERR_PTR dereference in mlx90635_probe()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
iio: temperature: mlx90635: Fix ERR_PTR dereference in mlx90635_probe()
When devm_regmap_init_i2c() fails, regmap_ee could be error pointer, instead of checking for IS_ERR(regmap_ee), regmap is checked which looks like a copy paste error.
From the CVE record · Linux
The mlx90635 temperature driver checks the wrong pointer when devm_regmap_init_i2c() fails, allowing an error pointer to be dereferenced during probe. This could crash the kernel under that failure condition; the input does not specify an attack path, authentication requirements, or user interaction.
Engineers running the Linux kernel with the mlx90635 temperature driver should check their deployments; affected versions are not specified.