| Summary | In the Linux kernel, the following vulnerability has been resolved: kcm: Serialise kcm_sendmsg() for the same socket. syzkaller reported UAF in kcm_release(). [0] The scenario is 1. Thread A builds a skb with MSG_MORE and sets kcm->seq_skb. 2. Thread A resumes building skb from kcm->seq_skb but is blocked 3. Thread B calls sendmsg() concurrently, finishes building kcm->seq_skb 4. Thread A faces an error and finally frees skb that is already in the 5. kcm_release() does double-free the skb in the write queue When a thread is building a MSG_MORE skb, another thread must not touch it. Let's add a per-sk mutex and serialise kcm_sendmsg(). [0]: CPU: 1 PID: 6167 Comm: syz-executor329 Tainted: G B 6.8.0-rc5-syzkaller-g9abbc24128bc #0 Allocated by task 6166: |
|---|---|
| Publication Date | Aug. 31, 2024, 11:15 p.m. |
| Registration Date | Sept. 1, 2024, 5 a.m. |
| Last Update | Sept. 4, 2024, 9:15 p.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) | 高 |
| Configuration1 | or higher | or less | more than | less than | |
| cpe:2.3:o:linux:linux_kernel:6.11:rc1:*:*:*:*:*:* | |||||
| cpe:2.3:o:linux:linux_kernel:6.11:rc4:*:*:*:*:*:* | |||||
| cpe:2.3:o:linux:linux_kernel:6.11:rc3:*:*:*:*:*:* | |||||
| cpe:2.3:o:linux:linux_kernel:6.11:rc2:*:*:*:*:*:* | |||||
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.7 | 6.10.7 | |||
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.2 | 6.6.48 | |||
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 4.6 | 6.1.107 | |||
| Title | Linux の Linux Kernel における解放済みメモリの使用に関する脆弱性 |
|---|---|
| Summary | Linux の Linux Kernel には、解放済みメモリの使用に関する脆弱性が存在します。 |
| Possible impacts | サービス運用妨害 (DoS) 状態にされる可能性があります。 |
| Solution | ベンダより正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。 |
| Publication Date | Aug. 19, 2024, midnight |
| Registration Date | Sept. 5, 2024, 2:28 p.m. |
| Last Update | Sept. 5, 2024, 2:28 p.m. |
| Linux |
| Linux Kernel 4.6 以上 6.1.107 未満 |
| Linux Kernel 6.11 |
| Linux Kernel 6.2 以上 6.6.48 未満 |
| Linux Kernel 6.7 以上 6.10.7 未満 |
| No | Changed Details | Date of change |
|---|---|---|
| 1 | [2024年09月05日] 掲載 |
Sept. 5, 2024, 2:28 p.m. |