CVE-2025-38049

MEDIUM

Linux Kernel 6.9-6.12.22, 6.13.0-6.13.10, 6.14.0-6.14.1 - NULL Pointer Dereference in resctrl CLOSID Allocation

Title source: llm
STIX 2.1

Description

In the Linux kernel, the following vulnerability has been resolved: x86/resctrl: Fix allocation of cleanest CLOSID on platforms with no monitors Commit 6eac36bb9eb0 ("x86/resctrl: Allocate the cleanest CLOSID by searching closid_num_dirty_rmid") added logic that causes resctrl to search for the CLOSID with the fewest dirty cache lines when creating a new control group, if requested by the arch code. This depends on the values read from the llc_occupancy counters. The logic is applicable to architectures where the CLOSID effectively forms part of the monitoring identifier and so do not allow complete freedom to choose an unused monitoring identifier for a given CLOSID. This support missed that some platforms may not have these counters. This causes a NULL pointer dereference when creating a new control group as the array was not allocated by dom_data_init(). As this feature isn't necessary on platforms that don't have cache occupancy monitors, add this to the check that occurs when a new control group is allocated.

Scores

CVSS v3 5.5
EPSS 0.0022
EPSS Percentile 11.8%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-476
Status published
Products (14)
linux/Kernel 6.13.0 - 6.13.11linux
linux/Kernel 6.14.0 - 6.14.2linux
linux/Kernel 6.9.0 - 6.12.23linux
Linux/Linux < 6.9
Linux/Linux 6.12.23 - 6.12.*
Linux/Linux 6.13.11 - 6.13.*
Linux/Linux 6.14.2 - 6.14.*
Linux/Linux 6.15
Linux/Linux 6.9
Linux/Linux 6eac36bb9eb0349c983313c71692c19d50b56878 - 93a418fc61da13d1ee4047d4d1327990f7a2816a
... and 4 more
Published Apr 18, 2025
Tracked Since Feb 18, 2026