CVE-2022-49893

Summary

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 Software

VendorProductVersion RangeStatus
LinuxLinuxb9686e8c8e39d4072081ef078c04915ee51c8af4 < 45d9fb4b758b9d602ee7776eb6754b0349946aadaffected
LinuxLinuxb9686e8c8e39d4072081ef078c04915ee51c8af4 < 0d9e734018d70cecf79e2e4c6082167160a0f13faffected
LinuxLinux6.0affected
LinuxLinux0 < 6.0unaffected
LinuxLinux6.0.8 <= 6.0.*unaffected
LinuxLinux6.1 <= *unaffected

Weaknesses

References