CVE-2023-52609
概要

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

binder: fix race between mmput() and do_exit()

Task A calls binder_update_page_range() to allocate and insert pages on
a remote address space from Task B. For this, Task A pins the remote mm
via mmget_not_zero() first. This can race with Task B do_exit() and the
final mmput() refcount decrement will come from Task A.

Task A | Task B
------------------+------------------
mmget_not_zero() |
| do_exit()
| exit_mm()
| mmput()
mmput() |
exit_mmap() |
remove_vma() |
fput() |

In this case, the work of ____fput() from Task B is queued up in Task A
as TWA_RESUME. So in theory, Task A returns to userspace and the cleanup
work gets executed. However, Task A instead sleep, waiting for a reply
from Task B that never comes (it's dead).

This means the binder_deferred_release() is blocked until an unrelated
binder event forces Task A to go back to userspace. All the associated
death notifications will also be delayed until then.

In order to fix this use mmput_async() that will schedule the work in
the corresponding mm->async_put_work WQ instead of Task A.

公表日 2024年3月18日20:15
登録日 2024年3月19日10:01
最終更新日 2025年3月11日0:10
CVSS3.1 : MEDIUM
スコア 4.7
ベクター 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)
影響を受けるソフトウェアの構成
構成1 以上 以下 より上 未満
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.16 6.1.75
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.2 6.6.14
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.7 6.7.2
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 4.20 5.4.268
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.11 5.15.148
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.5 5.10.209
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 2.6.29 4.19.306
構成2 以上 以下 より上 未満
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
関連情報、対策とツール
共通脆弱性一覧

JVN脆弱性情報
Linux の Linux Kernel 等複数ベンダの製品における競合状態に関する脆弱性
タイトル Linux の Linux Kernel 等複数ベンダの製品における競合状態に関する脆弱性
概要

Linux の Linux Kernel 等複数ベンダの製品には、競合状態に関する脆弱性が存在します。

想定される影響 サービス運用妨害 (DoS) 状態にされる可能性があります。 
対策

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

公表日 2023年12月5日0:00
登録日 2025年3月12日8:35
最終更新日 2025年3月12日8:35
影響を受けるシステム
Debian
Debian GNU/Linux 10.0
Linux
Linux Kernel 2.6.29 以上 4.19.306 未満
Linux Kernel 4.20 以上 5.4.268 未満
Linux Kernel 5.11 以上 5.15.148 未満
Linux Kernel 5.16 以上 6.1.75 未満
Linux Kernel 5.5 以上 5.10.209 未満
Linux Kernel 6.2 以上 6.6.14 未満
Linux Kernel 6.7 以上 6.7.2 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
変更履歴
No 変更内容 変更日
1 [2025年03月12日]
  掲載
2025年3月12日8:35