cbcvebase.
CVE-2024-49976
published 2024-10-21

CVE-2024-49976: In the Linux kernel, the following vulnerability has been resolved: tracing/timerlat: Drop interface_lock in stop_kthread() stop_kthread() is the offline…

PriorityP418medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.18%
7.5th percentile
In the Linux kernel, the following vulnerability has been resolved: tracing/timerlat: Drop interface_lock in stop_kthread() stop_kthread() is the offline callback for "trace/osnoise:online", since commit 5bfbcd1ee57b ("tracing/timerlat: Add interface_lock around clearing of kthread in stop_kthread()"), the following ABBA deadlock scenario is introduced: T1 | T2 [BP] | T3 [AP] osnoise_hotplug_workfn() | work_for_cpu_fn() | cpuhp_thread_fun() | _cpu_down() | osnoise_cpu_die() mutex_lock(&interface_lock) | | stop_kthread() | cpus_write_lock() | mutex_lock(&interface_lock) cpus_read_lock() | cpuhp_kick_ap() | As the interface_lock here in just for protecting the "kthread" field of the osn_var, use xchg() instead to fix this issue. Also use for_each_online_cpu() back in stop_per_cpu_kthreads() as it can take cpu_read_lock() again.

Affected

20 ranges
VendorProductVersion rangeFixed in
debianlinux< linux 6.11.4-1 (forky)linux 6.11.4-1 (forky)
linuxlinux
linuxlinux>= 4679272d5252720746fd9c5465352cbc5665f230 < 09cb44cc3d3df7ade2cebc939d6257a2fa8afc7a09cb44cc3d3df7ade2cebc939d6257a2fa8afc7a
linuxlinux>= 5bfbcd1ee57b607fd29e4645c7f350dd385dd9ad < db8571a9a098086608c11a15856ff585789e67e8db8571a9a098086608c11a15856ff585789e67e8
linuxlinux>= 5bfbcd1ee57b607fd29e4645c7f350dd385dd9ad < b484a02c9cedf8703eff8f0756f94618004bd165b484a02c9cedf8703eff8f0756f94618004bd165
linuxlinux>= 6.10.10 < 6.10.146.10.14
linuxlinux>= 6.6.51 < 6.6.556.6.55
linuxlinux>= b4fdabffae14cca2c80d99bd81f3f27239ac7f5e < a4a05ceffe8fad68b45de38fe2311bda619e76e2a4a05ceffe8fad68b45de38fe2311bda619e76e2
linuxlinux_kernel
linuxlinux_kernel>= 0 < 6.11.4-16.11.4-1
linuxlinux_kernel>= 0 < 6.11.4-16.11.4-1
linuxlinux_kernel>= 0 < 6.8.0-54.566.8.0-54.56
linuxlinux_kernel>= 0 < 6.11.0-18.186.11.0-18.18
linuxlinux_kernel>= 6.10.10 < 6.10.146.10.14
linuxlinux_kernel>= 6.11 < 6.11.36.11.3
linuxlinux_kernel>= 6.6.51 < 6.6.556.6.55
msrcazl3_kernel_6.6.51.1-5_on_azure_linux_3.0
msrcazl3_kernel_6.6.57.1-2_on_azure_linux_3.0
msrcazure_linux_3.0_arm
msrcazure_linux_3.0_x64

CVSS provenance

nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv8.8HIGH
vendor_ubuntu8.8HIGH
vendor_debian5.5LOW
vendor_msrc5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.