Shellfeed logo Shellfeed

CVE-2026-98577 · UNKNOWN

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

EPSS: 0.2% probability of exploitation in the next 30 days (percentile 12.2).

Details

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

Affected packages

  • GIT git.kernel.org/pub/scm/linux/kernel/git/stable/linux [d646960f7986fefb460a2b062d5ccc8ccfeacc3a – 0c83a8a45fed256ccc5fe7160b436b671fc79fb8]
  • Linux Kernel [3.3.0 – 5.10.271] [5.11.0 – 5.15.222] [5.16.0 – 6.1.189] [6.2.0 – 6.6.158] [6.7.0 – 6.12.112] [6.13.0 – 6.18.55] [6.19.0 – 7.2.9]

References