Back to CVE records
High 7.5Published Jul 25, 2025

CVE-2025-38399scsi: target: Fix NULL pointer dereference in core_scsi3_decode_spec_i_port()

Updated under an hour ago ()

Does this affect you?

It affects Linux and 2 other products. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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()

CVSS
7.5 HIGH (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness (CWE)
Not given
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
Linux
NVD analysis
Modified
Record last updated
Oct 15, 2026
First seen by InfoSec Signals
Oct 15, 2026

Affected products

Affected products
Linux Linux
linux:linux (from the name)
from f32ba612ef0f8eecaf6d2a5b04076ee7ea9ed039 before 70ddb8133fdb512d4b1f2b4fd1c9e518514f182c; from f32ba612ef0f8eecaf6d2a5b04076ee7ea9ed039 before 1129e0e0a833acf90429e0f13951068d5f026e4f; from f32ba612ef0f8eecaf6d2a5b04076ee7ea9ed039 before 1627dda4d70ceb1ba62af2e401af73c09abb1eb5; from f32ba612ef0f8eecaf6d2a5b04076ee7ea9ed039 before 55dfffc5e94730370b08de02c0cf3b7c951bbe9e; from f32ba612ef0f8eecaf6d2a5b04076ee7ea9ed039 before 7296c938df2445f342be456a6ff0b3931d97f4e5; from f32ba612ef0f8eecaf6d2a5b04076ee7ea9ed039 before c412185d557578d3f936537ed639c4ffaaed4075; from f32ba612ef0f8eecaf6d2a5b04076ee7ea9ed039 before d8ab68bdb294b09a761e967dad374f2965e1913f
CNA record
linux linux_kernel
linux:linux_kernel
from 5.9 before 5.10.240; from 5.11 before 5.15.187; from 5.16 before 6.1.144; from 6.2 before 6.6.97; from 6.7 before 6.12.37; from 6.13 before 6.15.6; 6.16; 6.16
NVD
debian debian_linux
debian:debian_linux
11.0
NVD

References

  • patch
  • patch
  • patch
  • patch
  • patch
  • patch
  • patch
  • third-party-advisory
  • third-party-advisory

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.