{"id":"CVE-2025-38049","published":"2025-04-18T07:01:30Z","modified":"2026-05-11T21:20:17Z","title":"x86/resctrl: Fix allocation of cleanest CLOSID on platforms with no monitors","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nx86/resctrl: Fix allocation of cleanest CLOSID on platforms with no monitors\n\nCommit\n\n  6eac36bb9eb0 (\"x86/resctrl: Allocate the cleanest CLOSID by searching closid_num_dirty_rmid\")\n\nadded logic that causes resctrl to search for the CLOSID with the fewest dirty\ncache lines when creating a new control group, if requested by the arch code.\nThis depends on the values read from the llc_occupancy counters. The logic is\napplicable to architectures where the CLOSID effectively forms part of the\nmonitoring identifier and so do not allow complete freedom to choose an unused\nmonitoring identifier for a given CLOSID.\n\nThis support missed that some platforms may not have these counters.  This\ncauses a NULL pointer dereference when creating a new control group as the\narray was not allocated by dom_data_init().\n\nAs this feature isn't necessary on platforms that don't have cache occupancy\nmonitors, add this to the check that occurs when a new control group is\nallocated.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00268,"percentile":0.19385,"provenance":"source"},"cwes":[{"id":"CWE-476","name":"NULL Pointer Dereference"}],"references":[{"url":"https://git.kernel.org/stable/c/a8a1bcc27d4607227088d80483164289b5348293","tags":[]},{"url":"https://git.kernel.org/stable/c/ed5addb55e403ad6598102bcf546e068ae01fef6","tags":[]},{"url":"https://git.kernel.org/stable/c/93a418fc61da13d1ee4047d4d1327990f7a2816a","tags":[]},{"url":"https://git.kernel.org/stable/c/a121798ae669351ec0697c94f71c3a692b2a755b","tags":[]}],"priority":{"score":7.7,"factors":[{"name":"EPSS percentile","points":3.88},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 6eac36bb9eb0349c983313c71692c19d50b56878, < a8a1bcc27d4607227088d80483164289b5348293",">= 6eac36bb9eb0349c983313c71692c19d50b56878, < ed5addb55e403ad6598102bcf546e068ae01fef6",">= 6eac36bb9eb0349c983313c71692c19d50b56878, < 93a418fc61da13d1ee4047d4d1327990f7a2816a",">= 6eac36bb9eb0349c983313c71692c19d50b56878, < a121798ae669351ec0697c94f71c3a692b2a755b"]},{"vendor":"Linux","product":"Linux","versions":["6.9"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-10-01T16:14:17.091633Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-11827","exploited":false,"provenance":"source"}}