NVD Vulnerability Detail
Search Exploit, PoC
CVE-2024-49976
Summary

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.

Publication Date Oct. 22, 2024, 3:15 a.m.
Registration Date Oct. 22, 2024, 12:02 p.m.
Last Update Oct. 26, 2024, 5:14 a.m.
CVSS3.1 : MEDIUM
スコア 5.5
Vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
攻撃元区分(AV) ローカル
攻撃条件の複雑さ(AC)
攻撃に必要な特権レベル(PR)
利用者の関与(UI) 不要
影響の想定範囲(S) 変更なし
機密性への影響(C) なし
完全性への影響(I) なし
可用性への影響(A)
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:o:linux:linux_kernel:6.12:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.11 6.11.3
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.10.10 6.10.14
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.6.51 6.6.55
Related information, measures and tools
Common Vulnerabilities List

JVN Vulnerability Information
Linux の Linux Kernel におけるリソースのロックに関する脆弱性
Title Linux の Linux Kernel におけるリソースのロックに関する脆弱性
Summary

Linux の Linux Kernel には、リソースのロックに関する脆弱性が存在します。

Possible impacts サービス運用妨害 (DoS) 状態にされる可能性があります。 
Solution

ベンダより正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

Publication Date Oct. 3, 2024, midnight
Registration Date Oct. 28, 2024, 5:50 p.m.
Last Update Oct. 28, 2024, 5:50 p.m.
Affected System
Linux
Linux Kernel 6.10.10 以上 6.10.14 未満
Linux Kernel 6.11 以上 6.11.3 未満
Linux Kernel 6.12
Linux Kernel 6.6.51 以上 6.6.55 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
No Changed Details Date of change
1 [2024年10月28日]
  掲載
Oct. 28, 2024, 5:50 p.m.