CVE-2025-23136

thermal: int340x: Add NULL check for adev

State
Published
Severity
5.5 Medium
Published
Apr 16, 2025
Updated
Oct 15, 2026
Reserved
Jan 11, 2025

Read the record on cve.org

Description

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: ]

Scores

CVSSScoreVectorSource
3.15.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP

Weaknesses

Affected Products

ProductVersions
LinuxLinux
  • 77e337c6e23e3b9d22e09ffec202a80f755a54c2 to before d0d21c8e44216fa9afdb3809edf213f3c0a8c060Affected
  • 77e337c6e23e3b9d22e09ffec202a80f755a54c2 to before bc7b5f782d28942dbdfda70df30ce132694a06deAffected
  • 77e337c6e23e3b9d22e09ffec202a80f755a54c2 to before 3155d5261b518776d1b807d9d922669991bbee56Affected
  • 77e337c6e23e3b9d22e09ffec202a80f755a54c2 to before 6a810c462f099353e908c70619638884cb82229cAffected
  • 77e337c6e23e3b9d22e09ffec202a80f755a54c2 to before ac2eb7378319e3836cdf3a2c15a0bdf04c50e81dAffected
  • 77e337c6e23e3b9d22e09ffec202a80f755a54c2 to before 953d28a4f459fcbde2d08f51aeca19d6b0f179f3Affected
  • 77e337c6e23e3b9d22e09ffec202a80f755a54c2 to before 0c49f12c77b77a706fd41370c11910635e491845Affected
  • 77e337c6e23e3b9d22e09ffec202a80f755a54c2 to before 8e8f1ddf4186731649df8bc9646017369eb19186Affected
  • 77e337c6e23e3b9d22e09ffec202a80f755a54c2 to before 2542a3f70e563a9e70e7ded314286535a3321bdbAffected
LinuxLinux
  • 3.18Affected
  • before 3.18Not affected
  • 5.4.292 through 5.4.*Not affected
  • 5.10.236 through 5.10.*Not affected
  • 5.15.180 through 5.15.*Not affected
  • 6.1.134 through 6.1.*Not affected
  • 6.6.87 through 6.6.*Not affected
  • 6.12.23 through 6.12.*Not affected
  • 6.13.11 through 6.13.*Not affected
  • 6.14.2 through 6.14.*Not affected
  • 6.15 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.