AZL-117842: CVE-2026-142974 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
w1: w1therm: leave the slaves of other families alone
The file thermbulkread belongs to the bus master. Its callbacks walk all the slaves of the bus and look at sl->familydata as if every slave were a temperature sensor. A 1-wire bus can carry other devices too:
- The family data of a slave which is driven by another driver, such as w1ds2433, w1ds250x, w1ds28e04 or w1ds28e17, is a structure of that driver. bulkreadsupport() takes whatever is at the offset of specificfunctions for a pointer and dereferences it, and if the result happens not to be 0, the callbacks write the state of the conversion into that foreign structure.
- For a slave without family data, which is the case for most of the other drivers and for the default family, triggerbulkread() gives up with -ENODEV. A single serial number chip on the bus is enough to make the bulk read unusable for all the sensors.
Only look at the slaves whose family is one of ours. A bulk conversion now works on a bus with other devices.
Affected Software
Event History
Frequently Asked Questions
Which systems are realistically exposed to this issue?
Systems using the Linux kernel w1_therm driver on a 1-Wire bus that contains both supported temperature-sensor slaves and devices from other 1-Wire families are exposed. Buses containing a serial-number chip or slaves driven by drivers such as w1_ds2433, w1_ds250x, w1_ds28e04, or w1_ds28e17 are specifically relevant.
What must occur for the vulnerability to be triggered?
The therm_bulk_read interface must be used so that its callbacks enumerate slaves on the bus. The issue arises when those callbacks treat another family's family_data as w1_therm data and may dereference or write through fields in that foreign structure.
How can I tell whether the issue is affecting my deployment?
Review whether w1_therm bulk conversion is used on a shared 1-Wire bus and identify the families of all attached slaves. A bulk read that fails with -ENODEV in the presence of a slave without family data, or unreliable bulk conversion on a mixed-device bus, indicates the described condition.
What can be done if an updated kernel cannot be deployed immediately?
Avoid using therm_bulk_read or bulk conversion on 1-Wire buses that include non-temperature devices or slaves without family data. Use buses containing only the temperature-sensor families handled by w1_therm until the resolved kernel version can be deployed.