NetSight
high8.8

CVE-2022-48967

In the Linux kernel, the following vulnerability has been resolved: NFC: nci: Bounds check struct nfc_target arrays While running under CONFIG_FORTIFY_SOURCE=y…

Impact

In the Linux kernel, the following vulnerability has been resolved: NFC: nci: Bounds check struct nfc_target arrays While running under CONFIG_FORTIFY_SOURCE=y, syzkaller reported: memcpy: detected field-spanning write (size 129) of single field "target->sensf_res" at net/nfc/nci/ntf.c:260 (size 18) This appears to be a legitimate lack of bounds checking in nci_add_new_protocol(). Add the missing checks.

Affected products

VendorProductAffected versions
LinuxLinux Kernel
from 3.4 before 4.9.336
from 4.10 before 4.14.302
from 4.15 before 4.19.269
from 4.20 before 5.4.227
from 5.5 before 5.10.159
from 5.11 before 5.15.83

Weakness classification

References