CVE-2024-56706
MEDIUM EPSS 5.5%
Published Dec 28, 20241y ago · Modified Jun 17, 20261w ago
6.3 CVSS 3.1
Published Dec 28, 2024 1y ago
Last Modified Jun 17, 2026 1w ago
Description
In the Linux kernel, the following vulnerability has been resolved: s390/cpum_sf: Fix and protect memory allocation of SDBs with mutex Reservation of the PMU hardware is done at first event creation and is protected by a pair of mutex_lock() and mutex_unlock(). After reservation of the PMU hardware the memory required for the PMUs the event is to be installed on is allocated by allocate_buffers() and alloc_sampling_buffer(). This done outside of the mutex protection. Without mutex protection two or more concurrent invocations of perf_event_init() may run in parallel. This can lead to allocation of Sample Data Blocks (SDBs) multiple times for the same PMU. Prevent this and protect memory allocation of SDBs by mutex.
CVSS Details
Base Score
Exploitability
Impact
Vector string
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:H Attack Vector Local
Attack Complexity High
Privileges Required Low
User Interaction None
Scope Unchanged
Confidentiality High
Integrity None
Availability High
Threat Intelligence
EPSS Exploit Probability
5.5% percentile
Exploit & Patch Status
No Known Exploit
Patch Available
Weaknesses 2
CWE-125 Out-of-bounds Read Memory Safety
CWE-362
Affected Products 1
| Vendor | Product | Version | Range |
|---|---|---|---|
| linux | linux_kernel | * | ≥6.12 – <6.12.2 |
References 2
- git.kernel.org https://git.kernel.org/stable/c/4b3bdfa89635db6a53e02955548bd07bebcae233
- git.kernel.org https://git.kernel.org/stable/c/f55bd479d8663a4a4e403b3d308d3d1aa33d92df
Remediation
- git.kernel.org https://git.kernel.org/stable/c/4b3bdfa89635db6a53e02955548bd07bebcae233
- git.kernel.org https://git.kernel.org/stable/c/f55bd479d8663a4a4e403b3d308d3d1aa33d92df