{"id":"CVE-2026-98577","summary":"nfc: llcp: fix WKS SAP hijacking via prefix match in nfc_llcp_wks_sap()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnfc: llcp: fix WKS SAP hijacking via prefix match in nfc_llcp_wks_sap()\n\nnfc_llcp_wks_sap() compares only service_name_len bytes, so a short\nservice_name like \"u\" matches longer WKS strings like \"urn:nfc:sn:snep\".\nFix by requiring exact length match before strncmp().","modified":"2026-10-19T02:46:40.572596151Z","published":"2026-10-18T15:18:47.635Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98577.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/0a0412745c86acd089c6460da715ab966b1615e7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/0c83a8a45fed256ccc5fe7160b436b671fc79fb8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/32b5f0b338bf59391a1cff9a6190a72c4d2c1ba8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/408cff6bd60636df201274d320edfdfde9ed41db"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6fad2c34d451d11a9f3f946cae1105fee91d96b8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/aa555ed5ed0d15efbaf27e0e9f152a6df715278a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/bf41af8f910cbb5d776a1dfa0671d31a7e262e28"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f234197f3bda3aea5d4b1e591d6bcb3660a8b3fc"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98577.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98577"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"d646960f7986fefb460a2b062d5ccc8ccfeacc3a"},{"fixed":"0c83a8a45fed256ccc5fe7160b436b671fc79fb8"},{"fixed":"aa555ed5ed0d15efbaf27e0e9f152a6df715278a"},{"fixed":"32b5f0b338bf59391a1cff9a6190a72c4d2c1ba8"},{"fixed":"6fad2c34d451d11a9f3f946cae1105fee91d96b8"},{"fixed":"bf41af8f910cbb5d776a1dfa0671d31a7e262e28"},{"fixed":"f234197f3bda3aea5d4b1e591d6bcb3660a8b3fc"},{"fixed":"0a0412745c86acd089c6460da715ab966b1615e7"},{"fixed":"408cff6bd60636df201274d320edfdfde9ed41db"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98577.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.3.0"},{"fixed":"5.10.271"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.222"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.189"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.158"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.112"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.55"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.9"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98577.json"}}],"schema_version":"1.9.0"}