CVE-2023-6931

High

A heap out-of-bounds write vulnerability in the Linux kernel's Performance Events system component can be exploited to achieve local privilege escalation. A perf_event's read_size can overflow, leading to an heap out-of-bounds increment or write in perf_read_group(). We recommend upgrading past commit 382c27f4ed28f803b1f1473ac2d8db0afc795a1b.

Package Linux Kernel
Published 2023-12-19
Last modified 2026-05-12
CVSS version 3.1
Patch available
Yes

CVSS 3.1 score

7.0

out of 10
High
Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Vector string
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Weakness type

CWE-787

CVE-2023-6931 is a Out-of-bounds Write vulnerability

What is Out-of-bounds Write?

The product writes data past the end or before the beginning of the intended buffer. Learn more on MITRE CWE

Affected versions

Linux kernel versions 4.3 and later are affected. Fixed in 6.7 and their respective stable series.

Affected from
≥ 4.3
Fixed in
✓ 6.7 6.7.x

Frequently asked questions

  • What is CVE-2023-6931?

    CVE-2023-6931 is a High severity Linux kernel vulnerability with a CVSS score of 7.0 out of 10 , classified as an Out-of-bounds Write flaw (CWE-787) . It affects Linux kernel versions from 4.3 onward and has been patched in 6.7. CVE-2023-6931 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.

  • What is the CVSS score for CVE-2023-6931?

    CVE-2023-6931 has a CVSS score of 7.0 out of 10, rated High severity (CVSS 3.1). The vector string is CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H .

  • Is there a patch available for CVE-2023-6931?

    Yes. CVE-2023-6931 has been patched. Fixed versions include 6.7. If you are running Linux kernel 4.3 or later up to the fix versions, apply the relevant patch for your kernel branch.

  • Is CVE-2023-6931 actively exploited?

    No. CVE-2023-6931 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.