CVE-2026-142977: w1: netlink: drop the slave after the bus is unlocked

Published Dec 3, 2026
·
Updated

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

w1: netlink: drop the slave after the bus is unlocked

w1processcb() executes the commands of a netlink message with busmutex held, and drops the reference to the slave which the message was addressed to before it unlocks the mutex. If the slave has been detached in the meantime, this is the last reference, and w1unrefslave() tears the slave down on the spot. That waits

- in deviceunregister(), for the sysfs callbacks of the slave which are running, and

- in w1thermremoveslave(), for the readers which have taken a reference to the family data,

and both kinds take busmutex to talk to the slave. Whoever is waiting for the mutex at that moment is never going to finish, and neither is the thread of the bus master.

Unlock the bus first. The reference keeps the slave, and with it the master, alive until then.

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

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