CVE-2025-38049
x86/resctrl: Fix allocation of cleanest CLOSID on platforms with no monitors
Reported by linux · Published April 18, 2025
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux_kernel | linux | 6.14.2, 6.13.11, 6.12.23 |
| Linux | Linux | 6.9 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 6eac36bb9eb0349c983313c71692c19d50b56878, 6eac36bb9eb0349c983313c71692c19d50b56878, 6eac36bb9eb0349c983313c71692c19d50b56878 |
| Linux | Linux | 6.9, 0, 6.12.23 |
| Linux | Linux | 6eac36bb9eb0349c983313c71692c19d50b56878, 6.13.11, 6.14.2 |
| linux | linux_kernel | 6.9, 6.9, 6.9 |
Timeline
- Apr 18, 2025 EPSS Score (30 in total, the first dated here)
- Apr 18, 2025 CVE Published
- May 27, 2025 Coalition ESS Score (12 in total, the first dated here)
- Dec 15, 2025 Security Advisory (167 in total, the first dated here)
- Dec 19, 2025 PoC Published
- Apr 29, 2026 Distribution Patch (163 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-38049
vulnetix vdb fixes CVE-2025-38049
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-38049/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart