製品・ソフトウェアに関する情報
LinuxのLinux Kernelにおける二重解放に関する脆弱性
Title LinuxのLinux Kernelにおける二重解放に関する脆弱性
Summary

Linuxカーネルにおいて、以下の脆弱性が修正されました。xfrm: iptfsに関して、クローン設定後にのみmode_dataを公開します。iptfs_clone_state()はリオーダーウィンドウを割り当てる前にx-mode_dataを格納しますが、この割り当てが失敗した場合、コードはクローン状態を解放し-ENOMEMを返します。その際、x-mode_dataが解放済みメモリを指したままになる問題がありました。xfrmクローンのアンワインドは後でx-mode_dataを通じてdestroy_state()を実行するため、失敗したクローン経路はすでにclone_state()によって解放されたIPTFS状態を破壊してしまいます。これを防ぐため、すべての割り当てが成功するまでクローンしたIPTFS状態は非公開のままとし、失敗したクローンはx-mode_dataを未設定のままにします。destroyパスはNULLのmode_dataポインタを既に正常に処理しています。

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

リリース情報、またはパッチ情報が公開されています。参考情報を参照して適切な対策を実施してください。

Publication Date April 22, 2026, midnight
Registration Date May 8, 2026, 12:07 p.m.
Last Update May 8, 2026, 12:07 p.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
Linux
Linux Kernel 6.14 以上 6.18.21 未満
Linux Kernel 6.19 以上 6.19.11 未満
Linux Kernel 7.0
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
その他
Change Log
No Changed Details Date of change
1 [2026年05月08日]
  掲載
May 8, 2026, 12:07 p.m.

NVD Vulnerability Information
CVE-2026-31471
Summary

In the Linux kernel, the following vulnerability has been resolved:

xfrm: iptfs: only publish mode_data after clone setup

iptfs_clone_state() stores x->mode_data before allocating the reorder
window. If that allocation fails, the code frees the cloned state and
returns -ENOMEM, leaving x->mode_data pointing at freed memory.

The xfrm clone unwind later runs destroy_state() through x->mode_data,
so the failed clone path tears down IPTFS state that clone_state()
already freed.

Keep the cloned IPTFS state private until all allocations succeed so
failed clones leave x->mode_data unset. The destroy path already
handles a NULL mode_data pointer.

Publication Date April 22, 2026, 11:16 p.m.
Registration Date April 25, 2026, 4:05 a.m.
Last Update April 27, 2026, 11:16 p.m.
Related information, measures and tools
Common Vulnerabilities List