CVE-2022-50656

nfc: pn533: Clear nfc_target before being used

HIGH
8.1
CVSS Score
Published: December 9, 2025 at 12:00 AM UTC
Updated: August 5, 2026 at 09:24 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH8.1
Exploit prediction
EPSS 0.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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

3.3 ≤ v < 4.14.3033.3 ≤ v < 4.19.2703.3 ≤ v < 4.9.3373.3 ≤ v < 5.10.1633.3 ≤ v < 5.15.863.3 ≤ v < 5.4.2293.3 ≤ v < 6.0.163.3 ≤ v < 6.1.23.3 ≤ v < 6.23.3361f3cb7f9cfdb82c80926d0e7843c098c034545
Vendor states this is fixed in 61a7e15d55fae329a245535c3bac494e401005b8 (fixed)
Vendor states this is fixed in 755019e37815a66bb0a23893debbd3dd640ccbd3 (fixed)
Vendor states this is fixed in 8bddef54cbe9ede5ac7478f1e1e968fcfe7e6f03 (fixed)
Vendor states this is fixed in 9da4a0411f3455e3885831d0758bee3e3d565bbc (fixed)
Vendor states this is fixed in 9f28157778ede0d4f183f7ab3b46995bb400abbe (fixed)
Vendor states this is fixed in aae9c24ebd901f482e6c88b6f9e0c80dc5b536d6 (fixed)
Vendor states this is fixed in aea9e64dec2cc6cd742e07ecd4e6236fc76b389b (fixed)
Vendor states this is fixed in bef2f478513e7367ef3b05441f6afca981de29be (fixed)
Vendor states this is fixed in e491285b4d08884b622638be8e4961eb43b0af64 (fixed)
Vendor states this is fixed in 3.3 (unaffected)
Vendor states this is fixed in 4.14.303 (unaffected)
Vendor states this is fixed in 4.19.270 (unaffected)
Vendor states this is fixed in 4.9.337 (unaffected)
Vendor states this is fixed in 5.10.163 (unaffected)
Vendor states this is fixed in 5.15.86 (unaffected)
Vendor states this is fixed in 5.4.229 (unaffected)
Vendor states this is fixed in 6.0.16 (unaffected)
Vendor states this is fixed in 6.1.2 (unaffected)
Vendor states this is fixed in 6.2 (unaffected)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

CVSS

8.1HIGHLinux
Vector?

Quick Info

StatusDEFERRED

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card