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

nfc: llcp: fix WKS SAP hijacking via prefix match in nfc_llcp_wks_sap()

nfc_llcp_wks_sap() compares only service_name_len bytes, so a short
service_name like "u" matches longer WKS strings like "urn:nfc:sn:snep".
Fix by requiring exact length match before strncmp().
Published: 2026-10-18
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Unauthorized NFC Service Hijack
Action: Patch Update
AI Analysis

Impact

The Linux kernel NFC stack contains a flaw in the function that validates Service Access Point (SAP) names. The function only compares the length of the requested service name, allowing a short name such as "u" to match a longer WKS string like "urn:nfc:sn:snep". This mismatch means an attacker could send a crafted NFC LLCP request that hijacks the WKS SAP, thereby gaining control over the NFC link layer and potentially interfering with legitimate NFC communications. The vulnerability is classified as CWE-1025, an improper string comparison that can lead to improper validation of inputs.

Affected Systems

All Linux kernel versions that do not contain the patch that enforces an exact length comparison in nfc_llcp_wks_sap() are affected. The commit that resolves the issue is 0a0412745c86acd089c6460da715ab966b1615e7, and any kernel snapshot prior to its integration is considered vulnerable. Because the CVE data does not list explicit version numbers, the safest assumption is that any distribution shipping a kernel older than the patch commit is impacted.

Risk and Exploitability

The CVSS score of 5.3 indicates a moderate severity. The EPSS score of less than 1% indicates a currently low probability that this vulnerability will be exploited at scale. The CVE is not listed in the CISA KEV catalog, and no public exploit is known. The likely attack vector is an NFC-enabled device that can send a malicious LLCP packet to the target system; based on the description, it is inferred that an attacker would need physical or network proximity to the target to conduct the exploit. Overall, the theoretical risk remains limited until a specific exploit is discovered or the attack surface is expanded.

Generated by OpenCVE AI on October 22, 2026 at 22:46 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Linux kernel to the latest stable release that includes commit 0a0412745c86acd089c6460da715ab966b1615e7, which requires exact string length comparison in nfc_llcp_wks_sap().
  • Disable the NFC subsystem or the LLCP feature when it is not required, reducing the exposure to NFC-based attacks.
  • Restrict NFC traffic to known, trusted devices by implementing device authorization or network segmentation around the NFC interfaces.

Generated by OpenCVE AI on October 22, 2026 at 22:46 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4850-1 linux-6.12 security update
Ubuntu USN Ubuntu USN USN-8961-1 Linux kernel vulnerabilities
History

Tue, 20 Oct 2026 20:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-20

Tue, 20 Oct 2026 12:45:00 +0000

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

None

cvssV3_1

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

threat_severity

Moderate


Sun, 18 Oct 2026 23:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-20

Sun, 18 Oct 2026 15:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: nfc: llcp: fix WKS SAP hijacking via prefix match in nfc_llcp_wks_sap() nfc_llcp_wks_sap() compares only service_name_len bytes, so a short service_name like "u" matches longer WKS strings like "urn:nfc:sn:snep". Fix by requiring exact length match before strncmp().
Title nfc: llcp: fix WKS SAP hijacking via prefix match in nfc_llcp_wks_sap()
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:22:02.632Z

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

Link: CVE-2026-98577

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

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

Modified: 2026-10-19T10:19:16.900

Link: CVE-2026-98577

cve-icon Redhat

Severity : Moderate

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

Links: CVE-2026-98577 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-22T23:00:14Z

Weaknesses
  • CWE-1025

    Comparison Using Wrong Factors