CVE-2026-142811: media: rc: Fix ABBA deadlock by making locks more fine grained
In the Linux kernel, the following vulnerability has been resolved:
media: rc: Fix ABBA deadlock by making locks more fine grained
The irraweventunregister() function takes the irrawhandlerlock first and then the rcdev->lock. Other functions like changeprotocol do this in the reverse order.
This means that an ir decoder module unload and writing to the protocol sysfs file can cause a deadlock.
irrawhandlerlock protects the client list, amongst other things. Split this out into a separate lock so we can ensure the locking order is always the same.
Affected Software
Event History
Frequently Asked Questions
What conditions are required to trigger the deadlock?
The deadlock can occur when an IR decoder module is unloaded while another operation writes to the protocol sysfs file, causing the involved paths to acquire locks in opposite orders.
Who is realistically exposed to this issue?
Systems using the Linux kernel remote-control media subsystem are exposed when they perform both IR decoder module unload activity and protocol changes through the relevant sysfs interface concurrently.
What is the impact of successful triggering?
The affected operations can deadlock, leaving the involved kernel paths blocked. The provided information describes a locking failure rather than data exposure or privilege escalation.