SCSIターゲットコアのNULLポインタ参照に関する脆弱性
タイトル SCSIターゲットコアのNULLポインタ参照に関する脆弱性
概要

Linuxカーネルに存在する脆弱性により、scsi: target: core_scsi3_decode_spec_i_port()関数でNULLポインタ参照が発生する可能性があります。これは、dest_se_deveポインタがNULLの場合にcore_scsi3_lunacl_undepend_item()が呼び出されることで発生します。NULLチェックを追加することで、この脆弱性が修正されました。

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

正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

公表日 2025年7月25日0:00
登録日 2025年12月25日16:59
最終更新日 2025年12月25日16:59
CVSS3.0 : 警告
スコア 5.5
ベクター CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
影響を受けるシステム
Debian
Debian GNU/Linux 11.0
Linux
Linux Kernel 5.11 から 5.15.187 未満
Linux Kernel 5.16 から 6.1.144 未満
Linux Kernel 5.9 から 5.10.240 未満
Linux Kernel 6.13 から 6.15.6 未満
Linux Kernel 6.16
Linux Kernel 6.2 から 6.6.97 未満
Linux Kernel 6.7 から 6.12.37 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
変更履歴
No 変更内容 変更日
1 [2025年12月25日]
  掲載
2025年12月25日16:59

NVD脆弱性情報
CVE-2025-38399
概要

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

scsi: target: Fix NULL pointer dereference in core_scsi3_decode_spec_i_port()

The function core_scsi3_decode_spec_i_port(), in its error code path,
unconditionally calls core_scsi3_lunacl_undepend_item() passing the
dest_se_deve pointer, which may be NULL.

This can lead to a NULL pointer dereference if dest_se_deve remains
unset.

SPC-3 PR SPEC_I_PT: Unable to locate dest_tpg
Unable to handle kernel paging request at virtual address dfff800000000012
Call trace:
core_scsi3_lunacl_undepend_item+0x2c/0xf0 [target_core_mod] (P)
core_scsi3_decode_spec_i_port+0x120c/0x1c30 [target_core_mod]
core_scsi3_emulate_pro_register+0x6b8/0xcd8 [target_core_mod]
target_scsi3_emulate_pr_out+0x56c/0x840 [target_core_mod]

Fix this by adding a NULL check before calling
core_scsi3_lunacl_undepend_item()

公表日 2025年7月25日22:15
登録日 2025年7月26日4:01
最終更新日 2025年7月25日22:15
関連情報、対策とツール
共通脆弱性一覧