{"id":"CVE-2023-39191","aliases":["CVE-2023-39191"],"related":[],"kind":"vulnerability","state":"published","title":"Kernel: ebpf: insufficient stack type checks in dynptr","summary":"An 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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"An 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.","source":"cvelist"},{"lang":"es","text":"Se encontró una falla de validación de entrada incorrecta en el subsistema eBPF del kernel de Linux. El problema se debe a una falta de validación adecuada de los punteros dinámicos dentro de los programas eBPF proporcionados por el usuario antes de ejecutarlos. Esto puede permitir que un atacante con privilegios CAP_BPF escale privilegios y ejecute código arbitrario en el contexto del kernel.","source":"nvd"}],"published":"2023-10-04T18:03:02.966Z","modified":"2026-11-26T14:16:59.833Z","severity":{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","score":8.2,"rating":"HIGH"},"severities":[{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","score":8.2,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","score":8.2,"rating":"HIGH"}],"cwes":["CWE-20"],"affected":[{"ranges":[{"type":"rpm","introduced":"0:5.14.0-362.8.1.el9_3","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","package":"kernel","cpe":"cpe:/a:redhat:enterprise_linux:9::appstream","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:5.14.0-362.8.1.el9_3","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","package":"kernel","cpe":"cpe:/a:redhat:enterprise_linux:9::appstream","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:5.14.0-362.8.1.el9_3","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","package":"kernel","cpe":"cpe:/a:redhat:enterprise_linux:9::appstream","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:5.14.0-362.8.1.el9_3","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","package":"kernel","cpe":"cpe:/a:redhat:enterprise_linux:9::appstream","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:5.14.0-284.48.1.el9_2","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9.2 Extended Update Support","package":"kernel","cpe":"cpe:/a:redhat:rhel_eus:9.2::appstream","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:5.14.0-284.48.1.rt14.333.el9_2","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9.2 Extended Update Support","package":"kernel-rt","cpe":"cpe:/a:redhat:rhel_eus:9.2::nfv","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:5.14.0-284.48.1.rt14.333.el9_2","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9.2 Extended Update Support","package":"kernel-rt","cpe":"cpe:/a:redhat:rhel_eus:9.2::nfv","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9.2 Extended Update Support","package":"kpatch-patch","cpe":"cpe:/o:redhat:rhel_eus:9.2::baseos","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 6","package":"kernel","cpe":"cpe:/o:redhat:rhel_els:6","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 7","package":"kernel","cpe":"cpe:/o:redhat:rhel_els:7","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 7","package":"kernel-rt","cpe":"cpe:/o:redhat:rhel_els:7","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","package":"kernel","cpe":"cpe:/o:redhat:enterprise_linux:8","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","package":"kernel-rt","cpe":"cpe:/o:redhat:enterprise_linux:8","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.19","fixed":"6.3"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"38"}],"vendor":"fedoraproject","product":"fedora","cpe":"cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"9.0"}],"vendor":"redhat","product":"enterprise_linux","cpe":"cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2023:6583","tags":["third-party-advisory","vendor-advisory","x-refsource-redhat","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2024:0381","tags":["third-party-advisory","vendor-advisory","x-refsource-redhat","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2024:0439","tags":["third-party-advisory","vendor-advisory","x-refsource-redhat","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2024:0448","tags":["third-party-advisory","vendor-advisory","x-refsource-redhat","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/security/cve/CVE-2023-39191","tags":["third-party-advisory","vdb-entry","x-refsource-redhat","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2226783","tags":["issue-tracking","patch","third-party-advisory","x-refsource-redhat","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://www.zerodayinitiative.com/advisories/ZDI-CAN-19399/","tags":["patch","third-party-advisory","vdb-entry","x-transferred"],"sources":["cvelist","nvd"]}],"credits":["Red Hat would like to thank Zero Day Initiative (ZDI) for reporting this issue."],"assigner":"redhat","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2025-02-26T21:50:31.558Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-39191","url":"https://www.cve.org/CVERecord?id=CVE-2023-39191","licence":"CVE Terms of Use","modified":"2026-11-26T13:48:27.522Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-39191","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-39191","licence":"Public domain","modified":"2026-11-26T14:16:59.833Z"}],"updatedAt":"2026-11-26T14:17:18.053Z","epss":{"score":0.00515,"percentile":0.45329,"date":"2026-12-01T12:00:22.000Z"}}