CVE-2026-98577

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

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

Key facts

Published
18 Oct 2026
Last changed
19 Oct 2026
Assigned by
Linux
EPSS
0.216% likely to be exploited in the next 30 days, higher than 12.146% of CVEs (scores for 18 Nov 2026)

Historical context and remediation

This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.

No separately sourced impact summary is available on this page yet. Consult the description, version data and dated exploitation evidence.

No explicit remediation statement is available on this page yet. Consult the original record and vendor references before choosing a fix.

Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.

Read the original CVE record.

Affected products

VendorProductVersions
LinuxLinux
  • Default status: unaffected
  • d646960f7986fefb460a2b062d5ccc8ccfeacc3a up to but excluding 0c83a8a45fed256ccc5fe7160b436b671fc79fb8 (affected)
  • d646960f7986fefb460a2b062d5ccc8ccfeacc3a up to but excluding aa555ed5ed0d15efbaf27e0e9f152a6df715278a (affected)
  • d646960f7986fefb460a2b062d5ccc8ccfeacc3a up to but excluding 32b5f0b338bf59391a1cff9a6190a72c4d2c1ba8 (affected)
  • d646960f7986fefb460a2b062d5ccc8ccfeacc3a up to but excluding 6fad2c34d451d11a9f3f946cae1105fee91d96b8 (affected)
  • d646960f7986fefb460a2b062d5ccc8ccfeacc3a up to but excluding bf41af8f910cbb5d776a1dfa0671d31a7e262e28 (affected)
  • d646960f7986fefb460a2b062d5ccc8ccfeacc3a up to but excluding f234197f3bda3aea5d4b1e591d6bcb3660a8b3fc (affected)
  • d646960f7986fefb460a2b062d5ccc8ccfeacc3a up to but excluding 0a0412745c86acd089c6460da715ab966b1615e7 (affected)
  • d646960f7986fefb460a2b062d5ccc8ccfeacc3a up to but excluding 408cff6bd60636df201274d320edfdfde9ed41db (affected)
LinuxLinux
  • Default status: affected
  • 3.3 (affected)
  • 0 up to but excluding 3.3 (unaffected)
  • 5.10.271 up to and including 5.10.* (unaffected)
  • 5.15.222 up to and including 5.15.* (unaffected)
  • 6.1.189 up to and including 6.1.* (unaffected)
  • 6.6.158 up to and including 6.6.* (unaffected)
  • 6.12.112 up to and including 6.12.* (unaffected)
  • 6.18.55 up to and including 6.18.* (unaffected)
  • 7.2.9 up to and including 7.2.* (unaffected)
  • 7.3 up to and including * (unaffected)

Timeline

  1. 18 Oct 2026 Published

References