LinuxのLinux Kernelにおける解放済みメモリの使用に関する脆弱性
タイトル LinuxのLinux Kernelにおける解放済みメモリの使用に関する脆弱性
概要

Linuxカーネルにおいて、以下の脆弱性が修正されました。net: lan966x: lan966x_fdma_reload() における use-after-free とリークの問題を修正しました。lan966x_fdma_reload() が新しいRXバッファの割り当てに失敗した場合、復元パスはすでに lan966x_fdma_rx_free_pages() により解放されたページを持つ古いディスクリプタを使ってDMAを再開します。page_pool_put_full_page() はページをバディアロケータに返却する可能性があるため、ハードウェアが現在他のカーネルサブシステムに所有されているメモリにDMAを行うことがあります。さらに、復元パスでは、新しく作成されたページプール(割り当てが部分的に成功した場合)が破棄されずに上書きされるため、リークが発生します。古いページの解放を新しい割り当ての成功後まで延期することで、両方の問題を修正しました。割り当て前に古いページ配列を保存し、成功パスで古いページを解放できるようにしています。失敗パスでは、古いディスクリプタ、ページ、およびページプールがすべて有効なままであるため、復元が安全に行えます。また、復元パスでNAPIを再有効化し、成功パスと同様にnetdevを起動させることも保証しています。

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

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

公表日 2026年4月24日0:00
登録日 2026年4月30日12:32
最終更新日 2026年4月30日12:32
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 6.12
Linux Kernel 6.12.1 以上 6.12.82 未満
Linux Kernel 6.13 以上 6.18.23 未満
Linux Kernel 6.19 以上 6.19.13 未満
Linux Kernel 7.0
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
その他
変更履歴
No 変更内容 変更日
1 [2026年04月30日]
  掲載
2026年4月30日12:32

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

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

net: lan966x: fix use-after-free and leak in lan966x_fdma_reload()

When lan966x_fdma_reload() fails to allocate new RX buffers, the restore
path restarts DMA using old descriptors whose pages were already freed
via lan966x_fdma_rx_free_pages(). Since page_pool_put_full_page() can
release pages back to the buddy allocator, the hardware may DMA into
memory now owned by other kernel subsystems.

Additionally, on the restore path, the newly created page pool (if
allocation partially succeeded) is overwritten without being destroyed,
leaking it.

Fix both issues by deferring the release of old pages until after the
new allocation succeeds. Save the old page array before the allocation
so old pages can be freed on the success path. On the failure path, the
old descriptors, pages and page pool are all still valid, making the
restore safe. Also ensure the restore path re-enables NAPI and wakes
the netdev, matching the success path.

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