VDB

CVE-2025-38049

CVE-2025-38049 PUBLISHED CVSS 5.5 MEDIUM

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.

PackageEcosystemFixed in
linux_kernellinux6.14.2, 6.13.11, 6.12.23
LinuxLinux6.9

Risk scores

CVSS 3.1
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected products

VendorProductVersions
LinuxLinux6eac36bb9eb0349c983313c71692c19d50b56878, 6eac36bb9eb0349c983313c71692c19d50b56878, 6eac36bb9eb0349c983313c71692c19d50b56878
LinuxLinux6.9, 0, 6.12.23
LinuxLinux6eac36bb9eb0349c983313c71692c19d50b56878, 6.13.11, 6.14.2
linuxlinux_kernel6.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

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›