# CVE-2026-80795: nfc: nci: fix out-of-bounds write in nci\_target\_auto\_activated()

> 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:13:08.640Z
- **Modified:** 2026-10-19T09:17:13.753Z

## Who should check

- Anyone running Linux \>= 019c4fbaa790e2b3f11dab0c8b7d9896d77db3e5, \< 0dc59de0075f88404a0f4a2b5233104ef459fbb2; \>= 019c4fbaa790e2b3f11dab0c8b7d9896d77db3e5, \< 94530ffabfca57e9bff1d207106010014cc84032; \>= 019c4fbaa790e2b3f11dab0c8b7d9896d77db3e5, \< afd8605fb43becb892311102844955c3b127fc7e; \>= 019c4fbaa790e2b3f11dab0c8b7d9896d77db3e5, \< 24761d3a5f692df5f7d848caeabcb2afd10917aa; \>= 019c4fbaa790e2b3f11dab0c8b7d9896d77db3e5, \< 50e87e1c0e18d791dcd7dccf30f9a2f3e2cf3951; \>= 019c4fbaa790e2b3f11dab0c8b7d9896d77db3e5, \< 2f08dbce3b37624ec6b424d759336a99586170ec; \>= 019c4fbaa790e2b3f11dab0c8b7d9896d77db3e5, \< d7083f41c21b30582e91b2e6de4d54dce74f6f9c; \>= 019c4fbaa790e2b3f11dab0c8b7d9896d77db3e5, \< 129032c0616d83a5e3e304f6ebf88f14ba01e5f7; \>= 019c4fbaa790e2b3f11dab0c8b7d9896d77db3e5, \< ac200079db50af81e6b04d058b33ec92901d8edd
- Anyone running Linux 3.4

## Description

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

nfc: nci: fix out-of-bounds write in nci\_target\_auto\_activated()

nci\_target\_auto\_activated() appends a target to the fixed-size array
ndev-\>targets\[NCI\_MAX\_DISCOVERED\_TARGETS\] and increments ndev-\>n\_targets
without first checking the array is full; unlike its sibling
nci\_add\_new\_target(), which bails out when n\_targets already equals
NCI\_MAX\_DISCOVERED\_TARGETS.

ndev-\>n\_targets is only cleared by nci\_clear\_target\_list(), so an NFCC
that repeatedly re-runs discovery (RF\_DISCOVER\_RSP, which re-enters
NCI\_DISCOVERY without clearing the target list) and reports an
auto-activated target (RF\_INTF\_ACTIVATED\_NTF) drives n\_targets past the
limit. The append then writes a struct nfc\_target past the end of the
array (a slab out-of-bounds write), and nfc\_targets\_found() goes on to
walk the array with the inflated count:

  BUG: KASAN: slab-out-of-bounds in nci\_add\_new\_protocol+0x94/0x2ac \[nci\]
  Write of size 2 at addr ffff0000c7299a18 by task kworker/u8:0/12
  Workqueue: nfc0\_nci\_rx\_wq nci\_rx\_work \[nci\]
  Call trace:
   nci\_add\_new\_protocol+0x94/0x2ac \[nci\]
   nci\_ntf\_packet+0xddc/0x11a0 \[nci\]
   nci\_rx\_work+0x15c/0x1e0 \[nci\]
   process\_one\_work+0x2dc/0x500
   worker\_thread+0x240/0x460
   kthread+0x1c0/0x1d0
   ret\_from\_fork+0x10/0x20

  The buggy address belongs to the cache kmalloc-2k of size 2048
  The buggy address is located 1024 bytes to the right of
  allocated 1560-byte region \[ffff0000c7299000, ffff0000c7299618)

Guard nci\_target\_auto\_activated() with the same check used by
nci\_add\_new\_target().

## Affected and fixed versions

