{"id":"CVE-2024-56706","published":"2024-12-28T09:46:27Z","modified":"2026-08-05T11:46:11Z","title":"s390/cpum_sf: Fix and protect memory allocation of SDBs with mutex","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\ns390/cpum_sf: Fix and protect memory allocation of SDBs with mutex\n\nReservation of the PMU hardware is done at first event creation\nand is protected by a pair of mutex_lock() and mutex_unlock().\nAfter reservation of the PMU hardware the memory\nrequired for the PMUs the event is to be installed on is\nallocated by allocate_buffers() and alloc_sampling_buffer().\nThis done outside of the mutex protection.\nWithout mutex protection two or more concurrent invocations of\nperf_event_init() may run in parallel.\nThis can lead to allocation of Sample Data Blocks (SDBs)\nmultiple times for the same PMU.\nPrevent this and protect memory allocation of SDBs by\nmutex.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00166,"percentile":0.05855,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/4b3bdfa89635db6a53e02955548bd07bebcae233","tags":[]},{"url":"https://git.kernel.org/stable/c/f55bd479d8663a4a4e403b3d308d3d1aa33d92df","tags":[]}],"priority":{"score":6.6,"factors":[{"name":"EPSS percentile","points":1.17},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 8a6fe8f21ec4f049a7b1fe120ad50a5065a9c7a8, < 4b3bdfa89635db6a53e02955548bd07bebcae233",">= 8a6fe8f21ec4f049a7b1fe120ad50a5065a9c7a8, < f55bd479d8663a4a4e403b3d308d3d1aa33d92df"]},{"vendor":"Linux","product":"Linux","versions":["6.12"]}],"euvd":{"id":"EUVD-2024-53354","exploited":false,"provenance":"source"}}