{"id":"CVE-2026-142974","summary":"w1: w1_therm: leave the slaves of other families alone","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nw1: w1_therm: leave the slaves of other families alone\n\nThe file therm_bulk_read belongs to the bus master.  Its callbacks walk\nall the slaves of the bus and look at sl-\u003efamily_data as if every slave\nwere a temperature sensor.  A 1-wire bus can carry other devices too:\n\n- The family data of a slave which is driven by another driver, such as\n  w1_ds2433, w1_ds250x, w1_ds28e04 or w1_ds28e17, is a structure of that\n  driver.  bulk_read_support() takes whatever is at the offset of\n  specific_functions for a pointer and dereferences it, and if the\n  result happens not to be 0, the callbacks write the state of the\n  conversion into that foreign structure.\n\n- For a slave without family data, which is the case for most of the\n  other drivers and for the default family, trigger_bulk_read() gives up\n  with -ENODEV.  A single serial number chip on the bus is enough to\n  make the bulk read unusable for all the sensors.\n\nOnly look at the slaves whose family is one of ours.  A bulk conversion\nnow works on a bus with other devices.","modified":"2026-12-03T11:00:24.691249011Z","published":"2026-12-03T09:17:04.566Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142974.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/37aba0cb121fe1ef814ed69828a9a87333d0a282"},{"type":"WEB","url":"https://git.kernel.org/stable/c/47919317ecadec6839f5dcf05fb4ce6342e641e6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4fd26ab4d6ce6b209922fcaa85c53e55e294c623"},{"type":"WEB","url":"https://git.kernel.org/stable/c/56cae0c7efa27bdf3a242c16a6809edc585d746c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c0eadd2e06e52563cae2b80491e56eb9712eb727"},{"type":"WEB","url":"https://git.kernel.org/stable/c/eb8f27edbd9b2a17883e6f0c73fac2fe83461a99"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142974.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142974"}],"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"},{"fixed":"c0eadd2e06e52563cae2b80491e56eb9712eb727"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142974.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"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"}}],"schema_version":"1.9.2"}