CVE-2026-142974

Source
https://cve.org/CVERecord?id=CVE-2026-142974
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142974.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-142974
Downstream
Published
2026-12-03T09:17:04Z
Modified
2026-12-03T11:00:24Z
Summary
w1: w1_therm: leave the slaves of other families alone
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142974.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
57c76221d5af648c8355a55c09b050c5d8d38189
Fixed
47919317ecadec6839f5dcf05fb4ce6342e641e6
Fixed
37aba0cb121fe1ef814ed69828a9a87333d0a282
Fixed
eb8f27edbd9b2a17883e6f0c73fac2fe83461a99
Fixed
4fd26ab4d6ce6b209922fcaa85c53e55e294c623
Fixed
56cae0c7efa27bdf3a242c16a6809edc585d746c
Show 1 more event Show fewer events
Fixed
c0eadd2e06e52563cae2b80491e56eb9712eb727

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142974.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.8.0
Fixed
5.10.276
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.227
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.12.120
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.66
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.7

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142974.json"