Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2025-38399

published high CVSS 3.1 · 7.5

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

Published
25 Jul 2025, 12:53:43 UTC
Updated
15 Oct 2026, 21:52:15 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxf32ba612ef0f8eecaf6d2a5b04076ee7ea9ed039 to < 70ddb8133fdb512d4b1f2b4fd1c9e518514f182c · f32ba612ef0f8eecaf6d2a5b04076ee7ea9ed039 to < 1129e0e0a833acf90429e0f13951068d5f026e4f · f32ba612ef0f8eecaf6d2a5b04076ee7ea9ed039 to < 1627dda4d70ceb1ba62af2e401af73c09abb1eb5 · f32ba612ef0f8eecaf6d2a5b04076ee7ea9ed039 to < 55dfffc5e94730370b08de02c0cf3b7c951bbe9e · f32ba612ef0f8eecaf6d2a5b04076ee7ea9ed039 to < 7296c938df2445f342be456a6ff0b3931d97f4e5 · f32ba612ef0f8eecaf6d2a5b04076ee7ea9ed039 to < c412185d557578d3f936537ed639c4ffaaed4075 · f32ba612ef0f8eecaf6d2a5b04076ee7ea9ed039 to < d8ab68bdb294b09a761e967dad374f2965e1913f · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.9 (affected) · 0 to < 5.9 (unaffected · semver) · 5.10.240 through 5.10.* (unaffected · semver) · 5.15.187 through 5.15.* (unaffected · semver) · 6.1.144 through 6.1.* (unaffected · semver) · 6.6.97 through 6.6.* (unaffected · semver) · 6.12.37 through 6.12.* (unaffected · semver) · 6.15.6 through 6.15.* (unaffected · semver) · 6.16 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Pending Fix Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.10-2025-101 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.15-2025-084 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2025-1111 Fixed Not stated Amazon Linux assessment
Debian bookworm linux Advisory build 6.1.147-1 DSA-5973-1
Oracle Linux 10 kernel-uekaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Show 99 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Amazon Linux AL2023 Release evaluationALAS2023-2025-1130 Fixed Not stated Amazon Linux assessment
Debian bullseye linux Advisory build 5.10.244-1 DLA-4327-1
Debian bullseye linux-6.1 Advisory build 6.1.153-1~deb11u1 DLA-4328-1
Oracle Linux 10 kernel-uekx86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-coreaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-corex86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debugaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debugx86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-coreaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-corex86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-develaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-develx86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-modulesaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-modulesx86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-modules-coreaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-modules-corex86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-modules-deprecatedaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-modules-deprecatedx86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-modules-desktopaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-modules-desktopx86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-modules-extraaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-modules-extrax86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-modules-usbaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-modules-usbx86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-modules-wirelessaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-modules-wirelessx86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-develaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-develx86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-docx86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-modulesaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-modulesx86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-modules-coreaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-modules-corex86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-modules-deprecatedaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-modules-deprecatedx86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-modules-desktopaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-modules-desktopx86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-modules-extraaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-modules-extrax86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-modules-usbaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-modules-usbx86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-modules-wirelessaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-modules-wirelessx86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-toolsaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-toolsx86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek64kaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek64k-coreaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek64k-develaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek64k-modulesaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek64k-modules-coreaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek64k-modules-deprecatedaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek64k-modules-desktopaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek64k-modules-extraaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek64k-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek64k-modules-usbaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek64k-modules-wirelessaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 8 bpftoolaarch64 Advisory build 0:5.15.0-312.187.5.el8uek ELSA-2025-20552
Oracle Linux 8 bpftoolx86_64 Advisory build 0:5.15.0-312.187.5.el8uek ELSA-2025-20552
Oracle Linux 8 kernel-uekaarch64 Advisory build 0:5.15.0-312.187.5.el8uek ELSA-2025-20552
Oracle Linux 8 kernel-uekx86_64 Advisory build 0:5.15.0-312.187.5.el8uek ELSA-2025-20552
Oracle Linux 8 kernel-uek-containeraarch64 Advisory build 0:5.15.0-312.187.5.el8uek ELSA-2025-20552
Oracle Linux 8 kernel-uek-containerx86_64 Advisory build 0:5.15.0-312.187.5.el8uek ELSA-2025-20552
Oracle Linux 8 kernel-uek-container-debugaarch64 Advisory build 0:5.15.0-312.187.5.el8uek ELSA-2025-20552
Oracle Linux 8 kernel-uek-container-debugx86_64 Advisory build 0:5.15.0-312.187.5.el8uek ELSA-2025-20552
Oracle Linux 8 kernel-uek-coreaarch64 Advisory build 0:5.15.0-312.187.5.el8uek ELSA-2025-20552
Oracle Linux 8 kernel-uek-corex86_64 Advisory build 0:5.15.0-312.187.5.el8uek ELSA-2025-20552
Oracle Linux 8 kernel-uek-debugaarch64 Advisory build 0:5.15.0-312.187.5.el8uek ELSA-2025-20552
Oracle Linux 8 kernel-uek-debugx86_64 Advisory build 0:5.15.0-312.187.5.el8uek ELSA-2025-20552
Oracle Linux 8 kernel-uek-debug-coreaarch64 Advisory build 0:5.15.0-312.187.5.el8uek ELSA-2025-20552
Oracle Linux 8 kernel-uek-debug-corex86_64 Advisory build 0:5.15.0-312.187.5.el8uek ELSA-2025-20552
Oracle Linux 8 kernel-uek-debug-develaarch64 Advisory build 0:5.15.0-312.187.5.el8uek ELSA-2025-20552
Oracle Linux 8 kernel-uek-debug-develx86_64 Advisory build 0:5.15.0-312.187.5.el8uek ELSA-2025-20552
Oracle Linux 8 kernel-uek-debug-modulesaarch64 Advisory build 0:5.15.0-312.187.5.el8uek ELSA-2025-20552
Oracle Linux 8 kernel-uek-debug-modulesx86_64 Advisory build 0:5.15.0-312.187.5.el8uek ELSA-2025-20552
Oracle Linux 8 kernel-uek-debug-modules-extraaarch64 Advisory build 0:5.15.0-312.187.5.el8uek ELSA-2025-20552
Oracle Linux 8 kernel-uek-debug-modules-extrax86_64 Advisory build 0:5.15.0-312.187.5.el8uek ELSA-2025-20552
Oracle Linux 8 kernel-uek-develaarch64 Advisory build 0:5.15.0-312.187.5.el8uek ELSA-2025-20552
Oracle Linux 8 kernel-uek-develx86_64 Advisory build 0:5.15.0-312.187.5.el8uek ELSA-2025-20552
Oracle Linux 8 kernel-uek-docaarch64 Advisory build 0:5.15.0-312.187.5.el8uek ELSA-2025-20552
Oracle Linux 8 kernel-uek-docx86_64 Advisory build 0:5.15.0-312.187.5.el8uek ELSA-2025-20552
Oracle Linux 8 kernel-uek-modulesaarch64 Advisory build 0:5.15.0-312.187.5.el8uek ELSA-2025-20552
Oracle Linux 8 kernel-uek-modulesx86_64 Advisory build 0:5.15.0-312.187.5.el8uek ELSA-2025-20552
Oracle Linux 8 kernel-uek-modules-extraaarch64 Advisory build 0:5.15.0-312.187.5.el8uek ELSA-2025-20552
Oracle Linux 8 kernel-uek-modules-extrax86_64 Advisory build 0:5.15.0-312.187.5.el8uek ELSA-2025-20552
Oracle Linux 9 bpftoolaarch64 Advisory build 0:5.15.0-312.187.5.el9uek ELSA-2025-20552
Oracle Linux 9 bpftoolx86_64 Advisory build 0:5.15.0-312.187.5.el9uek ELSA-2025-20552
Oracle Linux 9 kernel-uekaarch64 Advisory build 0:5.15.0-312.187.5.el9uek ELSA-2025-20552
Oracle Linux 9 kernel-uekaarch64 Advisory build 0:6.12.0-103.40.4.1.el9uek ELSA-2025-20551
Oracle Linux 9 kernel-uekx86_64 Advisory build 0:5.15.0-312.187.5.el9uek ELSA-2025-20552
Oracle Linux 9 kernel-uekx86_64 Advisory build 0:6.12.0-103.40.4.1.el9uek ELSA-2025-20551
Oracle Linux 9 kernel-uek-containeraarch64 Advisory build 0:5.15.0-312.187.5.el9uek ELSA-2025-20552
Oracle Linux 9 kernel-uek-containerx86_64 Advisory build 0:5.15.0-312.187.5.el9uek ELSA-2025-20552
Oracle Linux 9 kernel-uek-container-debugaarch64 Advisory build 0:5.15.0-312.187.5.el9uek ELSA-2025-20552
Oracle Linux 9 kernel-uek-container-debugx86_64 Advisory build 0:5.15.0-312.187.5.el9uek ELSA-2025-20552
Oracle Linux 9 kernel-uek-coreaarch64 Advisory build 0:5.15.0-312.187.5.el9uek ELSA-2025-20552

