CVE-2026-142978: w1: ds28e04: use the bus mutex to talk on the bus

Published Dec 3, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

w1: ds28e04: use the bus mutex to talk on the bus

Since commit b02f8bede217 ("W1: split master mutex to avoid deadlocks.") the slave drivers serialise their accesses to the bus with busmutex. This driver, which was merged shortly afterwards, takes the mutex of the master in the callbacks of its eeprom and pio files instead.

That mutex is held while a slave which has disappeared from the bus is removed, which waits for the sysfs callbacks of the slave to return. A callback which is waiting for the mutex at that moment never does: both tasks are stuck, and with them the thread of the bus master.

Besides, it does not keep the other slave drivers off the bus, so that two transactions can get mixed up on the wire.

Affected Software

1 affected component
Linux Linux kernel

Event History

Dec 3, 2026
CVE Published
via MITRE·09:17 AM
Data Sourced
via MITRE·09:17 AM
Description

Frequently Asked Questions

1

What conditions are needed to trigger the deadlock?

A sysfs callback for the DS28E04 EEPROM or PIO interface must be waiting on the master mutex while the corresponding slave disappears and is being removed. Removal holds that mutex and waits for the callback to finish, leaving both tasks and the bus-master thread stuck.

2

What operational impact can occur besides the deadlock?

The driver does not use the bus mutex to exclude other slave drivers during its bus accesses. As a result, transactions from different drivers can overlap and become mixed on the wire.

3

How can an administrator recognize a potentially affected system?

A likely symptom is a stalled bus-master thread together with sysfs operations on a DS28E04 device that do not return during or after device disappearance/removal. Bus communication may also show corrupted or interleaved transactions when other slave drivers access the same bus.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203