CVE-2025-23136

thermal: int340x: Add NULL check for adev

MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.22 % · percentile 13 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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

Weaknesses (CWE)

  • CWE-476 — NULL Pointer Dereference

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 77e337c6e23e3b9d22e09ffec202a80f755a54c2 < d0d21c8e44216fa9afdb3809edf213f3c0a8c060 ; affected 77e337c6e23e3b9d22e09ffec202a80f755a54c2 < bc7b5f782d28942dbdfda70df30ce132694a06de ; affected 77e337c6e23e3b9d22e09ffec202a80f755a54c2 < 3155d5261b518776d1b807d9d922669991bbee56 ; affected 77e337c6e23e3b9d22e09ffec202a80f755a54c2 < 6a810c462f099353e908c70619638884cb82229c ; affected 77e337c6e23e3b9d22e09ffec202a80f755a54c2 < ac2eb7378319e3836cdf3a2c15a0bdf04c50e81d ; affected 77e337c6e23e3b9d22e09ffec202a80f755a54c2 < 953d28a4f459fcbde2d08f51aeca19d6b0f179f3
Linux · Linuxaffected 3.18 ; unaffected 0 < 3.18 ; unaffected 5.4.292 ≤ 5.4.* ; unaffected 5.10.236 ≤ 5.10.* ; unaffected 5.15.180 ≤ 5.15.* ; unaffected 6.1.134 ≤ 6.1.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD