CVE-2024-56706: s390/cpum_sf: Fix and protect memory allocation of SDBs with mutex
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.
Security readout for executives and security teams
Plain-English summary
A race condition in the Linux kernel’s IBM Z (s390) performance-monitoring code can allocate sampling memory more than once for the same hardware unit. A local, low-privileged user may be able to trigger serious confidentiality, integrity, or availability consequences. Exposure appears limited to affected s390 systems using this performance-monitoring path.
Executive priority
Prioritize prompt assessment of s390 Linux systems, especially shared hosts or systems running untrusted workloads. Patch confirmed affected systems through supported distribution channels. Other architectures are not identified as affected by the supplied evidence. Escalate if local users can access performance monitoring or if kernel provenance cannot be verified.
Technical view
Concurrent perf_event_init() calls can reach allocate_buffers() and alloc_sampling_buffer() outside the PMU reservation mutex. This permits duplicate Sample Data Block allocations for one PMU. The correction extends mutex protection around SDB allocation. The supplied CVSS 3.1 score is 7.8: local access, low complexity, low privileges, no user interaction, and high C/I/A impact.
Likely exposure
Likely exposure is limited to Linux on s390 where the cpum_sf PMU sampling facility is present and accessible to local users. The bundle identifies Linux 6.12-related versions and a 6.13 boundary, but its version data is ambiguous. Confirm exact exposure against the CVE record, distribution advisories, and installed kernel provenance.
Exploitation context
The weakness requires local access and low privileges according to the supplied CVSS vector. Triggering involves concurrent performance-event initialization. The bundle marks the CVE as absent from KEV and provides no cited evidence of active exploitation or a public exploit. Exploitability under specific distribution security settings is not established.
Researcher notes
The reported flaw is a mutex coverage error in s390/cpum_sf SDB allocation, not PMU reservation itself. Duplicate allocation for a single PMU is the described failure condition. The bundle provides fix commits but no crash trace, exploit evidence, affected-distribution mapping, or precise consequences connecting the race to each rated C/I/A impact.
Mitigation direction
Install a vendor-supported kernel containing the referenced mutex-protection fix.
Check distribution advisories for exact fixed package versions and reboot requirements.
Restrict unnecessary local access and performance-monitoring privileges until patched.
Prioritize affected multi-user or untrusted-workload s390 systems.
Validation and detection
Confirm each host uses the s390 architecture and identify its exact kernel build.
Compare kernel provenance with the CVE record, stable commits, and distribution advisories.
Verify the installed kernel incorporates one of the referenced fixes or its backport.
Confirm patched systems booted into the updated kernel after maintenance.
Review local perf access controls and exposure to untrusted users.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cve · low confidence lookup
CVE-2024-56706 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
1CVSS vectors
3Timeline events
0ADP providers
3Source links
CVSS vector scores
1 official score
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.