CVE-2026-142979: w1: ds2805: 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: ds2805: 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 takes the mutex of the master in the callbacks of its eeprom file 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

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    Update the w1 ds2805 driver to use the bus mutex for bus transactions.

Event History

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

Frequently Asked Questions

1

Which systems are exposed to this issue?

Systems using the Linux kernel's W1 ds2805 slave driver are affected when the driver accesses the bus through its EEPROM file callbacks. The issue concerns communication with a W1 bus master and attached slaves.

2

What conditions can trigger the deadlock?

A deadlock can occur when a ds2805 slave disappears from the bus while an EEPROM sysfs callback is waiting for the master mutex. Slave removal waits for sysfs callbacks to finish, while the callback cannot obtain the mutex, leaving both tasks and the bus-master thread stuck.

3

Does the issue affect bus communication beyond the deadlock scenario?

Yes. Using the master mutex in these callbacks does not prevent other slave drivers from accessing the bus, so two bus transactions can be intermixed on the wire.

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