| 概要 | In the Linux kernel, the following vulnerability has been resolved: usb: gadget: f_ncm: fix potential NULL ptr deref in ncm_bitrate() In Google internal bug 265639009 we've received an (as yet) unreproducible AFAICT the source code is at: The call stack is: Which I believe disassembles to (I don't know ARM assembly, but it looks sane enough to me...): // halfword (16-bit) store presumably to event->wLength (at offset 6 of struct usb_cdc_notification) // word (32-bit) store presumably to req->Length (at offset 8 of struct usb_request) // x10 (NULL) was read here from offset 0 of valid pointer x9 // loading req->buf pointer, which is at offset 0 of struct usb_request // x10 is null, crash, appears to be attempt to read cdev->gadget->max_speed which seems to line up with ncm_do_notify() case NCM_NOTIFY_SPEED code fragment: event->wLength = cpu_to_le16(8); /* SPEED_CHANGE data is up/down speeds in bits/sec */ My analysis of registers and NULL ptr deref crash offset AFAICT, if I'm counting right, the offset of max_speed is indeed 0x5C. It's not at all clear to me how this is all supposed to work... |
|---|---|
| 公表日 | 2024年8月21日16:15 |
| 登録日 | 2024年8月26日16:58 |
| 最終更新日 | 2024年9月12日1:27 |
| CVSS3.1 : MEDIUM | |
| スコア | 5.5 |
|---|---|
| ベクター | 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) | 高 |
| 構成1 | 以上 | 以下 | より上 | 未満 | |
| cpe:2.3:o:linux:linux_kernel:6.2:rc1:*:*:*:*:*:* | |||||
| cpe:2.3:o:linux:linux_kernel:6.2:rc2:*:*:*:*:*:* | |||||
| cpe:2.3:o:linux:linux_kernel:6.2:rc3:*:*:*:*:*:* | |||||
| cpe:2.3:o:linux:linux_kernel:6.2:rc4:*:*:*:*:*:* | |||||
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.16 | 6.1.8 | |||
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.11 | 5.15.90 | |||
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.5 | 5.10.165 | |||
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 4.20 | 5.4.230 | |||
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 4.15 | 4.19.271 | |||
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 4.14.304 | ||||
| タイトル | Linux の Linux Kernel における NULL ポインタデリファレンスに関する脆弱性 |
|---|---|
| 概要 | Linux の Linux Kernel には、NULL ポインタデリファレンスに関する脆弱性が存在します。 |
| 想定される影響 | サービス運用妨害 (DoS) 状態にされる可能性があります。 |
| 対策 | ベンダより正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。 |
| 公表日 | 2023年1月17日0:00 |
| 登録日 | 2024年9月12日11:44 |
| 最終更新日 | 2024年9月12日11:44 |
| Linux |
| Linux Kernel 4.14.304 未満 |
| Linux Kernel 4.15 以上 4.19.271 未満 |
| Linux Kernel 4.20 以上 5.4.230 未満 |
| Linux Kernel 5.11 以上 5.15.90 未満 |
| Linux Kernel 5.16 以上 6.1.8 未満 |
| Linux Kernel 5.5 以上 5.10.165 未満 |
| Linux Kernel 6.2 |
| No | 変更内容 | 変更日 |
|---|---|---|
| 1 | [2024年09月12日] 掲載 |
2024年9月12日11:44 |