製品・ソフトウェアに関する情報
FreeBSDにおける解放済みメモリの使用に関する脆弱性
Title FreeBSDにおける解放済みメモリの使用に関する脆弱性
Summary

スレッドがpoll(2)またはselect(2)呼び出しでファイル記述子を待機している間に、そのファイル記述子が閉じられる可能性があります。ブロック中のスレッドは基になるオブジェクトへの参照を保持していないため、この閉鎖によりスレッドがブロックされたままオブジェクトが解放される事態が発生します。この状況下では、カーネルはオブジェクトを解放する前にブロックされたスレッドをオブジェクト毎の待機キューから削除する必要があります。特定のファイル記述子タイプにおいて、カーネルはオブジェクト解放前にブロックされたスレッドをオブジェクトからリンク解除できていませんでした。そのため、ブロックされたスレッドがその後に起床すると、既に解放されたメモリにアクセスし、use-after-freeの脆弱性を引き起こします。このuse-after-free脆弱性は特権のないローカルユーザーによってトリガーされ、スーパーユーザー権限を取得するために悪用される可能性があります。

Possible impacts 当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 また、当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 さらに、当該ソフトウェアが完全に停止する可能性があります。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。 
Solution

正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

Publication Date May 21, 2026, midnight
Registration Date May 25, 2026, 10:19 a.m.
Last Update May 25, 2026, 10:19 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
Affected System
FreeBSD
FreeBSD 14.3
FreeBSD 14.4
FreeBSD 15.0
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
No Changed Details Date of change
1 [2026年05月25日]
  掲載
May 25, 2026, 10:19 a.m.

NVD Vulnerability Information
CVE-2026-45251
Summary

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.

Publication Date May 21, 2026, 7:16 p.m.
Registration Date May 22, 2026, 4:07 a.m.
Last Update May 22, 2026, 12:16 a.m.
Related information, measures and tools
Common Vulnerabilities List