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).
| Product | Vendor | Version |
|---|---|---|
| Linux | Linux | 12.4(11)XW |
| Linux | Linux | 12.4(11)XW3 |
| Linux | Linux | 2008 R2 for Itanium-Based Systems Service Pack 1 |
| Linux | Linux | 2008 for 32-bit Systems Service Pack 2 (Core installation) |