Description
In the Linux kernel, the following vulnerability has been resolved: tracing: Fix potential deadlock in cpu hotplug with osnoise The following sequence may leads deadlock in cpu hotplug: task1 task2 task3 ----- ----- ----- mutex_lock(&interface_lock) [CPU GOING OFFLINE] cpus_write_lock(); osnoise_cpu_die(); kthread_stop(task3); wait_for_completion(); osnoise_sleep(); mutex_lock(&interface_lock); cpus_read_lock(); [DEAD LOCK] Fix by swap the order of cpus_read_lock() and mutex_lock(&interface_lock).
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
bce29ac9ce0bb0b0b146b687ab978378c21e9078 to < cf929c21eeed5bd39873fb14bfdfff963fa6f1daaffectedbce29ac9ce0bb0b0b146b687ab978378c21e9078 to < 7aa095ce7d224308cb6979956f0de8607df93d4faffectedbce29ac9ce0bb0b0b146b687ab978378c21e9078 to < ef41a85a55022e27cdaebf22a6676910b66f65aaaffectedbce29ac9ce0bb0b0b146b687ab978378c21e9078 to < 03474a01c199de17a8e2d39b51df6beb9c76e831affectedbce29ac9ce0bb0b0b146b687ab978378c21e9078 to < f278b8ebf7eba2a1699cfc7bf30dd3ef898d60d7affectedbce29ac9ce0bb0b0b146b687ab978378c21e9078 to < 7a41d4633cd2c15eb5ed31e8f3b16910e50a8c9faffectedbce29ac9ce0bb0b0b146b687ab978378c21e9078 to < 1f9885732248d22f788e4992c739a98c88ab8a55affected
Linux Linux
Default version status: affected
5.14affected0 to < 5.14unaffected5.15.203 to ≤ 5.15.*unaffected6.1.168 to ≤ 6.1.*unaffected6.6.131 to ≤ 6.6.*unaffected6.12.80 to ≤ 6.12.*unaffected6.18.21 to ≤ 6.18.*unaffected6.19.11 to ≤ 6.19.*unaffected7.0 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/cf929c21eeed5bd39873fb14bfdfff963fa6f1da ↗
- https://git.kernel.org/stable/c/7aa095ce7d224308cb6979956f0de8607df93d4f ↗
- https://git.kernel.org/stable/c/ef41a85a55022e27cdaebf22a6676910b66f65aa ↗
- https://git.kernel.org/stable/c/03474a01c199de17a8e2d39b51df6beb9c76e831 ↗
- https://git.kernel.org/stable/c/f278b8ebf7eba2a1699cfc7bf30dd3ef898d60d7 ↗
- https://git.kernel.org/stable/c/7a41d4633cd2c15eb5ed31e8f3b16910e50a8c9f ↗
- https://git.kernel.org/stable/c/1f9885732248d22f788e4992c739a98c88ab8a55 ↗