| タイトル | FreeBSDにおける解放済みメモリの使用に関する脆弱性 |
|---|---|
| 概要 | スレッドがpoll(2)またはselect(2)呼び出しでファイル記述子を待機している間に、そのファイル記述子が閉じられる可能性があります。ブロック中のスレッドは基になるオブジェクトへの参照を保持していないため、この閉鎖によりスレッドがブロックされたままオブジェクトが解放される事態が発生します。この状況下では、カーネルはオブジェクトを解放する前にブロックされたスレッドをオブジェクト毎の待機キューから削除する必要があります。特定のファイル記述子タイプにおいて、カーネルはオブジェクト解放前にブロックされたスレッドをオブジェクトからリンク解除できていませんでした。そのため、ブロックされたスレッドがその後に起床すると、既に解放されたメモリにアクセスし、use-after-freeの脆弱性を引き起こします。このuse-after-free脆弱性は特権のないローカルユーザーによってトリガーされ、スーパーユーザー権限を取得するために悪用される可能性があります。 |
| 想定される影響 | 当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 また、当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 さらに、当該ソフトウェアが完全に停止する可能性があります。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。 |
| 対策 | 正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。 |
| 公表日 | 2026年5月21日0:00 |
| 登録日 | 2026年5月25日10:19 |
| 最終更新日 | 2026年5月25日10:19 |
| CVSS3.0 : 重要 | |
| スコア | 7.8 |
|---|---|
| ベクター | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| FreeBSD |
| FreeBSD 14.3 |
| FreeBSD 14.4 |
| FreeBSD 15.0 |
| No | 変更内容 | 変更日 |
|---|---|---|
| 1 | [2026年05月25日] 掲載 |
2026年5月25日10:19 |
| 概要 | A file descriptor can be closed while a thread is blocked in a poll(2) or select(2) call waiting for that descriptor. Because the blocked thread does not hold a reference to the underlying object, this closure may result in the object being freed while the thread remains blocked. In this situation, the kernel must remove the blocked thread from the per-object wait queue prior to freeing the object. In the case of some file descriptor types, the kernel failed to unlink blocked threads from the object before freeing it. When the blocked thread is subsequently woken, it accesses memory that has already been freed resulting in a use-after-free vulnerability. The use-after-free vulnerability may be triggered by an unprivileged local user and can be exploited to obtain superuser privileges. |
|---|---|
| 公表日 | 2026年5月21日19:16 |
| 登録日 | 2026年5月22日4:07 |
| 最終更新日 | 2026年5月22日0:16 |