NVD Vulnerability Detail
Search Exploit, PoC
CVE-2022-48931
Summary

In the Linux kernel, the following vulnerability has been resolved:

configfs: fix a race in configfs_{,un}register_subsystem()

When configfs_register_subsystem() or configfs_unregister_subsystem()
is executing link_group() or unlink_group(),
it is possible that two processes add or delete list concurrently.
Some unfortunate interleavings of them can cause kernel panic.

One of cases is:
A --> B --> C --> D
A <-- B <-- C <-- D

delete list_head *B | delete list_head *C
--------------------------------|-----------------------------------
configfs_unregister_subsystem | configfs_unregister_subsystem
unlink_group | unlink_group
unlink_obj | unlink_obj
list_del_init | list_del_init
__list_del_entry | __list_del_entry
__list_del | __list_del
// next == C |
next->prev = prev |
| next->prev = prev
prev->next = next |
| // prev == B
| prev->next = next

Fix this by adding mutex when calling link_group() or unlink_group(),
but parent configfs_subsystem is NULL when config_item is root.
So I create a mutex configfs_subsystem_mutex.

Publication Date Aug. 22, 2024, 1:15 p.m.
Registration Date Aug. 26, 2024, 4:57 p.m.
Last Update Aug. 23, 2024, 10:54 a.m.
CVSS3.1 : MEDIUM
スコア 4.7
Vector CVSS:3.1/AV:L/AC:H/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:*:*:*:*:*:*:*:* 5.16 5.16.12
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.11 5.15.26
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.5 5.10.103
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 4.20 5.4.182
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 4.15 4.19.232
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 4.10 4.14.269
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 2.6.16 4.9.304
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 Feb. 22, 2022, midnight
Registration Date Aug. 26, 2024, 2:56 p.m.
Last Update Aug. 26, 2024, 2:56 p.m.
Affected System
Linux
Linux Kernel 2.6.16 以上 4.9.304 未満
Linux Kernel 4.10 以上 4.14.269 未満
Linux Kernel 4.15 以上 4.19.232 未満
Linux Kernel 4.20 以上 5.4.182 未満
Linux Kernel 5.11 以上 5.15.26 未満
Linux Kernel 5.16 以上 5.16.12 未満
Linux Kernel 5.5 以上 5.10.103 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
No Changed Details Date of change
1 [2024年08月26日]   掲載 Aug. 26, 2024, 11:19 a.m.