| Title | LinuxのLinux Kernelにおける解放済みメモリの使用に関する脆弱性 |
|---|---|
| Summary | Linuxカーネルにおいて、以下の脆弱性が修正されました。ksmbdにおけるアクティブなファイルハンドルの耐久性v2リプレイでのuse-after-freeの問題を修正しました。parse_durable_handle_context()関数は、SMB2_FLAGS_REPLAY_OPERATIONを持つDURABLE_REQ_V2コンテキストを処理する際に、dh_info-fp-connを無条件で現在の接続に割り当てます。ksmbd_lookup_fd_cguid()関数はfp-connでフィルタリングしないため、既にアクティブな接続が確立されているファイルハンドルを返します。この無条件の上書きによりfp-connが置き換えられ、その後上書きされた接続が解放されると、__ksmbd_close_fd()関数がspin_lock(&fp-conn-llist_lock)を用いて古いfp-connを参照し、use-after-freeが発生します。KASANレポートでは、_raw_spin_lock関数内でuse-after-freeが検出され、タスクkworker/1:2により問題のアドレスに対して4バイトの書き込みが行われたことが示されています。問題のアドレスは、サイズ1024バイトのkmalloc-1kキャッシュに属するオブジェクトの396バイト目に位置し、解放済み領域にアクセスしていました。 |
| Possible impacts | 当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 また、当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 さらに、当該ソフトウェアが完全に停止する可能性があります。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。 |
| Solution | リリース情報、またはパッチ情報が公開されています。参考情報を参照して適切な対策を実施してください。 |
| Publication Date | April 3, 2026, midnight |
| Registration Date | April 27, 2026, 11:24 a.m. |
| Last Update | April 27, 2026, 11:24 a.m. |
| CVSS3.0 : 重要 | |
| Score | 7.8 |
|---|---|
| Vector | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Linux |
| Linux Kernel 6.13 以上 6.18.20 未満 |
| Linux Kernel 6.19 以上 6.19.10 未満 |
| Linux Kernel 6.6.32 以上 6.6.130 未満 |
| Linux Kernel 6.9 |
| Linux Kernel 6.9.1 以上 6.12.78 未満 |
| Linux Kernel 7.0 |
| No | Changed Details | Date of change |
|---|---|---|
| 1 | [2026年04月27日] 掲載 |
April 27, 2026, 11:24 a.m. |
| Summary | In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix use-after-free in durable v2 replay of active file handles parse_durable_handle_context() unconditionally assigns dh_info->fp->conn KASAN report: [ 7.349357] ================================================================== |
|---|---|
| Publication Date | April 4, 2026, 1:16 a.m. |
| Registration Date | April 15, 2026, 11:24 a.m. |
| Last Update | April 24, 2026, 6:04 a.m. |
| Configuration1 | or higher | or less | more than | less than | |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.6.32 | 6.6.130 | |||
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.9.1 | 6.12.78 | |||
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.13 | 6.18.20 | |||
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.19 | 6.19.10 | |||
| cpe:2.3:o:linux:linux_kernel:6.9:-:*:*:*:*:*:* | |||||
| cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:* | |||||
| cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:* | |||||
| cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:* | |||||
| cpe:2.3:o:linux:linux_kernel:7.0:rc4:*:*:*:*:*:* | |||||
| cpe:2.3:o:linux:linux_kernel:7.0:rc5:*:*:*:*:*:* | |||||
| cpe:2.3:o:linux:linux_kernel:7.0:rc6:*:*:*:*:*:* | |||||
| cpe:2.3:o:linux:linux_kernel:7.0:rc7:*:*:*:*:*:* | |||||