LinuxのLinux Kernelにおける二重解放に関する脆弱性
タイトル LinuxのLinux Kernelにおける二重解放に関する脆弱性
概要

Linuxカーネルにおいて、RDMA/irdmaのrereg_user_mrに関連する二重解放の脆弱性が修正されました。IB_MR_REREG_TRANSがrereg_user_mrの実行中に設定されると、umemが解放され、新しいumemがirdma_rereg_mr_transで割り当てられますが、割り当て後のステップで失敗した際にiwmr-regionがNULLに設定されない問題が存在していました。このため、dereg_mr処理において非NULLのumemが検出され、二重解放が発生しました。この問題は、ib_umem_release後にiwmr-regionをNULLに設定することで修正されました。

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

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

公表日 2026年5月6日0:00
登録日 2026年5月14日10:17
最終更新日 2026年5月14日10:17
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.13 以上 6.18.24 未満
Linux Kernel 6.19 以上 6.19.14 未満
Linux Kernel 6.6.120 以上 6.6.136 未満
Linux Kernel 6.7 以上 6.12.83 未満
Linux Kernel 7.0
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
その他
変更履歴
No 変更内容 変更日
1 [2026年05月14日]
  掲載
2026年5月14日10:17

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

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

RDMA/irdma: Fix double free related to rereg_user_mr

If IB_MR_REREG_TRANS is set during rereg_user_mr, the
umem will be released and a new one will be allocated
in irdma_rereg_mr_trans. If any step of irdma_rereg_mr_trans
fails after the new umem is allocated, it releases the umem,
but does not set iwmr->region to NULL. The problem is that
this failure is propagated to the user, who will then call
ibv_dereg_mr (as they should). Then, the dereg_mr path will
see a non-NULL umem and attempt to call ib_umem_release again.

Fix this by setting iwmr->region to NULL after ib_umem_release.

Fixed: 5ac388db27c4 ("RDMA/irdma: Add support to re-register a memory region")

公表日 2026年5月6日19:16
登録日 2026年5月7日4:08
最終更新日 2026年5月8日22:16
関連情報、対策とツール
共通脆弱性一覧