LinuxのLinux Kernelにおける不特定の脆弱性
タイトル LinuxのLinux Kernelにおける不特定の脆弱性
概要

Linuxカーネルにおいて、net: ipv6: flowlabelに存在した脆弱性が修正されました。ip6fl_seq_show()関数はseq-fileのRCU読み取り側ロック下でグローバルなflowlabelハッシュを巡回し、オプションブロックが存在する場合にfl-opt-opt_nflenを表示します。排他的なflowlabelはfl_release()でfl-usersがゼロになるとすぐにfl-optを解放しますが、struct ip6_flowlabelは後のRCUガベージコレクションまでグローバルハッシュテーブル内に残ります。そのため、同時に/proc/net/ip6_flowlabelを読み取る処理で早期のkfree()と競合し、解放済みオプションを参照することでip6fl_seq_show()がクラッシュする可能性がありました。この問題はfl_free_rcu()までfl-optの存続を保持することで修正され、RCU下で安全に読み取りができるようになりました。

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

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

公表日 2026年4月25日0:00
登録日 2026年5月8日12:07
最終更新日 2026年5月8日12:07
CVSS3.0 : 重要
スコア 7.8
ベクター CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
影響を受けるシステム
Linux
Linux Kernel 3.9 以上 5.10.253 未満
Linux Kernel 5.11 以上 5.15.203 未満
Linux Kernel 5.16 以上 6.1.168 未満
Linux Kernel 6.13 以上 6.18.22 未満
Linux Kernel 6.19 以上 6.19.12 未満
Linux Kernel 6.2 以上 6.6.134 未満
Linux Kernel 6.7 以上 6.12.81 未満
Linux Kernel 7.0
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
その他
変更履歴
No 変更内容 変更日
1 [2026年05月08日]
  掲載
2026年5月8日12:07

NVD脆弱性情報
CVE-2026-31680
概要

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

net: ipv6: flowlabel: defer exclusive option free until RCU teardown

`ip6fl_seq_show()` walks the global flowlabel hash under the seq-file
RCU read-side lock and prints `fl->opt->opt_nflen` when an option block
is present.

Exclusive flowlabels currently free `fl->opt` as soon as `fl->users`
drops to zero in `fl_release()`. However, the surrounding
`struct ip6_flowlabel` remains visible in the global hash table until
later garbage collection removes it and `fl_free_rcu()` finally tears it
down.

A concurrent `/proc/net/ip6_flowlabel` reader can therefore race that
early `kfree()` and dereference freed option state, triggering a crash
in `ip6fl_seq_show()`.

Fix this by keeping `fl->opt` alive until `fl_free_rcu()`. That matches
the lifetime already required for the enclosing flowlabel while readers
can still reach it under RCU.

公表日 2026年4月25日18:16
登録日 2026年4月26日4:07
最終更新日 2026年4月28日3:32
関連情報、対策とツール
共通脆弱性一覧