CVE-2023-6931: Local privilege escalation in Linux kernel perf_read_group()
- Vendors
- Debian ProjectLinux
CVE-2023-6931 is a heap out-of-bounds write vulnerability in the Linux kernel Performance Events subsystem. Overflow of a perf_event object's read_size can cause perf_read_group() to increment or write memory outside the intended heap buffer. A local attacker able to manipulate performance-event configurations can potentially exploit the resulting kernel memory corruption to escalate privileges, execute arbitrary code, or crash the system.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation can compromise kernel execution and enable local privilege escalation, with potentially high confidentiality and integrity impacts. Memory corruption can also crash the system, causing denial of service. Exploitation is assessed by Red Hat as high complexity because it requires complex manipulation of a custom performance-event configuration containing many custom events.
Mitigation
If you can’t patch tonight, do this now.
On affected Red Hat systems, retain or restore kernel.perf_event_paranoid to the documented default value of 2, which prevents this vulnerability from being triggered. Ensure the setting remains effective until a fixed kernel is installed and running.
Remediation
Patch, then assume compromise.
Install a vendor-supported kernel update containing the fix, or upgrade to an upstream kernel revision incorporating commit 382c27f4ed28f803b1f1473ac2d8db0afc795a1b. Fixed Red Hat kernel versions include 4.18.0-513.24.1.el8_9 for RHEL 8, 5.14.0-70.97.1.el9_0 for RHEL 9.0 EUS, and 5.14.0-284.55.1.el9_2 for RHEL 9.2 update streams. Other distribution and real-time kernel variants require their corresponding vendor updates. Reboot into the updated kernel for the fix to take effect.
Exploits
2 exploits validated by Mallory's analysis. Hidden: 1 rejected by Mallory's analysis as not a working exploit.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2023-6931 exploited in the wild?
- As of Oct 23, 2026, Mallory has no reports of CVE-2023-6931 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2023-6931?
- Yes. Mallory tracks 2 public exploits or proofs of concept for CVE-2023-6931, the earliest disclosed Jan 5, 2025.
- Is there a patch for CVE-2023-6931?
- Install a vendor-supported kernel update containing the fix, or upgrade to an upstream kernel revision incorporating commit 382c27f4ed28f803b1f1473ac2d8db0afc795a1b. Fixed Red Hat kernel versions include 4.18.0-513.24.1.el8_9 for RHEL 8, 5.14.0-70.97.1.el9_0 for RHEL 9.0 EUS, and 5.14.0-284.55.1.el9_2 for RHEL 9.2 update streams.
- What products are affected by CVE-2023-6931?
- Linux Kernel and Debian Project Debian Linux.
- How severe is CVE-2023-6931?
- CVE-2023-6931 has a CVSS v3.1 score of 7.0 (High) and an EPSS score of 0.71% (49th percentile) as of Oct 23, 2026.
Recent activity
21 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.