CVE-2022-50656

HIGHCVSS 8.1/10EPSS 0.21%

Last modified

CVE-2022-50656 is a high-severity vulnerability rated 8.1/10 on the CVSS scale. 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. EPSS estimates a 0.21% chance of exploitation in the next 30 days.

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

Metrics

CVSS 3.1
8.1/10

CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

EPSS Probability
0.21%

11.0th percentile

Probability of exploitation in the next 30 days. Learn more

Affected Software

Source: CNA advisory (CVE.org). NVD analysis pending.

VendorProductVersions
LinuxLinux>= 361f3cb7f9cfdb82c80926d0e7843c098c034545, < 9da4a0411f3455e3885831d0758bee3e3d565bbc; >= 361f3cb7f9cfdb82c80926d0e7843c098c034545, < 61a7e15d55fae329a245535c3bac494e401005b8; >= 361f3cb7f9cfdb82c80926d0e7843c098c034545, < bef2f478513e7367ef3b05441f6afca981de29be; >= 361f3cb7f9cfdb82c80926d0e7843c098c034545, < 8bddef54cbe9ede5ac7478f1e1e968fcfe7e6f03; >= 361f3cb7f9cfdb82c80926d0e7843c098c034545, < aea9e64dec2cc6cd742e07ecd4e6236fc76b389b; >= 361f3cb7f9cfdb82c80926d0e7843c098c034545, < aae9c24ebd901f482e6c88b6f9e0c80dc5b536d6; >= 361f3cb7f9cfdb82c80926d0e7843c098c034545, < 755019e37815a66bb0a23893debbd3dd640ccbd3; >= 361f3cb7f9cfdb82c80926d0e7843c098c034545, < e491285b4d08884b622638be8e4961eb43b0af64; >= 361f3cb7f9cfdb82c80926d0e7843c098c034545, < 9f28157778ede0d4f183f7ab3b46995bb400abbe
LinuxLinux3.3

References

Timeline

Published
Last Modified
Status
Deferred

Frequently Asked Questions

What is CVE-2022-50656?
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
How severe is CVE-2022-50656?
CVE-2022-50656 has a CVSS score of 8.1/10 (HIGH severity). The EPSS model estimates a 0.21% probability of exploitation in the next 30 days.
How do I fix CVE-2022-50656?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

How Strix Helps

Related CVEs from 2022

Are you affected by CVE-2022-50656?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST