CVE-2026-142974
Description
In the Linux kernel, the following vulnerability has been resolved:
w1: w1_therm: leave the slaves of other families alone
The file therm_bulk_read belongs to the bus master. Its callbacks walk all the slaves of the bus and look at sl->family_data 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 w1_ds2433, w1_ds250x, w1_ds28e04 or w1_ds28e17, is a structure of that driver. bulk_read_support() takes whatever is at the offset of specific_functions 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, trigger_bulk_read() 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 products
1Patches
Vulnerability mechanics
References
6- git.kernel.org/stable/c/37aba0cb121fe1ef814ed69828a9a87333d0a282nvd
- git.kernel.org/stable/c/47919317ecadec6839f5dcf05fb4ce6342e641e6nvd
- git.kernel.org/stable/c/4fd26ab4d6ce6b209922fcaa85c53e55e294c623nvd
- git.kernel.org/stable/c/56cae0c7efa27bdf3a242c16a6809edc585d746cnvd
- git.kernel.org/stable/c/c0eadd2e06e52563cae2b80491e56eb9712eb727nvd
- git.kernel.org/stable/c/eb8f27edbd9b2a17883e6f0c73fac2fe83461a99nvd
News mentions
0No linked articles in our index yet.