← CVE Intelligence

CVE-2022-49893

cxl/region: Fix cxl_region leak, cleanup targets at region delete PUBLISHED

Description (CNA)

In the Linux kernel, the following vulnerability has been resolved: cxl/region: Fix cxl_region leak, cleanup targets at region delete When a region is deleted any targets that have been previously assigned to that region hold references to it. Trigger those references to drop by detaching all targets at unregister_region() time. Otherwise that region object will leak as userspace has lost the ability to detach targets once region sysfs is torn down.

Affected (CNA)

Vendor / productVersions
Linux / Linuxaffected b9686e8c8e39d4072081ef078c04915ee51c8af4 before 45d9fb4b758b9d602ee7776eb6754b0349946aad; affected b9686e8c8e39d4072081ef078c04915ee51c8af4 before 0d9e734018d70cecf79e2e4c6082167160a0f13f
Linux / Linuxaffected 6.0; unaffected 0 before 6.0; unaffected 6.0.8 through 6.0.*; unaffected 6.1 through *

CWE

No CWE identifiers supplied.

References