CVE-2022-49893

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

State
Published
Severity
Not scored
Published
May 1, 2025
Updated
May 11, 2026
Reserved
May 1, 2025

Read the record on cve.org

Description

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • b9686e8c8e39d4072081ef078c04915ee51c8af4 to before 45d9fb4b758b9d602ee7776eb6754b0349946aadAffected
  • b9686e8c8e39d4072081ef078c04915ee51c8af4 to before 0d9e734018d70cecf79e2e4c6082167160a0f13fAffected
LinuxLinux
  • 6.0Affected
  • before 6.0Not affected
  • 6.0.8 through 6.0.*Not affected
  • 6.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.