- Linux: \>= 019c4fbaa790e2b3f11dab0c8b7d9896d77db3e5, \< 0dc59de0075f88404a0f4a2b5233104ef459fbb2; \>= 019c4fbaa790e2b3f11dab0c8b7d9896d77db3e5, \< 94530ffabfca57e9bff1d207106010014cc84032; \>= 019c4fbaa790e2b3f11dab0c8b7d9896d77db3e5, \< afd8605fb43becb892311102844955c3b127fc7e; \>= 019c4fbaa790e2b3f11dab0c8b7d9896d77db3e5, \< 24761d3a5f692df5f7d848caeabcb2afd10917aa; \>= 019c4fbaa790e2b3f11dab0c8b7d9896d77db3e5, \< 50e87e1c0e18d791dcd7dccf30f9a2f3e2cf3951; \>= 019c4fbaa790e2b3f11dab0c8b7d9896d77db3e5, \< 2f08dbce3b37624ec6b424d759336a99586170ec; \>= 019c4fbaa790e2b3f11dab0c8b7d9896d77db3e5, \< d7083f41c21b30582e91b2e6de4d54dce74f6f9c; \>= 019c4fbaa790e2b3f11dab0c8b7d9896d77db3e5, \< 129032c0616d83a5e3e304f6ebf88f14ba01e5f7; \>= 019c4fbaa790e2b3f11dab0c8b7d9896d77db3e5, \< ac200079db50af81e6b04d058b33ec92901d8edd (cvelist)
- Linux: 3.4 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-80795.md
Affected: Linux >= 019c4fbaa790e2b3f11dab0c8b7d9896d77db3e5, < 0dc59de0075f88404a0f4a2b5233104ef459fbb2; >= 019c4fbaa790e2b3f11dab0c8b7d9896d77db3e5, < 94530ffabfca57e9bff1d207106010014cc84032; >= 019c4fbaa790e2b3f11dab0c8b7d9896d77db3e5, < afd8605fb43becb892311102844955c3b127fc7e; >= 019c4fbaa790e2b3f11dab0…
Fixed in: Linux 0dc59de0075f88404a0f4a2b5233104ef459fbb2, Linux 94530ffabfca57e9bff1d207106010014cc84032, Linux 24761d3a5f692df5f7d848caeabcb2afd10917aa, Linux 50e87e1c0e18d791dcd7dccf30f9a2f3e2cf3951, Linux 2f08dbce3b37624ec6b424d759336a99586170ec, Linux 129032c0616d83a5e3e304f6ebf88f14ba01e5f7

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-80795 being exploited?

There is no confirmed exploitation: CVE-2026-80795 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-80795?

It has no CVSS score yet. Unknown.

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

Linux \>= 019c4fbaa790e2b3f11dab0c8b7d9896d77db3e5, \< 0dc59de0075f88404a0f4a2b5233104ef459fbb2; \>= 019c4fbaa790e2b3f11dab0c8b7d9896d77db3e5, \< 94530ffabfca57e9bff1d207106010014cc84032; \>= 019c4fbaa790e2b3f11dab0c8b7d9896d77db3e5, \< afd8605fb43becb892311102844955c3b127fc7e; \>= 019c4fbaa790e2b3f11dab0c8b7d9896d77db3e5, \< 24761d3a5f692df5f7d848caeabcb2afd10917aa; \>= 019c4fbaa790e2b3f11dab0c8b7d9896d77db3e5, \< 50e87e1c0e18d791dcd7dccf30f9a2f3e2cf3951; \>= 019c4fbaa790e2b3f11dab0c8b7d9896d77db3e5, \< 2f08dbce3b37624ec6b424d759336a99586170ec; \>= 019c4fbaa790e2b3f11dab0c8b7d9896d77db3e5, \< d7083f41c21b30582e91b2e6de4d54dce74f6f9c; \>= 019c4fbaa790e2b3f11dab0c8b7d9896d77db3e5, \< 129032c0616d83a5e3e304f6ebf88f14ba01e5f7; \>= 019c4fbaa790e2b3f11dab0c8b7d9896d77db3e5, \< ac200079db50af81e6b04d058b33ec92901d8edd; Linux 3.4.

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

Yes. Fixed in Linux 0dc59de0075f88404a0f4a2b5233104ef459fbb2, Linux 94530ffabfca57e9bff1d207106010014cc84032, Linux 24761d3a5f692df5f7d848caeabcb2afd10917aa, Linux 50e87e1c0e18d791dcd7dccf30f9a2f3e2cf3951, Linux 2f08dbce3b37624ec6b424d759336a99586170ec, Linux 129032c0616d83a5e3e304f6ebf88f14ba01e5f7. No fix listed yet: follow the vendor advisory.

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

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/0dc59de0075f88404a0f4a2b5233104ef459fbb2>
- other: <https://git.kernel.org/stable/c/94530ffabfca57e9bff1d207106010014cc84032>
- other: <https://git.kernel.org/stable/c/afd8605fb43becb892311102844955c3b127fc7e>
- other: <https://git.kernel.org/stable/c/24761d3a5f692df5f7d848caeabcb2afd10917aa>
- other: <https://git.kernel.org/stable/c/50e87e1c0e18d791dcd7dccf30f9a2f3e2cf3951>
- other: <https://git.kernel.org/stable/c/2f08dbce3b37624ec6b424d759336a99586170ec>
- other: <https://git.kernel.org/stable/c/d7083f41c21b30582e91b2e6de4d54dce74f6f9c>
- other: <https://git.kernel.org/stable/c/129032c0616d83a5e3e304f6ebf88f14ba01e5f7>
- other: <https://git.kernel.org/stable/c/ac200079db50af81e6b04d058b33ec92901d8edd>

## 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-80795>

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