CVE-2024-56706
Last modified
CVE-2024-56706 is a medium-severity vulnerability rated 6.3/10 on the CVSS scale. 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.. EPSS estimates a 0.16% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 6.12, < 6.12.2 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-56706?
How severe is CVE-2024-56706?
How do I fix CVE-2024-56706?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-56700In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-56701In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-56702In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-56703In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-56704In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2024-56705In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-56707In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-56708In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2024-56709In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-5671Insecure Deserialization in some workflows of the IPS Manage…9.8
- CVE-2024-56710In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-56711In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2024-56706?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
