# CVE-2022-50656: nfc: pn533: Clear nfc\_target before being used

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

- **Severity:** HIGH 8.1
- **CVSS:** 8.1 (v3.1, CNA) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H`
- **CVSS metrics:** Attack vector: Adjacent network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.53% (percentile 38, 2026-11-26)
- **Published:** 2025-12-09T00:00:31.691Z
- **Modified:** 2026-08-05T08:59:15.998Z

## Who should check

- Anyone running Linux \>= 361f3cb7f9cfdb82c80926d0e7843c098c034545, \< 9da4a0411f3455e3885831d0758bee3e3d565bbc; \>= 361f3cb7f9cfdb82c80926d0e7843c098c034545, \< 61a7e15d55fae329a245535c3bac494e401005b8; \>= 361f3cb7f9cfdb82c80926d0e7843c098c034545, \< bef2f478513e7367ef3b05441f6afca981de29be; \>= 361f3cb7f9cfdb82c80926d0e7843c098c034545, \< 8bddef54cbe9ede5ac7478f1e1e968fcfe7e6f03; \>= 361f3cb7f9cfdb82c80926d0e7843c098c034545, \< aea9e64dec2cc6cd742e07ecd4e6236fc76b389b; \>= 361f3cb7f9cfdb82c80926d0e7843c098c034545, \< aae9c24ebd901f482e6c88b6f9e0c80dc5b536d6; \>= 361f3cb7f9cfdb82c80926d0e7843c098c034545, \< 755019e37815a66bb0a23893debbd3dd640ccbd3; \>= 361f3cb7f9cfdb82c80926d0e7843c098c034545, \< e491285b4d08884b622638be8e4961eb43b0af64; \>= 361f3cb7f9cfdb82c80926d0e7843c098c034545, \< 9f28157778ede0d4f183f7ab3b46995bb400abbe
- Anyone running Linux 3.3

## Description

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

nfc: pn533: Clear nfc\_target before being used

Fix a slab-out-of-bounds read that occurs in nla\_put() called from
nfc\_genl\_send\_target() when target-\>sensb\_res\_len, which is duplicated
from an nfc\_target in pn533, is too large as the nfc\_target is not
properly initialized and retains garbage values. Clear nfc\_targets with
memset() before they are used.

Found by a modified version of syzkaller.

BUG: KASAN: slab-out-of-bounds in nla\_put
Call Trace:
 memcpy
 nla\_put
 nfc\_genl\_dump\_targets
 genl\_lock\_dumpit
 netlink\_dump
 \_\_netlink\_dump\_start
 genl\_family\_rcv\_msg\_dumpit
 genl\_rcv\_msg
 netlink\_rcv\_skb
 genl\_rcv
 netlink\_unicast
 netlink\_sendmsg
 sock\_sendmsg
 \_\_\_\_sys\_sendmsg
 \_\_\_sys\_sendmsg
 \_\_sys\_sendmsg
 do\_syscall\_64

## Affected and fixed versions

- Linux: \>= 361f3cb7f9cfdb82c80926d0e7843c098c034545, \< 9da4a0411f3455e3885831d0758bee3e3d565bbc; \>= 361f3cb7f9cfdb82c80926d0e7843c098c034545, \< 61a7e15d55fae329a245535c3bac494e401005b8; \>= 361f3cb7f9cfdb82c80926d0e7843c098c034545, \< bef2f478513e7367ef3b05441f6afca981de29be; \>= 361f3cb7f9cfdb82c80926d0e7843c098c034545, \< 8bddef54cbe9ede5ac7478f1e1e968fcfe7e6f03; \>= 361f3cb7f9cfdb82c80926d0e7843c098c034545, \< aea9e64dec2cc6cd742e07ecd4e6236fc76b389b; \>= 361f3cb7f9cfdb82c80926d0e7843c098c034545, \< aae9c24ebd901f482e6c88b6f9e0c80dc5b536d6; \>= 361f3cb7f9cfdb82c80926d0e7843c098c034545, \< 755019e37815a66bb0a23893debbd3dd640ccbd3; \>= 361f3cb7f9cfdb82c80926d0e7843c098c034545, \< e491285b4d08884b622638be8e4961eb43b0af64; \>= 361f3cb7f9cfdb82c80926d0e7843c098c034545, \< 9f28157778ede0d4f183f7ab3b46995bb400abbe (cvelist)
- Linux: 3.3 (cvelist)

## Mitigation

- Upgrade Linux to 9f28157778ede0d4f183f7ab3b46995bb400abbe or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2022-50656.md
Affected: Linux >= 361f3cb7f9cfdb82c80926d0e7843c098c034545, < 9da4a0411f3455e3885831d0758bee3e3d565bbc; >= 361f3cb7f9cfdb82c80926d0e7843c098c034545, < 61a7e15d55fae329a245535c3bac494e401005b8; >= 361f3cb7f9cfdb82c80926d0e7843c098c034545, < bef2f478513e7367ef3b05441f6afca981de29be; >= 361f3cb7f9cfdb82c80926d…
Fixed in: Linux 9da4a0411f3455e3885831d0758bee3e3d565bbc, Linux 61a7e15d55fae329a245535c3bac494e401005b8, Linux 8bddef54cbe9ede5ac7478f1e1e968fcfe7e6f03, Linux 755019e37815a66bb0a23893debbd3dd640ccbd3, Linux 9f28157778ede0d4f183f7ab3b46995bb400abbe

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-2022-50656 being exploited?

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

### How serious is CVE-2022-50656?

High: CVSS 8.1 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2022-50656?

Linux \>= 361f3cb7f9cfdb82c80926d0e7843c098c034545, \< 9da4a0411f3455e3885831d0758bee3e3d565bbc; \>= 361f3cb7f9cfdb82c80926d0e7843c098c034545, \< 61a7e15d55fae329a245535c3bac494e401005b8; \>= 361f3cb7f9cfdb82c80926d0e7843c098c034545, \< bef2f478513e7367ef3b05441f6afca981de29be; \>= 361f3cb7f9cfdb82c80926d0e7843c098c034545, \< 8bddef54cbe9ede5ac7478f1e1e968fcfe7e6f03; \>= 361f3cb7f9cfdb82c80926d0e7843c098c034545, \< aea9e64dec2cc6cd742e07ecd4e6236fc76b389b; \>= 361f3cb7f9cfdb82c80926d0e7843c098c034545, \< aae9c24ebd901f482e6c88b6f9e0c80dc5b536d6; \>= 361f3cb7f9cfdb82c80926d0e7843c098c034545, \< 755019e37815a66bb0a23893debbd3dd640ccbd3; \>= 361f3cb7f9cfdb82c80926d0e7843c098c034545, \< e491285b4d08884b622638be8e4961eb43b0af64; \>= 361f3cb7f9cfdb82c80926d0e7843c098c034545, \< 9f28157778ede0d4f183f7ab3b46995bb400abbe; Linux 3.3.

### Is there a fix for CVE-2022-50656?

Yes. Fixed in Linux 9da4a0411f3455e3885831d0758bee3e3d565bbc, Linux 61a7e15d55fae329a245535c3bac494e401005b8, Linux 8bddef54cbe9ede5ac7478f1e1e968fcfe7e6f03, Linux 755019e37815a66bb0a23893debbd3dd640ccbd3, Linux 9f28157778ede0d4f183f7ab3b46995bb400abbe. Upgrade Linux to 9f28157778ede0d4f183f7ab3b46995bb400abbe or later.

### How do I check if I'm affected by CVE-2022-50656?

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/9da4a0411f3455e3885831d0758bee3e3d565bbc>
- other: <https://git.kernel.org/stable/c/61a7e15d55fae329a245535c3bac494e401005b8>
- other: <https://git.kernel.org/stable/c/bef2f478513e7367ef3b05441f6afca981de29be>
- other: <https://git.kernel.org/stable/c/8bddef54cbe9ede5ac7478f1e1e968fcfe7e6f03>
- other: <https://git.kernel.org/stable/c/aea9e64dec2cc6cd742e07ecd4e6236fc76b389b>
- other: <https://git.kernel.org/stable/c/aae9c24ebd901f482e6c88b6f9e0c80dc5b536d6>
- other: <https://git.kernel.org/stable/c/755019e37815a66bb0a23893debbd3dd640ccbd3>
- other: <https://git.kernel.org/stable/c/e491285b4d08884b622638be8e4961eb43b0af64>
- other: <https://git.kernel.org/stable/c/9f28157778ede0d4f183f7ab3b46995bb400abbe>

## 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-2022-50656>

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