製品・ソフトウェアに関する情報
LinuxのLinux KernelにおけるNULL ポインタデリファレンスに関する脆弱性
Title LinuxのLinux KernelにおけるNULL ポインタデリファレンスに関する脆弱性
Summary

Linuxカーネルにおいて、以下の脆弱性が修正されました。vfio/cdxの割り込みトリガーパスにおけるNULLポインタ参照の問題を修正しました。vfio_cdx_set_msi_trigger()内では、cdx_irqs配列にアクセスする前にMSIが構成されているかどうかを検証する処理を追加しました。このチェックがない場合、ユーザースペースがVFIO_IRQ_SET_DATA_EVENTFDを使用して割り込みを設定する前に、VFIO_IRQ_SET_DATA_BOOLまたはVFIO_IRQ_SET_DATA_NONEフラグを用いてVFIO_DEVICE_SET_IRQSを呼び出すことでNULLポインタ参照が発生する可能性があります。vfio_cdx_msi_enable()関数は、EVENTFDパス経由で呼び出された場合にのみcdx_irqs配列を割り当て、config_msiを1に設定します。トリガーループ(DATA_BOOL/DATA_NONE)はこの処理が既に行われたと仮定していましたが、この呼び出し順序は強制されていませんでした。この保護はPCI VFIOドライバのvfio_pci_set_msi_trigger()がトリガーループの前にirq_is()をチェックする処理と一致しています。

Possible impacts ・当該ソフトウェアが扱う情報について、外部への漏えいは発生しません。 ・当該ソフトウェアが扱う情報について、書き換えは発生しません。 ・当該ソフトウェアが完全に停止する可能性があります。 
Solution

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

Publication Date May 27, 2026, midnight
Registration Date June 17, 2026, 3:41 p.m.
Last Update June 17, 2026, 3:41 p.m.
CVSS3.0 : 警告
Score 5.5
Vector CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected System
Linux
Linux Kernel 6.10 以上 6.12.86 未満
Linux Kernel 6.13 以上 6.18.27 未満
Linux Kernel 6.19 以上 7.0.4 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
その他
Change Log
No Changed Details Date of change
1 [2026年06月17日]
  掲載
June 17, 2026, 3:41 p.m.

NVD Vulnerability Information
CVE-2026-46034
Summary

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

vfio/cdx: Fix NULL pointer dereference in interrupt trigger path

Add validation to ensure MSI is configured before accessing cdx_irqs
array in vfio_cdx_set_msi_trigger(). Without this check, userspace
can trigger a NULL pointer dereference by calling VFIO_DEVICE_SET_IRQS
with VFIO_IRQ_SET_DATA_BOOL or VFIO_IRQ_SET_DATA_NONE flags before
ever setting up interrupts via VFIO_IRQ_SET_DATA_EVENTFD.

The vfio_cdx_msi_enable() function allocates the cdx_irqs array and
sets config_msi to 1 only when called through the EVENTFD path. The
trigger loop (for DATA_BOOL/DATA_NONE) assumed this had already been
done, but there was no enforcement of this call ordering.

This matches the protection used in the PCI VFIO driver where
vfio_pci_set_msi_trigger() checks irq_is() before the trigger loop.

Publication Date May 27, 2026, 11:17 p.m.
Registration Date May 28, 2026, 4:13 a.m.
Last Update May 27, 2026, 11:48 p.m.
Related information, measures and tools
Common Vulnerabilities List