Skip to main content
Network Thinking Solutions Logo

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.

All CVEs
CVE-2025-38399Published 7/25/2025

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.

Vendor advisory
CVSS7.5High

Overview

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

Published
7/25/2025
Last modified
10/15/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 5.9, < 5.10.240

Verify advisory

Source
linux kernel
linux
≥ 5.11, < 5.15.187

Verify advisory

Source
linux kernel
linux
≥ 5.16, < 6.1.144

Verify advisory

Source
linux kernel
linux
≥ 6.2, < 6.6.97

Verify advisory

Source
linux kernel
linux
≥ 6.7, < 6.12.37

Verify advisory

Source
linux kernel
linux
≥ 6.13, < 6.15.6

Verify advisory

Source
linux kernel
linux
6.16

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
debian linux
debian
11.0

Verify advisory

Source
Linux
Linux
≥ f32ba612ef0f8eecaf6d2a5b04076ee7ea9ed039, < 70ddb8133fdb512d4b1f2b4fd1c9e518514f182c

Verify advisory

Source
Linux
Linux
≥ f32ba612ef0f8eecaf6d2a5b04076ee7ea9ed039, < 1129e0e0a833acf90429e0f13951068d5f026e4f

Verify advisory

Source
Linux
Linux
≥ f32ba612ef0f8eecaf6d2a5b04076ee7ea9ed039, < 1627dda4d70ceb1ba62af2e401af73c09abb1eb5

Verify advisory

Source
Linux
Linux
≥ f32ba612ef0f8eecaf6d2a5b04076ee7ea9ed039, < 55dfffc5e94730370b08de02c0cf3b7c951bbe9e

Verify advisory

Source
Linux
Linux
≥ f32ba612ef0f8eecaf6d2a5b04076ee7ea9ed039, < 7296c938df2445f342be456a6ff0b3931d97f4e5

Verify advisory

Source
Linux
Linux
≥ f32ba612ef0f8eecaf6d2a5b04076ee7ea9ed039, < c412185d557578d3f936537ed639c4ffaaed4075

Verify advisory

Source
Linux
Linux
≥ f32ba612ef0f8eecaf6d2a5b04076ee7ea9ed039, < d8ab68bdb294b09a761e967dad374f2965e1913f

Verify advisory

Source
Linux
Linux
5.9

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 7.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.