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

nvmet: pci-epf: reject too-short SGL segments

The host controls an SGL segment's length. A nonzero length smaller than
one SGL descriptor makes nr_descs zero, so
nvmet_pci_epf_get_sgl_segment() reads the type byte of sgls[-1] outside
the allocated buffer. If that byte contains a segment descriptor type,
the function also copies the preceding 16 bytes and returns a negative
descriptor count.

The read was reproduced in 3/3 KASAN boots with only the host transfer
mocked by a KUnit test:

BUG: KASAN: slab-out-of-bounds in nvmet_pci_epf_get_sgl_segment
Read of size 1 by task kunit_try_catch
Call Trace:
nvmet_pci_epf_get_sgl_segment
nvmet_pci_epf_short_sgl_test
Kernel panic - not syncing: KASAN: panic_on_warn set ...

Reject segments that cannot hold one descriptor before allocating or
transferring their contents.
Published: 2026-10-18
Score: 6.2 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service via kernel out-of-bounds read
Action: Apply Patch
AI Analysis

Impact

The vulnerability resides in the Linux kernel's nvmet subsystem, specifically within the pci-epf driver. The host controls the length of an SGL segment; when a non‑zero length that is shorter than the size of a single descriptor is reported, the driver sets the descriptor count to zero and then incorrectly reads the type byte from the byte immediately before the allocated buffer. This out‑of‑bounds read is reproduced as a KASAN slab‑out‑of‑bounds error that triggers a kernel panic. The fault can therefore be used to crash the system and potentially expose memory contents, but the description does not indicate that arbitrary code execution is possible.

Affected Systems

Any Linux kernel that has not yet integrated the nvmet‑pci‑epf fix is potentially vulnerable. The CVE does not list specific version numbers, so all kernels running the nvmet subsystem before the patch should be considered at risk.

Risk and Exploitability

The CVSS score of 6.2 reflects a medium severity rating, and the EPSS score of less than 1% indicates a very low probability of public exploitation. The vulnerability is not listed in the CISA KEV catalog, suggesting no known active exploitation. An attacker would almost certainly need local or privileged access to the NVMe subsystem to supply a malformed SGL, or would need to compromise a component that can relay such SGLs to the target. While the fault does not provide direct code execution, it can lead to a denial of service by forcing a kernel panic. Consequently, the risk is moderate but remains significant for systems that rely on nvmet.

Generated by OpenCVE AI on October 23, 2026 at 08:37 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that includes the nvmet‑pci‑epf fix, which corrects an out‑of‑bounds read (CWE‑125) for SGL segment lengths.
  • If an update is not immediately possible, disable the nvmet target or restrict NVMe device access to trusted users or processes to limit exposure to malformed SGL submissions.
  • Monitor kernel logs for KASAN or NVMe BUG messages to detect attempts to exploit this fault and respond quickly.

Generated by OpenCVE AI on October 23, 2026 at 08:37 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 23 Oct 2026 07:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-127
CWE-20

Fri, 23 Oct 2026 00:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-125
References
Metrics threat_severity

None

cvssV3_1

{'score': 6.2, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate


Sun, 18 Oct 2026 19:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-127
CWE-20

Sun, 18 Oct 2026 16:00:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: nvmet: pci-epf: reject too-short SGL segments The host controls an SGL segment's length. A nonzero length smaller than one SGL descriptor makes nr_descs zero, so nvmet_pci_epf_get_sgl_segment() reads the type byte of sgls[-1] outside the allocated buffer. If that byte contains a segment descriptor type, the function also copies the preceding 16 bytes and returns a negative descriptor count. The read was reproduced in 3/3 KASAN boots with only the host transfer mocked by a KUnit test: BUG: KASAN: slab-out-of-bounds in nvmet_pci_epf_get_sgl_segment Read of size 1 by task kunit_try_catch Call Trace: nvmet_pci_epf_get_sgl_segment nvmet_pci_epf_short_sgl_test Kernel panic - not syncing: KASAN: panic_on_warn set ... Reject segments that cannot hold one descriptor before allocating or transferring their contents.
Title nvmet: pci-epf: reject too-short SGL segments
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-19T09:24:34.979Z

Reserved: 2026-09-25T10:25:14.366Z

Link: CVE-2026-98724

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-18T16:17:26.020

Modified: 2026-10-19T10:19:36.590

Link: CVE-2026-98724

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-10-18T00:00:00Z

Links: CVE-2026-98724 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-23T08:45:16Z

Weaknesses