Kernel: ebpf: insufficient stack type checks in dynptr

Summary

CVECVE-2023-39191
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2023-10-04 19:15:10 UTC
Updated2026-11-07 12:17:29 UTC
DescriptionAn improper input validation flaw was found in the eBPF subsystem in the Linux kernel. The issue occurs due to a lack of proper validation of dynamic pointers within user-supplied eBPF programs prior to executing them. This may allow an attacker with CAP_BPF privileges to escalate privileges and execute arbitrary code in the context of the kernel.

Risk And Classification

Primary CVSS: v3.1 8.2 HIGH from [email protected]

CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

EPSS: 0.005310000 probability, percentile 0.451790000 (date 2026-11-08)

Problem Types: CWE-20 | NVD-CWE-noinfo | CWE-20 Improper Input Validation


VersionSourceTypeScoreSeverityVector
3.1[email protected]Primary8.2HIGHCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
3.1[email protected]Secondary8.2HIGHCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
3.1CNACVSS8.2HIGHCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

CVSS v3.1 Breakdown

Attack Vector
Local
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Fedoraproject Fedora 38 All All All
Operating System Linux Linux Kernel All All All All
Operating System Redhat Enterprise Linux 9.0 All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Red Hat Red Hat Enterprise Linux 9 unaffected 0:5.14.0-362.8.1.el9_3 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 9 unaffected 0:5.14.0-362.8.1.el9_3 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 9.2 Extended Update Support unaffected 0:5.14.0-284.48.1.el9_2 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 9.2 Extended Update Support unaffected 0:5.14.0-284.48.1.rt14.333.el9_2 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 9.2 Extended Update Support Not specified Not specified
CNA Red Hat Red Hat Enterprise Linux 6 Not specified Not specified
CNA Red Hat Red Hat Enterprise Linux 7 Not specified Not specified
CNA Red Hat Red Hat Enterprise Linux 7 Not specified Not specified
CNA Red Hat Red Hat Enterprise Linux 8 Not specified Not specified
CNA Red Hat Red Hat Enterprise Linux 8 Not specified Not specified
CNA Red Hat Red Hat Enterprise Linux 9 Not specified Not specified

References

ReferenceSourceLinkTags
Red Hat af854a3a-2127-422b-91ae-364da2661108 access.redhat.com Third Party Advisory
Red Hat af854a3a-2127-422b-91ae-364da2661108 access.redhat.com Third Party Advisory
cve-details af854a3a-2127-422b-91ae-364da2661108 access.redhat.com Third Party Advisory
2226783 – (CVE-2023-39191, ZDI-CAN-19399) CVE-2023-39191 kernel: eBPF: insufficient stack type checks in dynptr af854a3a-2127-422b-91ae-364da2661108 bugzilla.redhat.com Issue Tracking, Patch, Third Party Advisory
Red Hat af854a3a-2127-422b-91ae-364da2661108 access.redhat.com Third Party Advisory
ZDI-23-1489 | Zero Day Initiative af854a3a-2127-422b-91ae-364da2661108 www.zerodayinitiative.com Patch, Third Party Advisory, VDB Entry
Red Hat af854a3a-2127-422b-91ae-364da2661108 access.redhat.com Third Party Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

CNA: Red Hat would like to thank Zero Day Initiative (ZDI) for reporting this issue. (en)

Additional Advisory Data

SourceTimeEvent
CNA2023-07-25T00:00:00.000ZReported to Red Hat.
CNA2023-09-29T00:00:00.000ZMade public.

Legacy QID Mappings

  • 161066 Oracle Enterprise Linux Security Update for kernel (ELSA-2023-6583)
  • 242399 Red Hat Update for kernel security (RHSA-2023:6583)
  • 242734 Red Hat Update for kpatch-patch (RHSA-2024:0381)
  • 242845 Red Hat Update for kernel (RHSA-2024:0448)
  • 242846 Red Hat Update for kernel-rt (RHSA-2024:0439)
  • 356634 Amazon Linux Security Advisory for kernel : ALAS2023-2023-422
  • 6140404 AWS Bottlerocket Security Update for kernel (GHSA-qmff-hxw3-jpv4)
  • 755240 SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2023:4375-1)
  • 755249 SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2023:4414-1)
  • 755567 SUSE Security Update for the linux kernel (SUSE-SU-2023:4343-1)
  • 756013 SUSE Enterprise Linux Security Update for the Linux Kernel RT (Live Patch 6 for SLE 15 SP5) (SUSE-SU-2024:0986-1)
  • 756014 SUSE Enterprise Linux Security Update for the Linux Kernel RT (Live Patch 1 for SLE 15 SP5) (SUSE-SU-2024:0995-1)
  • 756028 SUSE Enterprise Linux Security Update for the Linux Kernel (Live Patch 2 for SLE 15 SP5) (SUSE-SU-2024:1023-1)
  • 756030 SUSE Enterprise Linux Security Update for the Linux Kernel (Live Patch 6 for SLE 15 SP5) (SUSE-SU-2024:1045-1)
  • 756032 SUSE Enterprise Linux Security Update for the Linux Kernel (Live Patch 0 for SLE 15 SP5) (SUSE-SU-2024:1039-1)
  • 756047 SUSE Enterprise Linux Security Update for the Linux Kernel RT (Live Patch 0 for SLE 15 SP5) (SUSE-SU-2024:1097-1)
  • 907630 Common Base Linux Mariner (CBL-Mariner) Security Update for kernel (31150-1)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report