Description
In the Linux kernel, the following vulnerability has been resolved:
thermal: Fix NULL pointer dereferences in of_thermal_ functions
of_parse_thermal_zones() parses the thermal-zones node and registers a
thermal_zone device for each subnode. However, if a thermal zone is
consuming a thermal sensor and that thermal sensor device hasn't probed
yet, an attempt to set trip_point_*_temp for that thermal zone device
can cause a NULL pointer dereference. Fix it.
console:/sys/class/thermal/thermal_zone87 # echo 120000 > trip_point_0_temp
...
Unable to handle kernel NULL pointer dereference at virtual address 0000000000000020
...
Call trace:
of_thermal_set_trip_temp+0x40/0xc4
trip_point_temp_store+0xc0/0x1dc
dev_attr_store+0x38/0x88
sysfs_kf_write+0x64/0xc0
kernfs_fop_write_iter+0x108/0x1d0
vfs_write+0x2f4/0x368
ksys_write+0x7c/0xec
__arm64_sys_write+0x20/0x30
el0_svc_common.llvm.7279915941325364641+0xbc/0x1bc
do_el0_svc+0x28/0xa0
el0_svc+0x14/0x24
el0_sync_handler+0x88/0xec
el0_sync+0x1c0/0x200
While at it, fix the possible NULL pointer dereference in other
functions as well: of_thermal_get_temp(), of_thermal_set_emul_temp(),
of_thermal_get_trend().
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Linux | Linux | 3.19 | 5.4.210 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | linux | 5.15.5-1 | — |
| Debian 13 | linux | 5.15.5-1 | — |
| Debian 12 | linux | 5.15.5-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 24.04 LTS | linux-raspi-realtime | No fix yet | — |
| Ubuntu 22.04 LTS | linux-riscv +22 | No fix yet | — |
| Ubuntu 20.04 LTS | linux | 5.4.0-128.144 | — |
| Ubuntu 20.04 LTS | linux-aws | 5.4.0-1086.93 | — |
| Ubuntu 20.04 LTS | linux-azure | 5.4.0-1094.100 | — |
| Ubuntu 20.04 LTS | linux-bluefield | 5.4.0-1047.52 | — |
| Ubuntu 20.04 LTS | linux-gcp | 5.4.0-1090.98 | — |
| Ubuntu 20.04 LTS | linux-gke +26 | No fix yet | — |
| Ubuntu 20.04 LTS | linux-gkeop | 5.4.0-1054.57 | — |
| Ubuntu 20.04 LTS | linux-ibm | 5.4.0-1034.38 | — |
| Ubuntu 20.04 LTS | linux-iot | 5.4.0-1005.7 | — |
| Ubuntu 20.04 LTS | linux-kvm | 5.4.0-1076.81 | — |
| Ubuntu 20.04 LTS | linux-oracle | 5.4.0-1084.92 | — |
| Ubuntu 20.04 LTS | linux-raspi | 5.4.0-1071.81 | — |
| Ubuntu 18.04 LTS | linux-aws-5.4 | 5.4.0-1086.93~18.04.1 | — |
| Ubuntu 18.04 LTS | linux-azure-5.4 | 5.4.0-1094.100~18.04.1 | — |
| Ubuntu 18.04 LTS | linux-gcp +14 | No fix yet | — |
| Ubuntu 18.04 LTS | linux-gcp-5.4 | 5.4.0-1092.101~18.04.1 | — |
| Ubuntu 18.04 LTS | linux-hwe-5.4 | 5.4.0-128.144~18.04.1 | — |
| Ubuntu 18.04 LTS | linux-ibm-5.4 | 5.4.0-1034.38~18.04.1 | — |
| Ubuntu 18.04 LTS | linux-oracle-5.4 | 5.4.0-1084.92~18.04.1 | — |
| Ubuntu 18.04 LTS | linux-raspi-5.4 | 5.4.0-1071.81~18.04.1 | — |
| Ubuntu 16.04 LTS | linux-hwe-edge | No fix yet | — |
Show 9 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro FIPS 20.04 LTS | linux-fips +3 | No fix yet | — |
| Ubuntu Pro FIPS 18.04 LTS | linux-fips +3 | No fix yet | — |
| Ubuntu Pro FIPS 16.04 LTS | linux-fips | No fix yet | — |
| Ubuntu Pro FIPS-updates 20.04 LTS | linux-aws-fips | 5.4.0-1086.93+fips1 | — |
| Ubuntu Pro FIPS-updates 20.04 LTS | linux-azure-fips | 5.4.0-1094.100+fips1 | — |
| Ubuntu Pro FIPS-updates 20.04 LTS | linux-fips | 5.4.0-1062.70 | — |
| Ubuntu Pro FIPS-updates 20.04 LTS | linux-gcp-fips | 5.4.0-1092.101+fips1 | — |
| Ubuntu Pro FIPS-updates 18.04 LTS | linux-aws-fips | 4.15.0-2132.138 | USN-8530-1 |
| Ubuntu Pro FIPS-updates 18.04 LTS | linux-azure-fips | 4.15.0-2112.118 | USN-8529-1 |
| Ubuntu Pro FIPS-updates 18.04 LTS | linux-fips | 4.15.0-1149.161 | USN-8529-1 |
| Ubuntu Pro FIPS-updates 18.04 LTS | linux-gcp-fips | 4.15.0-2095.101 | USN-8529-1 |
| Ubuntu Pro FIPS-updates 16.04 LTS | linux-fips | 4.4.0-1126.133 | USN-8548-1 |
| Ubuntu Pro 18.04 LTS | linux | 4.15.0-253.265 | USN-8529-1 |
| Ubuntu Pro 18.04 LTS | linux-aws | 4.15.0-1194.207 | USN-8530-1 |
| Ubuntu Pro 18.04 LTS | linux-azure-4.15 | 4.15.0-1204.219 | USN-8529-1 |
| Ubuntu Pro 18.04 LTS | linux-gcp-4.15 | 4.15.0-1187.204 | USN-8529-1 |
| Ubuntu Pro 18.04 LTS | linux-kvm | 4.15.0-1176.181 | USN-8529-1 |
| Ubuntu Pro 18.04 LTS | linux-oracle | 4.15.0-1156.167 | USN-8529-1 |
| Ubuntu Pro 16.04 LTS | linux | 4.4.0-283.317 | USN-8548-2 |
| Ubuntu Pro 16.04 LTS | linux-aws | 4.4.0-1194.209 | USN-8548-2 |
| Ubuntu Pro 16.04 LTS | linux-aws-hwe | 4.15.0-1194.207~16.04.1 | USN-8530-2 |
| Ubuntu Pro 16.04 LTS | linux-azure | 4.15.0-1204.219~16.04.1 | USN-8529-2 |
| Ubuntu Pro 16.04 LTS | linux-gcp | 4.15.0-1187.204~16.04.1 | USN-8529-2 |
| Ubuntu Pro 16.04 LTS | linux-hwe | 4.15.0-253.265~16.04.1 | USN-8529-2 |
| Ubuntu Pro 16.04 LTS | linux-kvm | 4.4.0-1157.168 | USN-8548-2 |
| Ubuntu Pro 16.04 LTS | linux-oracle | 4.15.0-1156.167~16.04.1 | USN-8529-2 |
| Ubuntu Pro 14.04 LTS | linux-aws | 4.4.0-1156.162 | USN-8548-1 |
| Ubuntu Pro 14.04 LTS | linux-azure | 4.15.0-1205.220~14.04.1 | USN-8635-1 |
| Ubuntu Pro 14.04 LTS | linux-lts-xenial | 4.4.0-283.317~14.04.1 | USN-8548-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP5 | kernel-64kb +5 | 5.14.21-150500.55.62.2 | SUSE-SU-2025:0201-2, SUSE-SU-2025:0201-1, SUSE-SU-2024:1659-1 |
| SLES 15 SP5 | kernel-azure +2 | 5.14.21-150500.33.51.1 | SUSE-SU-2024:1644-1 |
| SLES 15 SP5 | kernel-default-base | 5.14.21-150500.55.62.2.150500.6.27.2 | SUSE-SU-2025:0201-2, SUSE-SU-2025:0201-1, SUSE-SU-2024:1659-1 |
| SLES 15 SP5 | kernel-syms | 5.14.21-150500.55.62.1 | SUSE-SU-2025:0201-2, SUSE-SU-2025:0201-1, SUSE-SU-2024:1659-1 |
| SLES 15 SP4 | kernel-64kb +6 | 5.14.21-150400.24.119.1 | SUSE-SU-2025:0203-1, SUSE-SU-2024:1641-1 |
| SLES 15 SP4 | kernel-default-base | 5.14.21-150400.24.119.1.150400.24.56.1 | SUSE-SU-2025:0203-1, SUSE-SU-2024:1641-1 |
| SLES 15 SP3 | kernel-64kb +6 | 5.3.18-150300.59.161.1 | SUSE-SU-2024:1642-1 |
| SLES 15 SP3 | kernel-default-base | 5.3.18-150300.59.161.1.150300.18.94.1 | SUSE-SU-2024:1642-1 |
| SLES 15 SP3 | kernel-docs | 5.3.18-150300.59.161.2 | SUSE-SU-2024:1642-1 |
| SLES 12 SP5 | kernel-azure +2 | 4.12.14-16.182.1 | SUSE-SU-2024:1643-1 |
| SLES 12 SP5 | kernel-docs +4 | 4.12.14-122.216.1 | SUSE-SU-2024:1870-1 |
Show 21 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 15 SP5 | kernel-default-base | 5.14.21-150500.55.91.1.150500.6.41.1 | SUSE-SU-2025:0201-2, SUSE-SU-2025:0201-1 |
| SLES for SAP 15 SP5 | kernel-docs +4 | 5.14.21-150500.55.91.1 | SUSE-SU-2025:0201-2, SUSE-SU-2025:0201-1 |
| SLES for SAP 15 SP4 | kernel-default-base | 5.14.21-150400.24.119.1.150400.24.56.1 | SUSE-SU-2025:0203-1, SUSE-SU-2024:1641-1 |
| SLES for SAP 15 SP4 | kernel-docs +4 | 5.14.21-150400.24.119.1 | SUSE-SU-2025:0203-1, SUSE-SU-2024:1641-1 |
| SLES for SAP 15 SP3 | kernel-default-base | 5.3.18-150300.59.161.1.150300.18.94.1 | SUSE-SU-2024:1642-1 |
| SLES for SAP 15 SP3 | kernel-docs | 5.3.18-150300.59.161.2 | SUSE-SU-2024:1642-1 |
| SLES for SAP 15 SP3 | kernel-syms +4 | 5.3.18-150300.59.161.1 | SUSE-SU-2024:1642-1 |
| SLES for SAP 12 SP5 | kernel-azure +2 | 4.12.14-16.182.1 | SUSE-SU-2024:1643-1 |
| SLES for SAP 12 SP5 | kernel-syms +2 | 4.12.14-122.216.1 | SUSE-SU-2024:1870-1 |
| SLE Real Time 12 SP5 | kernel-rt +3 | 4.12.14-10.182.1 | SUSE-SU-2024:1646-1 |
| SLE Micro 5.5 | kernel-default | 5.14.21-150500.55.62.2 | SUSE-SU-2025:0201-1, SUSE-SU-2024:1659-1 |
| SLE Micro 5.5 | kernel-default-base | 5.14.21-150500.55.62.2.150500.6.27.2 | SUSE-SU-2025:0201-1, SUSE-SU-2024:1659-1 |
| SLE Micro 5.5 | kernel-rt +1 | 5.14.21-150500.13.52.1 | SUSE-SU-2025:0229-1, SUSE-SU-2024:1663-1 |
| SLE Micro 5.4 | kernel-default | 5.14.21-150400.24.119.1 | SUSE-SU-2025:0203-1, SUSE-SU-2024:1641-1 |
| SLE Micro 5.4 | kernel-default-base | 5.14.21-150400.24.119.1.150400.24.56.1 | SUSE-SU-2025:0203-1, SUSE-SU-2024:1641-1 |
| SLE Micro 5.4 | kernel-rt +1 | 5.14.21-150400.15.79.1 | SUSE-SU-2025:0231-1, SUSE-SU-2024:1647-1 |
| SLE Micro 5.3 | kernel-default | 5.14.21-150400.24.119.1 | SUSE-SU-2025:0203-1, SUSE-SU-2024:1641-1 |
| SLE Micro 5.3 | kernel-default-base | 5.14.21-150400.24.119.1.150400.24.56.1 | SUSE-SU-2025:0203-1, SUSE-SU-2024:1641-1 |
| SLE Micro 5.3 | kernel-rt +1 | 5.14.21-150400.15.79.1 | SUSE-SU-2025:0231-1, SUSE-SU-2024:1647-1 |
| SLE Micro 5.2 | kernel-default | 5.3.18-150300.59.161.1 | SUSE-SU-2024:1642-1 |
| SLE Micro 5.2 | kernel-default-base | 5.3.18-150300.59.161.1.150300.18.94.1 | SUSE-SU-2024:1642-1 |
| SLE Micro 5.2 | kernel-rt +1 | 5.3.18-150300.166.1 | SUSE-SU-2024:1465-1 |
| SLE Micro 5.1 | kernel-default | 5.3.18-150300.59.161.1 | SUSE-SU-2024:1642-1 |
| SLE Micro 5.1 | kernel-default-base | 5.3.18-150300.59.161.1.150300.18.94.1 | SUSE-SU-2024:1642-1 |
| SLE Micro 5.1 | kernel-rt +1 | 5.3.18-150300.166.1 | SUSE-SU-2024:1465-1 |
| SLE Live Patching 15 SP5 | kernel-default | 5.14.21-150500.55.62.2 | SUSE-SU-2025:0201-1, SUSE-SU-2024:1659-1 |
| SLE Live Patching 15 SP5 | kernel-livepatch-SLE15-SP5-RT_Update_14 | 1-150500.11.5.1 | SUSE-SU-2024:1663-1 |
| SLE Live Patching 15 SP5 | kernel-livepatch-SLE15-SP5_Update_13 | 1-150500.11.3.2 | SUSE-SU-2024:1659-1 |
| SLE Live Patching 15 SP5 | kernel-livepatch-SLE15-SP5_Update_22 | 1-150500.11.3.1 | SUSE-SU-2025:0201-1 |
| SLE Live Patching 15 SP4 | kernel-default | 5.14.21-150400.24.119.1 | SUSE-SU-2025:0203-1, SUSE-SU-2024:1641-1 |
| SLE Live Patching 15 SP4 | kernel-livepatch-SLE15-SP4_Update_26 +1 | 1-150400.9.3.1 | SUSE-SU-2025:0203-1, SUSE-SU-2024:1641-1 |
| SLE Live Patching 15 SP3 | kernel-default | 5.3.18-150300.59.161.1 | SUSE-SU-2024:1642-1 |
| SLE Live Patching 15 SP3 | kernel-livepatch-SLE15-SP3_Update_44 | 1-150300.7.3.1 | SUSE-SU-2024:1642-1 |
| SLE Live Patching 12 SP5 | kernel-default | 4.12.14-122.216.1 | SUSE-SU-2024:1870-1 |
| SLE Live Patching 12 SP5 | kgraft-patch-SLE12-SP5_Update_56 | 1-8.3.1 | SUSE-SU-2024:1870-1 |
| SLE HPC 15 SP5 | kernel-64kb +5 | 5.14.21-150500.55.91.1 | SUSE-SU-2025:0201-2, SUSE-SU-2025:0201-1 |
| SLE HPC 15 SP5 | kernel-default-base | 5.14.21-150500.55.91.1.150500.6.41.1 | SUSE-SU-2025:0201-2, SUSE-SU-2025:0201-1 |
| SLE HPC 15 SP4 | kernel-64kb +5 | 5.14.21-150400.24.119.1 | SUSE-SU-2025:0203-1, SUSE-SU-2024:1641-1 |
| SLE HPC 15 SP4 | kernel-default-base | 5.14.21-150400.24.119.1.150400.24.56.1 | SUSE-SU-2025:0203-1, SUSE-SU-2024:1641-1 |
| SLE HPC 15 SP3 | kernel-64kb +5 | 5.3.18-150300.59.161.1 | SUSE-SU-2024:1642-1 |
| SLE HPC 15 SP3 | kernel-default-base | 5.3.18-150300.59.161.1.150300.18.94.1 | SUSE-SU-2024:1642-1 |
| SLE HPC 15 SP3 | kernel-docs | 5.3.18-150300.59.161.2 | SUSE-SU-2024:1642-1 |
| SUSE Real Time Module 15 SP5 | kernel-rt +3 | 5.14.21-150500.13.52.1 | SUSE-SU-2024:1663-1 |
| SUSE Manager Server 4.3 | kernel-default-base | 5.14.21-150400.24.119.1.150400.24.56.1 | SUSE-SU-2025:0203-1, SUSE-SU-2024:1641-1 |
| SUSE Manager Server 4.3 | kernel-syms +3 | 5.14.21-150400.24.119.1 | SUSE-SU-2025:0203-1, SUSE-SU-2024:1641-1 |
| SUSE Manager Proxy 4.3 | kernel-default-base | 5.14.21-150400.24.119.1.150400.24.56.1 | SUSE-SU-2025:0203-1, SUSE-SU-2024:1641-1 |
| SUSE Manager Proxy 4.3 | kernel-syms +2 | 5.14.21-150400.24.119.1 | SUSE-SU-2025:0203-1, SUSE-SU-2024:1641-1 |
| SUSE Enterprise Storage 7.1 | kernel-64kb +5 | 5.3.18-150300.59.161.1 | SUSE-SU-2024:1642-1 |
| SUSE Enterprise Storage 7.1 | kernel-default-base | 5.3.18-150300.59.161.1.150300.18.94.1 | SUSE-SU-2024:1642-1 |
| SUSE Enterprise Storage 7.1 | kernel-docs | 5.3.18-150300.59.161.2 | SUSE-SU-2024:1642-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 15.5 | dtb-aarch64 +2 | 5.14.21-150500.55.62.1 | SUSE-SU-2024:1659-1 |
| openSUSE Leap 15.5 | kernel-64kb +7 | 5.14.21-150500.55.62.2 | SUSE-SU-2024:1659-1 |
| openSUSE Leap 15.5 | kernel-azure +2 | 5.14.21-150500.33.51.1 | SUSE-SU-2024:1644-1 |
| openSUSE Leap 15.5 | kernel-default-base | 5.14.21-150500.55.62.2.150500.6.27.2 | SUSE-SU-2024:1659-1 |
| openSUSE Leap 15.5 | kernel-rt +3 | 5.14.21-150500.13.52.1 | SUSE-SU-2024:1663-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap Micro 5.4 | kernel-default | 5.14.21-150400.24.119.1 | SUSE-SU-2024:1641-1 |
| openSUSE Leap Micro 5.4 | kernel-default-base | 5.14.21-150400.24.119.1.150400.24.56.1 | SUSE-SU-2024:1641-1 |
| openSUSE Leap Micro 5.4 | kernel-rt | 5.14.21-150400.15.79.1 | SUSE-SU-2024:1647-1 |
| openSUSE Leap Micro 5.3 | kernel-default | 5.14.21-150400.24.119.1 | SUSE-SU-2024:1641-1 |
| openSUSE Leap Micro 5.3 | kernel-default-base | 5.14.21-150400.24.119.1.150400.24.56.1 | SUSE-SU-2024:1641-1 |
| openSUSE Leap Micro 5.3 | kernel-rt | 5.14.21-150400.15.79.1 | SUSE-SU-2024:1647-1 |
Advisories 23
- USN-8635-1 linux-azure vulnerabilities Ubuntu Security Notices (USN) · Nov 4, 2026
- USN-8529-2 linux-azure, linux-gcp, linux-hwe, linux-oracle vulnerabilities Ubuntu Security Notices (USN) · Nov 4, 2026
- USN-8529-1 linux, linux-azure-4.15, linux-azure-fips, linux-fips, linux-gcp-4.15, linux-gcp-fips, linux-kvm, linux-oracle vulnerabilities Ubuntu Security Notices (USN) · Nov 4, 2026
- USN-8530-1 linux-aws, linux-aws-fips vulnerabilities Ubuntu Security Notices (USN) · Nov 4, 2026
- USN-8530-2 linux-aws-hwe vulnerabilities Ubuntu Security Notices (USN) · Nov 4, 2026
- USN-8548-2 linux, linux-aws, linux-kvm vulnerabilities Ubuntu Security Notices (USN) · Oct 29, 2026
- USN-8548-1 linux-aws, linux-fips, linux-lts-xenial vulnerabilities Ubuntu Security Notices (USN) · Oct 29, 2026
- WID-SEC-2024-0851 Linux Kernel: Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 12, 2026
- SUSE-SU-2024:1663-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2025:0203-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2024:1647-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2024:1870-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2025:0201-2 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2024:1646-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2025:0229-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2024:1643-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2024:1465-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2024:1641-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2025:0231-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2024:1642-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2024:1659-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · May 2, 2025
- SUSE-SU-2024:1644-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · May 2, 2025
- SUSE-SU-2025:0201-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Apr 4, 2025
References
- https://git.kernel.org/stable/c/828f4c31684da94ecf0b44a2cbd35bbede04f0bd
- https://git.kernel.org/stable/c/6a315471cb6a07f651e1d3adc8962730f4fcccac
- https://git.kernel.org/stable/c/0750f769b95841b34a9fe8c418dd792ff526bf86
- https://git.kernel.org/stable/c/ef2590a5305e0b8e9342f84c2214aa478ee7f28e
- https://git.kernel.org/stable/c/96cfe05051fd8543cdedd6807ec59a0e6c409195