NetSight
medium5.5

CVE-2022-49924

In the Linux kernel, the following vulnerability has been resolved: nfc: fdp: Fix potential memory leak in fdp_nci_send() fdp_nci_send() will call fdp_nci_i2c_…

Impact

In the Linux kernel, the following vulnerability has been resolved: nfc: fdp: Fix potential memory leak in fdp_nci_send() fdp_nci_send() will call fdp_nci_i2c_write that will not free skb in the function. As a result, when fdp_nci_i2c_write() finished, the skb will memleak. fdp_nci_send() should free skb after fdp_nci_i2c_write() finished.

Affected products

VendorProductAffected versions
LinuxLinux Kernel
from 4.4 before 5.10.154
from 5.11 before 5.15.78
from 5.16 before 6.0.8
Version 6.1

Weakness classification

References