NetSight
medium5.5

CVE-2022-49284

In the Linux kernel, the following vulnerability has been resolved: coresight: syscfg: Fix memleak on registration failure in cscfg_create_device device_regist…

Impact

In the Linux kernel, the following vulnerability has been resolved: coresight: syscfg: Fix memleak on registration failure in cscfg_create_device device_register() calls device_initialize(), according to doc of device_initialize: Use put_device() to give up your reference instead of freeing * @dev directly once you have called this function. To prevent potential memleak, use put_device() for error handling.

Affected products

VendorProductAffected versions
LinuxLinux Kernel
from 5.15 before 5.15.33
from 5.16 before 5.16.19
from 5.17 before 5.17.2

Weakness classification

References