thermal: int340x: Add NULL check for adev
Summary
| CVE | CVE-2025-23136 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2025-04-16 15:16:07 UTC |
| Updated | 2026-07-14 13:17:31 UTC |
| 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: ] |
Risk And Classification
Primary CVSS: v3.1 5.5 MEDIUM from [email protected]
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Problem Types: CWE-476 | CWE-476 CWE-476 NULL Pointer Dereference
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 5.5 | MEDIUM | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| 3.1 | ADP | DECLARED | 5.5 | MEDIUM | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| 3.1 | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | Secondary | 5.5 | MEDIUM | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
NoneAvailability
HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Linux | Linux Kernel | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected 77e337c6e23e3b9d22e09ffec202a80f755a54c2 d0d21c8e44216fa9afdb3809edf213f3c0a8c060 git | Not specified |
| CNA | Linux | Linux | affected 77e337c6e23e3b9d22e09ffec202a80f755a54c2 bc7b5f782d28942dbdfda70df30ce132694a06de git | Not specified |
| CNA | Linux | Linux | affected 77e337c6e23e3b9d22e09ffec202a80f755a54c2 3155d5261b518776d1b807d9d922669991bbee56 git | Not specified |
| CNA | Linux | Linux | affected 77e337c6e23e3b9d22e09ffec202a80f755a54c2 6a810c462f099353e908c70619638884cb82229c git | Not specified |
| CNA | Linux | Linux | affected 77e337c6e23e3b9d22e09ffec202a80f755a54c2 ac2eb7378319e3836cdf3a2c15a0bdf04c50e81d git | Not specified |
| CNA | Linux | Linux | affected 77e337c6e23e3b9d22e09ffec202a80f755a54c2 953d28a4f459fcbde2d08f51aeca19d6b0f179f3 git | Not specified |
| CNA | Linux | Linux | affected 77e337c6e23e3b9d22e09ffec202a80f755a54c2 0c49f12c77b77a706fd41370c11910635e491845 git | Not specified |
| CNA | Linux | Linux | affected 77e337c6e23e3b9d22e09ffec202a80f755a54c2 8e8f1ddf4186731649df8bc9646017369eb19186 git | Not specified |
| CNA | Linux | Linux | affected 77e337c6e23e3b9d22e09ffec202a80f755a54c2 2542a3f70e563a9e70e7ded314286535a3321bdb git | Not specified |
| CNA | Linux | Linux | affected 3.18 | Not specified |
| CNA | Linux | Linux | unaffected 3.18 semver | Not specified |
| CNA | Linux | Linux | unaffected 5.4.292 5.4.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.10.236 5.10.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.15.180 5.15.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1.134 6.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.87 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.12.23 6.12.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.13.11 6.13.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.14.2 6.14.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.15 * original_commit_for_fix | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | affected V3.1.6 * custom | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | affected V3.1.6 * custom | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | affected V3.1.6 * custom | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | affected V3.1.6 * custom | Not specified |
| ADP | Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | affected V3.1.6 * custom | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/2542a3f70e563a9e70e7ded314286535a3321bdb | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| lists.debian.org/debian-lts-announce/2025/05/msg00030.html | af854a3a-2127-422b-91ae-364da2661108 | lists.debian.org | |
| git.kernel.org/stable/c/ac2eb7378319e3836cdf3a2c15a0bdf04c50e81d | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/8e8f1ddf4186731649df8bc9646017369eb19186 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/d0d21c8e44216fa9afdb3809edf213f3c0a8c060 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| cert-portal.siemens.com/productcert/html/ssa-019113.html | 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e | cert-portal.siemens.com | |
| git.kernel.org/stable/c/bc7b5f782d28942dbdfda70df30ce132694a06de | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/0c49f12c77b77a706fd41370c11910635e491845 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/953d28a4f459fcbde2d08f51aeca19d6b0f179f3 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| lists.debian.org/debian-lts-announce/2025/05/msg00045.html | af854a3a-2127-422b-91ae-364da2661108 | lists.debian.org | |
| git.kernel.org/stable/c/6a810c462f099353e908c70619638884cb82229c | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/3155d5261b518776d1b807d9d922669991bbee56 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.