Package entries are limited to the first 100 builds and 100 linked advisories.

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

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

58

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.5 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Scenarios
en: AV:N - The vulnerable code is in the fabric-independent LIO SCSI target core, reached by parsing a PERSISTENT RESERVE OUT CDB and parameter list sent by a remote initiator; the flagship fabric (iscsi_target) accepts these over TCP/3260, so a remote peer on the network can deliver the malicious payload. AC:L - The attacker fully controls every precondition (service action, res_key=0, sa_res_key!=0, SPEC_I_PT bit, and the parameter list length/TransportID contents), and the NULL pointer is unconditionally present on the very first list entry, so a single malformed PR OUT command crashes the kernel deterministically with no race or memory-layout dependency. PR:N - LIO iSCSI targets are routinely deployed without CHAP, where the only "credential" is a self-asserted InitiatorName that is discoverable via a SendTargets discovery session, and demo-mode (generate_node_acls=1) grants any peer a mapped LUN outright — so an unauthenticated network attacker can establish the nexus needed to issue the command. UI:N - The crash is triggered purely by the attacker sending one SCSI command over an established I_T nexus; no action by any local user or administrator is needed. S:U - The NULL dereference occurs in the kernel that owns the target device and its impact is confined to that same kernel's security authority, with no crossing of a VM, IOMMU, or sandbox boundary. C:N - The fault is a read of a fixed small offset (se_deve->se_lun_acl) off a NULL pointer; no attacker-influenced offset, no out-of-bounds read, and no data is returned to the initiator, so nothing is disclosed. I:N - No memory is written and no attacker-controlled data reaches a store; the dereference faults on a read before any state modification, giving no write or control-flow primitive. A:H - The NULL pointer dereference produces a kernel oops (full panic with panic_on_oops) that can be re-triggered at will by an unauthenticated initiator, and the killed command context strands se_lun->lun_ref percpu references so the target subsystem hangs on teardown.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux f32ba612ef0f8eecaf6d2a5b04076ee7ea9ed039 to < 70ddb8133fdb512d4b1f2b4fd1c9e518514f182c (affected · git)f32ba612ef0f8eecaf6d2a5b04076ee7ea9ed039 to < 1129e0e0a833acf90429e0f13951068d5f026e4f (affected · git)f32ba612ef0f8eecaf6d2a5b04076ee7ea9ed039 to < 1627dda4d70ceb1ba62af2e401af73c09abb1eb5 (affected · git)f32ba612ef0f8eecaf6d2a5b04076ee7ea9ed039 to < 55dfffc5e94730370b08de02c0cf3b7c951bbe9e (affected · git)f32ba612ef0f8eecaf6d2a5b04076ee7ea9ed039 to < 7296c938df2445f342be456a6ff0b3931d97f4e5 (affected · git)f32ba612ef0f8eecaf6d2a5b04076ee7ea9ed039 to < c412185d557578d3f936537ed639c4ffaaed4075 (affected · git)f32ba612ef0f8eecaf6d2a5b04076ee7ea9ed039 to < d8ab68bdb294b09a761e967dad374f2965e1913f (affected · git)Default: unaffected Linux · cna
Linux Linux 5.9 (affected)0 to < 5.9 (unaffected · semver)5.10.240 through 5.10.* (unaffected · semver)5.15.187 through 5.15.* (unaffected · semver)6.1.144 through 6.1.* (unaffected · semver)6.6.97 through 6.6.* (unaffected · semver)6.12.37 through 6.12.* (unaffected · semver)6.15.6 through 6.15.* (unaffected · semver)6.16 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

9

Provider assertions

3

Linux · cna

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

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
9a6a1058eb4e507d3dd8ac1428b16cb49e01842a7156cc9db70d477b857f6b41
Ingested
15 Oct 2026, 23:26:24 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected