thermal: int340x: Add NULL check for adev
Published Apr 16, 2025
5.5
MEDIUMCVSS 3.1
EPSS 0.21%
Description
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 products
-
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version
-
- Version 3.18StatusaffectedConstraints-
- Version 0StatusunaffectedConstraints<3.18
- Version 5.10.236StatusunaffectedConstraints<=5.10.*
- Version 5.15.180StatusunaffectedConstraints<=5.15.*
- Version 5.4.292StatusunaffectedConstraints<=5.4.*
- Version 6.1.134StatusunaffectedConstraints<=6.1.*
- Version 6.12.23StatusunaffectedConstraints<=6.12.*
- Version 6.13.11StatusunaffectedConstraints<=6.13.*
- Version 6.14.2StatusunaffectedConstraints<=6.14.*
- Version 6.15StatusunaffectedConstraints<=*
- Version 6.6.87StatusunaffectedConstraints<=6.6.*
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Linux | Linux | unaffected |
| ||||||||||||||||||||||||||||||||||||
| Linux | Linux | affected |
|
- ≥ 3.18 · < 5.4.292
- ≥ 5.5 · < 5.10.236
- ≥ 5.11 · < 5.15.180
- ≥ 5.16 · < 6.1.134
- ≥ 6.2 · < 6.6.87
- ≥ 6.7 · < 6.12.23
- ≥ 6.13 · < 6.13.11
- ≥ 6.14 · < 6.14.2
No data.
Red Hat Enterprise Linux 10
kernel
Fix deferred
Red Hat Enterprise Linux 6
kernel
Not affected
Red Hat Enterprise Linux 7
kernel
Not affected
Red Hat Enterprise Linux 7
kernel-rt
Not affected
Red Hat Enterprise Linux 8
kernel
Out of support scope
Red Hat Enterprise Linux 8
kernel-rt
Out of support scope
Red Hat Enterprise Linux 9
kernel
Fix deferred
Red Hat Enterprise Linux 9
kernel-rt
Fix deferred
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | kernel | Fix deferred | n/a |
| Red Hat Enterprise Linux 6 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel-rt | Not affected | n/a |
| Red Hat Enterprise Linux 8 | kernel | Out of support scope | n/a |
| Red Hat Enterprise Linux 8 | kernel-rt | Out of support scope | n/a |
| Red Hat Enterprise Linux 9 | kernel | Fix deferred | n/a |
| Red Hat Enterprise Linux 9 | kernel-rt | Fix deferred | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
References (18)
- https://access.redhat.com/security/cve/CVE-2025-23136 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2360188 Issue Tracking
- https://cert-portal.siemens.com/productcert/html/ssa-019113.html
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2025-11159 Advisory
- https://git.kernel.org/stable/c/0c49f12c77b77a706fd41370c11910635e491845 Patch
- https://git.kernel.org/stable/c/2542a3f70e563a9e70e7ded314286535a3321bdb Patch
- https://git.kernel.org/stable/c/3155d5261b518776d1b807d9d922669991bbee56 Patch
- https://git.kernel.org/stable/c/6a810c462f099353e908c70619638884cb82229c Patch
- https://git.kernel.org/stable/c/8e8f1ddf4186731649df8bc9646017369eb19186 Patch
- https://git.kernel.org/stable/c/953d28a4f459fcbde2d08f51aeca19d6b0f179f3 Patch
- https://git.kernel.org/stable/c/ac2eb7378319e3836cdf3a2c15a0bdf04c50e81d Patch
- https://git.kernel.org/stable/c/bc7b5f782d28942dbdfda70df30ce132694a06de Patch
- https://git.kernel.org/stable/c/d0d21c8e44216fa9afdb3809edf213f3c0a8c060 Patch
- https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html
- https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html
- https://lore.kernel.org/linux-cve-announce/2025041633-CVE-2025-23136-75e1@gregkh/T
- https://nvd.nist.gov/vuln/detail/CVE-2025-23136
- https://www.cve.org/CVERecord?id=CVE-2025-23136
Change history (0)
No recorded changes yet.