| 概要 | In the Linux kernel, the following vulnerability has been resolved: tcp/dccp: Don't use timer_pending() in reqsk_queue_unlink(). Martin KaFai Lau reported use-after-free [0] in reqsk_timer_handler(). """ The commit 83fccfc3940c ("inet: fix potential deadlock in Before the timer is called, expire_timers() calls detach_timer(timer, true) If reqsk_queue_unlink() checks timer_pending() just after expire_timers() The reported UAF could happen if req->sk is close()d earlier than the timer The scenario would be 1. inet_csk_complete_hashdance() calls inet_csk_reqsk_queue_drop(), 2. reqsk timer is executed and scheduled again 3. req->sk is accept()ed and reqsk_put() decrements rsk_refcnt, but 4. sk is close()d 5. reqsk timer is executed again, and BPF touches req->sk Let's not use timer_pending() by passing the caller context to Note that reqsk timer is pinned, so the issue does not happen in most [0] Use-after-free read at 0x00000000a891fb3a (in kfence-#1): kfence-#1: 0x00000000a72cc7b6-0x00000000d97616d9, size=2376, cache=TCPv6 allocated by task 0 on cpu 9 at 260507.901592s: freed by task 0 on cpu 9 at 260507.927527s: |
|---|---|
| 公表日 | 2024年11月7日19:15 |
| 登録日 | 2024年11月8日5:00 |
| 最終更新日 | 2024年11月14日1:17 |
| CVSS3.1 : HIGH | |
| スコア | 7.0 |
|---|---|
| ベクター | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
| 攻撃元区分(AV) | ローカル |
| 攻撃条件の複雑さ(AC) | 高 |
| 攻撃に必要な特権レベル(PR) | 低 |
| 利用者の関与(UI) | 不要 |
| 影響の想定範囲(S) | 変更なし |
| 機密性への影響(C) | 高 |
| 完全性への影響(I) | 高 |
| 可用性への影響(A) | 高 |
| 構成1 | 以上 | 以下 | より上 | 未満 | |
| cpe:2.3:o:linux:linux_kernel:6.12:rc1:*:*:*:*:*:* | |||||
| cpe:2.3:o:linux:linux_kernel:6.12:rc2:*:*:*:*:*:* | |||||
| cpe:2.3:o:linux:linux_kernel:6.12:rc3:*:*:*:*:*:* | |||||
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.7 | 6.11.6 | |||
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.16 | 6.1.115 | |||
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.2 | 6.6.59 | |||
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 4.2 | 5.15.170 | |||
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 4.1.11 | 4.2 | |||
| タイトル | Linux の Linux Kernel における解放済みメモリの使用に関する脆弱性 |
|---|---|
| 概要 | Linux の Linux Kernel には、解放済みメモリの使用に関する脆弱性が存在します。 |
| 想定される影響 | 情報を取得される、情報を改ざんされる、およびサービス運用妨害 (DoS) 状態にされる可能性があります。 |
| 対策 | ベンダより正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。 |
| 公表日 | 2024年10月15日0:00 |
| 登録日 | 2024年11月14日11:46 |
| 最終更新日 | 2024年11月14日11:46 |
| Linux |
| Linux Kernel 4.1.11 以上 4.2 未満 |
| Linux Kernel 4.2 以上 5.15.170 未満 |
| Linux Kernel 5.16 以上 6.1.115 未満 |
| Linux Kernel 6.12 |
| Linux Kernel 6.2 以上 6.6.59 未満 |
| Linux Kernel 6.7 以上 6.11.6 未満 |
| No | 変更内容 | 変更日 |
|---|---|---|
| 1 | [2024年11月14日] 掲載 |
2024年11月14日11:46 |