CVE-2026-98577

Source
https://cve.org/CVERecord?id=CVE-2026-98577
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98577.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-98577
Downstream
Published
2026-10-18T15:18:47Z
Modified
2026-10-19T02:46:40Z
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:

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

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98577.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

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"

Linux / Kernel

Package

Name
Kernel

Affected 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"