CVE-2024-40936

medium

Description

In the Linux kernel, the following vulnerability has been resolved: cxl/region: Fix memregion leaks in devm_cxl_add_region() Move the mode verification to __create_region() before allocating the memregion to avoid the memregion leaks.

References

https://git.kernel.org/stable/c/d8316838aa0686da63a8be4194b7a17b0103ae4a

https://git.kernel.org/stable/c/bbb5d8746381c82f7e0fb6171094d375b492f266

https://git.kernel.org/stable/c/49ba7b515c4c0719b866d16f068e62d16a8a3dd1

Details

Source: Mitre, NVD

Published: 2024-07-12

Updated: 2024-07-12

Risk Information

CVSS v2

Base Score: 5

Vector: CVSS2#AV:L/AC:L/Au:M/C:C/I:N/A:P

Severity: Medium

CVSS v3

Base Score: 5.1

Vector: CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:L

Severity: Medium