NVD Vulnerability Detail
Search Exploit, PoC
CVE-2023-52609
Summary

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.

Publication Date March 18, 2024, 8:15 p.m.
Registration Date March 19, 2024, 10:01 a.m.
Last Update March 11, 2025, 12:10 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 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
Configuration2 or higher or less more than less than
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
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 Dec. 5, 2023, midnight
Registration Date March 12, 2025, 8:35 a.m.
Last Update March 12, 2025, 8:35 a.m.
Affected System
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 (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
No Changed Details Date of change
1 [2025年03月12日]
  掲載
March 12, 2025, 8:35 a.m.