Skip to main content

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… (CVE-2026-98724)

0
Medium
Published: 10/18/2026 (10/18/2026, 18:32:01 UTC)
Source: GCVE Database

Description

A vulnerability in the Linux kernel's nvmet pci-epf component allows a host to control an SGL segment's length improperly, leading to an out-of-bounds read. Specifically, if the segment length is nonzero but smaller than one SGL descriptor, the function nvmet_pci_epf_get_sgl_segment() reads memory before the allocated buffer. This issue was confirmed by kernel address sanitizer (KASAN) tests causing kernel panic. The fix involves rejecting SGL segments that are too short to hold a descriptor before processing them.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/18/2026, 22:24:55 UTC

Technical Analysis

The Linux kernel's nvmet pci-epf driver had a vulnerability where the host controls the length of an SGL segment. If the length is nonzero but smaller than the size of one SGL descriptor, the function nvmet_pci_epf_get_sgl_segment() calculates zero descriptors and reads the type byte from memory before the allocated buffer (sgls[-1]). If this byte appears as a segment descriptor type, the function copies preceding bytes and returns a negative descriptor count, causing an out-of-bounds read. This flaw was reproducible with KASAN tests, triggering kernel panic. The vulnerability was resolved by rejecting segments that cannot hold at least one descriptor before allocation or data transfer.

Potential Impact

The vulnerability leads to an out-of-bounds read in kernel memory, which can cause kernel panic and system instability. While no direct code execution or privilege escalation is described, the kernel panic can result in denial of service conditions. There is no evidence of exploitation in the wild.

Mitigation Recommendations

A fix is available that rejects SGL segments too short to hold a descriptor before processing. Users should update their Linux kernel to a version that includes this fix. Since no vendor advisory or patch link is provided, check the official Linux kernel repositories or vendor advisories for the patch and apply it promptly.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-hhpp-pj9h-fh67
Osv Schema Version
1.4.0
Aliases
["CVE-2026-98724"]

Threat ID: 6ad520ab2cdf04f6569939e0

Added to database: 10/18/2026, 19:40:27 UTC

Last enriched: 10/18/2026, 22:24:55 UTC

Last updated: 10/18/2026, 22:24:55 UTC

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses