# CVE-2026-80823: nfc: st21nfca: validate ATR\_REQ length against the received frame

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.24% (percentile 9, 2026-11-26)
- **Published:** 2026-09-04T15:27:46.153Z
- **Modified:** 2026-10-19T09:17:17.160Z

## Who should check

- Anyone running Linux \>= 1892bf844ea0261736bd5e75546fc996e9daeedf, \< 785df00bb3ae3206674a43284eb06dac575b5c64; \>= 1892bf844ea0261736bd5e75546fc996e9daeedf, \< 2c1ad291f4cdc357f9527b688c6fda9c6ffa7890; \>= 1892bf844ea0261736bd5e75546fc996e9daeedf, \< dd26d30f40c43ad9cfe2f25c6ea0ead1dd51d5aa; \>= 1892bf844ea0261736bd5e75546fc996e9daeedf, \< 9635507fe82949e429b3cd938876a9917125b151; \>= 1892bf844ea0261736bd5e75546fc996e9daeedf, \< 0f344944c506b4f02d2b098489f7268b438c369e; \>= 1892bf844ea0261736bd5e75546fc996e9daeedf, \< bfcca5f42c9aa4eadef1e5fe7bb23783d7fcc96d; \>= 1892bf844ea0261736bd5e75546fc996e9daeedf, \< 304f5b414f4051d324b8c4a3ab0e79f7dc7e150e; \>= 1892bf844ea0261736bd5e75546fc996e9daeedf, \< f33cecf69095c43be88567fef92b180b858f7369; \>= 1892bf844ea0261736bd5e75546fc996e9daeedf, \< 5cdcca5d62a66eda6b774110a44cba67bc1a8d1d
- Anyone running Linux 3.17

## Description

In the Linux kernel, the following vulnerability has been resolved:

nfc: st21nfca: validate ATR\_REQ length against the received frame

st21nfca\_tm\_recv\_atr\_req() checks that the received ATR\_REQ frame is at
least ST21NFCA\_ATR\_REQ\_MIN\_SIZE and that the self-declared atr\_req-\>length
is at least sizeof(struct st21nfca\_atr\_req), but never checks that
atr\_req-\>length does not exceed the actual received length (skb-\>len).

st21nfca\_tm\_send\_atr\_res() then trusts the declared length:

	gb\_len = atr\_req-\>length - sizeof(struct st21nfca\_atr\_req);
	...
	memcpy(atr\_res-\>gbi, atr\_req-\>gbi, gb\_len);

so an RF peer that sends a short frame but sets atr\_req-\>length larger
than the frame makes gb\_len exceed the general bytes actually present,
and the memcpy reads out of bounds past the received skb. Those bytes are
placed in the ATR\_RES and sent back to the peer (kernel-memory disclosure
to a proximity attacker); a larger declared length is an out-of-bounds
read (DoS).

Reject frames whose declared length exceeds the received length. The
adjacent nfc\_tm\_activated() path in the same function already derives its
general-bytes length from skb-\>len rather than the declared field.

