thermal: int340x: Add NULL check for adev
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 5.4.292, Kernel 5.15.180, Kernel 6.1.134 and 14 more.
In the Linux kernel, the following vulnerability has been resolved: thermal: int340x: Add NULL check for adev Not all devices have an ACPI companion fwnode, so adev might be NULL. This is similar to the commit cd2fd6eab480 ("platform/x86: int3472: Check for adev == NULL"). Add a check for adev not being set and return -ENODEV in that case to avoid a possible NULL pointer deref in int3402_thermal_probe(). Note, under the same directory, int3400_thermal_probe() has such a check. [ rjw: Subject edit, added Fixes: ]
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=3.18 <5.4.292, >=5.11 <5.15.180, >=5.16 <6.1.134, >=5.5 <5.10.236, >=6.13 <6.13.11, >=6.14 <6.14.2, >=6.2 <6.6.87, >=6.7 <6.12.23, >=77e337c6e23e3b9d22e09ffec202a80f755a54c2 <2542a3f70e563a9e70e7ded314286535a3321bdb, >=77e337c6e23e3b9d22e09ffec202a80f755a54c2 <3155d5261b518776d1b807d9d922669991bbee56, >=77e337c6e23e3b9d22e09ffec202a80f755a54c2 <6a810c462f099353e908c70619638884cb82229c, >=77e337c6e23e3b9d22e09ffec202a80f755a54c2 <8e8f1ddf4186731649df8bc9646017369eb19186, >=77e337c6e23e3b9d22e09ffec202a80f755a54c2 <953d28a4f459fcbde2d08f51aeca19d6b0f179f3, >=77e337c6e23e3b9d22e09ffec202a80f755a54c2 <ac2eb7378319e3836cdf3a2c15a0bdf04c50e81d, >=77e337c6e23e3b9d22e09ffec202a80f755a54c2 <bc7b5f782d28942dbdfda70df30ce132694a06de, >=77e337c6e23e3b9d22e09ffec202a80f755a54c2 <d0d21c8e44216fa9afdb3809edf213f3c0a8c060, =3.18, >=77e337c6e23e3b9d22e09ffec202a80f755a54c2 <0c49f12c77b77a706fd41370c11910635e491845 | 5.4.292, 5.15.180, 6.1.134, 5.10.236, 6.13.11, 6.14.2, 6.6.87, 6.12.23, 2542a3f70e563a9e70e7ded314286535a3321bdb, 3155d5261b518776d1b807d9d922669991bbee56, 6a810c462f099353e908c70619638884cb82229c, 8e8f1ddf4186731649df8bc9646017369eb19186, 953d28a4f459fcbde2d08f51aeca19d6b0f179f3, ac2eb7378319e3836cdf3a2c15a0bdf04c50e81d, bc7b5f782d28942dbdfda70df30ce132694a06de, d0d21c8e44216fa9afdb3809edf213f3c0a8c060, 0c49f12c77b77a706fd41370c11910635e491845 |
| linux-kernel: Kernel | >=3.18.0 <5.4.292, >=5.11.0 <5.15.180, >=5.16.0 <6.1.134, >=5.5.0 <5.10.236, >=6.13.0 <6.13.11, >=6.14.0 <6.14.2, >=6.2.0 <6.6.87, >=6.7.0 <6.12.23 | 5.4.292, 5.15.180, 6.1.134, 5.10.236, 6.13.11, 6.14.2, 6.6.87, 6.12.23 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket