CVE-2024-56706
MediumIn 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 3.1 score
6.3
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:H
Weakness type
CWE-125CVE-2024-56706 is a Out-of-bounds Read vulnerability
What is Out-of-bounds Read?
The product reads data past the end or before the beginning of the intended buffer. Learn more on MITRE CWE
Affected versions
Linux kernel versions
6.12
and later are affected. Fixed in
6.12.2,
6.13
and their respective stable series.
References
The following references provide additional information about CVE-2024-56706 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/4b3bdfa89635db6a53e02955548bd07bebcae233
-
PatchKernel patch commithttps://git.kernel.org/stable/c/f55bd479d8663a4a4e403b3d308d3d1aa33d92df
Frequently asked questions
-
What is CVE-2024-56706?
CVE-2024-56706 is a Medium severity Linux kernel vulnerability with a CVSS score of 6.3 out of 10 , classified as an Out-of-bounds Read flaw (CWE-125) . It affects Linux kernel versions from 6.12 onward and has been patched in 6.12.2 and 6.13. CVE-2024-56706 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2024-56706?
CVE-2024-56706 has a CVSS score of 6.3 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:H. -
Is there a patch available for CVE-2024-56706?
Yes — CVE-2024-56706 has been patched. Fixed versions include 6.12.2 and 6.13. If you are running Linux kernel 6.12 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2024-56706 actively exploited?
No — CVE-2024-56706 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.
-
What is Out-of-bounds Read (CWE-125)?
The product reads data past the end or before the beginning of the intended buffer. View CWE-125 on MITRE CWE →