tracing: Fix potential deadlock in cpu hotplug with osnoise
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ bce29ac9ce0bb0b0b146b687ab978378c21e9078 · < 7a41d4633cd2c15eb5ed31e8f3b16910e50a8c9f| No fix yet |
| Linux Linux |
|
|
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);
From the CVE record · Linux
The Linux kernel's osnoise tracing code can deadlock during CPU hotplug when a CPU goes offline and locks are acquired in the affected order. The input does not specify whether an attacker can trigger this, or any network, authentication, or user-interaction requirements.
Engineers running the Linux kernel should check their systems; affected versions are not specified.