Skip to main content

In the Linux kernel, the following vulnerability has been resolved: nfc: llcp: fix WKS SAP hijacking via prefix match in nfc_llcp_wks_sap()… (CVE-2026-98577)

0
Medium
Published: 10/18/2026 (10/18/2026, 18:31:54 UTC)
Source: GCVE Database

Description

A vulnerability in the Linux kernel's NFC LLCP implementation allowed a WKS SAP hijacking due to improper prefix matching in the nfc_llcp_wks_sap() function. The function compared only the length of the service name prefix, enabling shorter service names to match longer WKS strings incorrectly. This issue has been fixed by enforcing an exact length match before performing the string comparison.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/18/2026, 20:49:12 UTC

Technical Analysis

The Linux kernel's NFC LLCP component contained a vulnerability where the nfc_llcp_wks_sap() function compared only the number of bytes equal to the length of the service name, allowing a short service name (e.g., "u") to match longer WKS strings (e.g., "urn:nfc:sn:snep") via prefix matching. This could lead to WKS SAP hijacking. The fix requires an exact length match before the string comparison to prevent such hijacking.

Potential Impact

This vulnerability could allow an attacker to hijack the WKS SAP by exploiting the prefix matching flaw, potentially causing incorrect service identification or redirection within NFC communications. The exact impact depends on the NFC use case and environment but involves manipulation of NFC service name resolution.

Mitigation Recommendations

A fix has been implemented in the Linux kernel to require exact length matching before string comparison in the nfc_llcp_wks_sap() function. Users should apply the official Linux kernel updates that include this fix. No additional mitigation steps are indicated.

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-5pvx-6xr7-wr9x
Osv Schema Version
1.4.0
Aliases
["CVE-2026-98577"]

Threat ID: 6ad520af2cdf04f656993ab7

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

Last enriched: 10/18/2026, 20:49:12 UTC

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

Views: 3

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