Found by 0sec (https://0sec.ai) using automated source analysis; the
missing bound is evident from source. Compile-tested.

## Affected and fixed versions

- Linux: \>= 1892bf844ea0261736bd5e75546fc996e9daeedf, \< 785df00bb3ae3206674a43284eb06dac575b5c64; \>= 1892bf844ea0261736bd5e75546fc996e9daeedf, \< 2c1ad291f4cdc357f9527b688c6fda9c6ffa7890; \>= 1892bf844ea0261736bd5e75546fc996e9daeedf, \< dd26d30f40c43ad9cfe2f25c6ea0ead1dd51d5aa; \>= 1892bf844ea0261736bd5e75546fc996e9daeedf, \< 9635507fe82949e429b3cd938876a9917125b151; \>= 1892bf844ea0261736bd5e75546fc996e9daeedf, \< 0f344944c506b4f02d2b098489f7268b438c369e; \>= 1892bf844ea0261736bd5e75546fc996e9daeedf, \< bfcca5f42c9aa4eadef1e5fe7bb23783d7fcc96d; \>= 1892bf844ea0261736bd5e75546fc996e9daeedf, \< 304f5b414f4051d324b8c4a3ab0e79f7dc7e150e; \>= 1892bf844ea0261736bd5e75546fc996e9daeedf, \< f33cecf69095c43be88567fef92b180b858f7369; \>= 1892bf844ea0261736bd5e75546fc996e9daeedf, \< 5cdcca5d62a66eda6b774110a44cba67bc1a8d1d (cvelist)
- Linux: 3.17 (cvelist)

## Mitigation

- Upgrade Linux to 5cdcca5d62a66eda6b774110a44cba67bc1a8d1d or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-80823. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-80823.md
Affected: Linux >= 1892bf844ea0261736bd5e75546fc996e9daeedf, < 785df00bb3ae3206674a43284eb06dac575b5c64; >= 1892bf844ea0261736bd5e75546fc996e9daeedf, < 2c1ad291f4cdc357f9527b688c6fda9c6ffa7890; >= 1892bf844ea0261736bd5e75546fc996e9daeedf, < dd26d30f40c43ad9cfe2f25c6ea0ead1dd51d5aa; >= 1892bf844ea0261736bd5e7…
Fixed in: Linux 785df00bb3ae3206674a43284eb06dac575b5c64, Linux 2c1ad291f4cdc357f9527b688c6fda9c6ffa7890, Linux 9635507fe82949e429b3cd938876a9917125b151, Linux 0f344944c506b4f02d2b098489f7268b438c369e, Linux 304f5b414f4051d324b8c4a3ab0e79f7dc7e150e, Linux 5cdcca5d62a66eda6b774110a44cba67bc1a8d1d

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-80823 being exploited?

There is no confirmed exploitation: CVE-2026-80823 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.24% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-80823?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-80823?

Linux \>= 1892bf844ea0261736bd5e75546fc996e9daeedf, \< 785df00bb3ae3206674a43284eb06dac575b5c64; \>= 1892bf844ea0261736bd5e75546fc996e9daeedf, \< 2c1ad291f4cdc357f9527b688c6fda9c6ffa7890; \>= 1892bf844ea0261736bd5e75546fc996e9daeedf, \< dd26d30f40c43ad9cfe2f25c6ea0ead1dd51d5aa; \>= 1892bf844ea0261736bd5e75546fc996e9daeedf, \< 9635507fe82949e429b3cd938876a9917125b151; \>= 1892bf844ea0261736bd5e75546fc996e9daeedf, \< 0f344944c506b4f02d2b098489f7268b438c369e; \>= 1892bf844ea0261736bd5e75546fc996e9daeedf, \< bfcca5f42c9aa4eadef1e5fe7bb23783d7fcc96d; \>= 1892bf844ea0261736bd5e75546fc996e9daeedf, \< 304f5b414f4051d324b8c4a3ab0e79f7dc7e150e; \>= 1892bf844ea0261736bd5e75546fc996e9daeedf, \< f33cecf69095c43be88567fef92b180b858f7369; \>= 1892bf844ea0261736bd5e75546fc996e9daeedf, \< 5cdcca5d62a66eda6b774110a44cba67bc1a8d1d; Linux 3.17.

### Is there a fix for CVE-2026-80823?

Yes. Fixed in Linux 785df00bb3ae3206674a43284eb06dac575b5c64, Linux 2c1ad291f4cdc357f9527b688c6fda9c6ffa7890, Linux 9635507fe82949e429b3cd938876a9917125b151, Linux 0f344944c506b4f02d2b098489f7268b438c369e, Linux 304f5b414f4051d324b8c4a3ab0e79f7dc7e150e, Linux 5cdcca5d62a66eda6b774110a44cba67bc1a8d1d. Upgrade Linux to 5cdcca5d62a66eda6b774110a44cba67bc1a8d1d or later.

### How do I check if I'm affected by CVE-2026-80823?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/785df00bb3ae3206674a43284eb06dac575b5c64>
- other: <https://git.kernel.org/stable/c/2c1ad291f4cdc357f9527b688c6fda9c6ffa7890>
- other: <https://git.kernel.org/stable/c/dd26d30f40c43ad9cfe2f25c6ea0ead1dd51d5aa>
- other: <https://git.kernel.org/stable/c/9635507fe82949e429b3cd938876a9917125b151>
- other: <https://git.kernel.org/stable/c/0f344944c506b4f02d2b098489f7268b438c369e>
- other: <https://git.kernel.org/stable/c/bfcca5f42c9aa4eadef1e5fe7bb23783d7fcc96d>
- other: <https://git.kernel.org/stable/c/304f5b414f4051d324b8c4a3ab0e79f7dc7e150e>
- other: <https://git.kernel.org/stable/c/f33cecf69095c43be88567fef92b180b858f7369>
- other: <https://git.kernel.org/stable/c/5cdcca5d62a66eda6b774110a44cba67bc1a8d1d>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-80823>

HTML: <https://flawdb.com/CVE-2026-80823> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-80823>
