UBUNTU-CVE-2026-74552: Null Pointer Dereference
In the Linux kernel, the following vulnerability has been resolved: hwmon: (lm90) Only report alarms if driver is ready Userspace can read sysfs attributes before driver registration is complete, immediately after devmhwmondeviceregisterwithinfo() has been called. At that time, data->hwmondev is not yet initialized. This can trigger a NULL pointer access since lm90updatedevice() and with it lm90updatealarmslocked() will be called. This call schedules reportwork and lm90reportalarms(), which passes the still-NULL data->hwmondev to hwmonnotifyevent() and triggers a NULL pointer dereference. Fix the problem by only scheduling the report and alert workers data->hwmondev is set.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
ubuntu/linux-hwe-7.0to a version that resolves this vulnerability.Fixed in 7.0.0-42.42~24.04.1 - Upgrade
Upgrade
ubuntu/linux-riscv-7.0to a version that resolves this vulnerability.Fixed in 7.0.0-42.42.1~24.04.1 - Upgrade
Upgrade
ubuntu/linuxto a version that resolves this vulnerability.Fixed in 7.0.0-42.42 - Upgrade
Upgrade
ubuntu/linux-awsto a version that resolves this vulnerability.Fixed in 7.0.0-1016.17 - Upgrade
Upgrade
ubuntu/linux-gcpto a version that resolves this vulnerability.Fixed in 7.0.0-1016.18 - Upgrade
Upgrade
ubuntu/linux-ibmto a version that resolves this vulnerability.Fixed in 7.0.0-1017.17 - Upgrade
Upgrade
ubuntu/linux-oem-7.0to a version that resolves this vulnerability.Fixed in 7.0.0-1017.17 - Upgrade
Upgrade
ubuntu/linux-oracleto a version that resolves this vulnerability.Fixed in 7.0.0-1015.16 - Upgrade
Upgrade
ubuntu/linux-riscvto a version that resolves this vulnerability.Fixed in 7.0.0-42.42.1 - Configuration
Ensure report_work and alert workers are scheduled only after data->hwmon_dev has been set, preventing lm90_report_alarms() from passing a NULL data->hwmon_dev to hwmon_notify_event().
Linux kernel hwmon lm90 driver report and alert worker scheduling = Schedule only after data->hwmon_dev is initialized