cxl/region: Avoid null pointer dereference in region lookup

Merge Request Required Information

Summary of Changes

cxl/region: Avoid null pointer dereference in region lookup

NOTE: Original upstream patch is to a function that is in a different file upstream, but the changes to __cxl_dpa_to_region are identical.

Approved Development Ticket

JIRA: https://issues.redhat.com/browse/RHEL-51656

CVE: CVE-2024-41084

Signed-off-by: John W. Linville linville@redhat.com

Merge request reports

Loading