CVE-2026-98577 nfc: llcp: fix WKS SAP hijacking via prefix match in nfc_llcp_wks_sap()

Not scored Published Updated

An attacker can hijack NFC WKS SAPs by exploiting a prefix match flaw in the Linux kernel's LLCP implementation, bypassing service identification.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2026-98577?

CVE-2026-98577 is a vulnerability in Linux, published on 18 Oct 2026. It can only be exploited from the same machine or local network, with no action from the victim.

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

Which versions are affected by CVE-2026-98577?

How do I fix CVE-2026-98577?

Apply the vendor's patch.

Is CVE-2026-98577 being exploited?

There is no known exploitation of CVE-2026-98577 in the wild and no public exploit code.

Sources

Also known as AZL-109131, BELL-CVE-2026-98577, DEBIAN-CVE-2026-98577, GHSA-5pvx-6xr7-wr9x, UBUNTU-CVE-2026-98577.

Is CVE-2026-98577 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free