CVE-2025-38399 Details
Description
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()
A NULL pointer dereference vulnerability has been identified in the Linux kernel's SCSI target module. The issue arises in the function 'core_scsi3_decode_spec_i_port()', where an unconditional call is made to 'core_scsi3_lunacl_undepend_item()' with a pointer that may be NULL. This flaw can lead to a NULL pointer dereference if the 'dest_se_deve' pointer is not properly set. The vulnerability is related to the SCSI Protocol Command (SPC-3) Persistent Reservations Specification I Initiator Port, where the destination target port group cannot be located, resulting in a kernel paging request error.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Oct 15, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/1129e0e0a833acf90429e0f13951068d5f026e4f | kernel.org | Patch |
| https://git.kernel.org/stable/c/1627dda4d70ceb1ba62af2e401af73c09abb1eb5 | kernel.org | Patch |
| https://git.kernel.org/stable/c/55dfffc5e94730370b08de02c0cf3b7c951bbe9e | kernel.org | Patch |
| https://git.kernel.org/stable/c/70ddb8133fdb512d4b1f2b4fd1c9e518514f182c | kernel.org | Patch |
| https://git.kernel.org/stable/c/7296c938df2445f342be456a6ff0b3931d97f4e5 | kernel.org | Patch |
| https://git.kernel.org/stable/c/c412185d557578d3f936537ed639c4ffaaed4075 | kernel.org | Patch |
| https://git.kernel.org/stable/c/d8ab68bdb294b09a761e967dad374f2965e1913f | kernel.org | Patch |
| https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html | CVE | Third Party Advisory |
| https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html | CVE | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-476 | NULL Pointer Dereference | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 5.9, < 5.10.240 >= 5.11, < 5.15.187 >= 5.16, < 6.1.144 >= 6.2, < 6.6.97 >= 6.7, < 6.12.37 >= 6.13, < 6.15.6 6.16 rc1 6.16 rc2 |
CPE
Remediation
| |
| debian debian linux | 11.0 |
CPE
Remediation
| |
Change History
8 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 15, 2026 | CVE Modified | kernel.org |
| Oct 15, 2026 | CVE Modified | CVE |
| Oct 15, 2026 | CVE Modified | CISA-ADP |
| Jul 30, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Dec 23, 2025 | Initial Analysis | [email protected] |
| Nov 3, 2025 | CVE Modified | CVE |
| Jul 25, 2025 | New CVE Received | kernel.org |