cve.bz

CVE-2023-2163 linux linux kernel: Incorrect Calculation

8.8 highEPSS 1.7%Fix available

High (8.8) in linux linux kernel. EPSS 1.7% estimated probability of exploitation activity in the next 30 days.

On this page
Incorrect verifier pruning in BPF in Linux Kernel >=5.4 leads to unsafe code paths being incorrectly marked as safe, resulting in arbitrary read/write in kernel memory, lateral privilege escalation, and container escape.

Severity

CVSS 3.1

8.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
EPSS
1.7% (down from 3.7% a week ago; 3.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 77th percentile. Scored 2026-11-30. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: total, assessed 2025-02-26. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-682 Incorrect Calculation
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-2163 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-2163?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-2163?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-2163 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
linux:linux_kernelfrom 5.3 before 5.4.242
linux:linux_kernelfrom 5.5 before 5.10.179
linux:linux_kernelfrom 5.11 before 5.15.109
linux:linux_kernelfrom 5.16 before 6.1.26
linux:linux_kernelfrom 6.2 before 6.2.13

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14linux6.1.27-1DEBIAN-CVE-2023-2163
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2023-2163
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 12 moreno fix listedUBUNTU-CVE-2023-2163
Ubuntu20.04:LTSlinux5.4.0-162.179UBUNTU-CVE-2023-2163 USN-6340-1
Ubuntu20.04:LTSlinux-aws5.4.0-1109.118UBUNTU-CVE-2023-2163 USN-6340-1
Ubuntu20.04:LTSlinux-aws-5.155.15.0-1041.46~20.04.1UBUNTU-CVE-2023-2163 USN-6300-1
Ubuntu20.04:LTSlinux-azure5.4.0-1115.122UBUNTU-CVE-2023-2163 USN-6349-1
Ubuntu20.04:LTSlinux-azure-5.155.15.0-1045.52~20.04.1UBUNTU-CVE-2023-2163 USN-6332-1
Ubuntu20.04:LTSlinux-azure-fde-5.155.15.0-1043.50~20.04.1.1USN-6347-1
Ubuntu20.04:LTSlinux-bluefield5.4.0-1070.76UBUNTU-CVE-2023-2163 USN-6397-1
Ubuntu20.04:LTSlinux-gcp5.4.0-1112.121UBUNTU-CVE-2023-2163 USN-6340-1
Ubuntu20.04:LTSlinux-gcp-5.155.15.0-1039.47~20.04.1UBUNTU-CVE-2023-2163 USN-6311-1
Ubuntu20.04:LTSlinux-gke, linux-riscv, linux-raspi2 and 23 moreno fix listedUBUNTU-CVE-2023-2163
53 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:8::baseoskpatch-patch-4_18_0-513_5_1, kpatch-patch-4_18_0-513_5_1-debuginfo, kpatch-patch-4_18_0-513_5_1-debugsource0:1-1.el8_9RHSA-2023:7554
Red Hatenterprise_linux:8::baseosperf, kernel, bpftool and 30 more0:4.18.0-513.9.1.el8_9RHSA-2023:7549
Red Hatenterprise_linux:8::crbperf-debuginfo, kernel-debuginfo, bpftool-debuginfo and 7 more0:4.18.0-513.9.1.el8_9RHSA-2023:7549
Red Hatenterprise_linux:8::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 12 more0:4.18.0-513.9.1.rt7.311.el8_9RHSA-2023:7548
Red Hatenterprise_linux:8::realtimekernel-rt, kernel-rt-core, kernel-rt-debug and 10 more0:4.18.0-513.9.1.rt7.311.el8_9RHSA-2023:7548
Red Hatrhel_aus:8.2::baseos, rhel_tus:8.2::baseosperf, kernel, bpftool and 21 more0:4.18.0-193.120.1.el8_2RHSA-2024:0403
Red Hatrhel_aus:8.4::baseos, rhel_tus:8.4::baseosperf, kernel, bpftool and 21 more0:4.18.0-305.120.1.el8_4RHSA-2024:0562
Red Hatrhel_e4s:8.2::baseoskpatch-patch-4_18_0-193_109_1, kpatch-patch-4_18_0-193_109_1-debuginfo, kpatch-patch-4_18_0-193_109_1-debugsource0:1-4.el8_2RHSA-2024:0376
Red Hatrhel_e4s:8.2::baseoskpatch-patch-4_18_0-193_113_1, kpatch-patch-4_18_0-193_113_1-debuginfo, kpatch-patch-4_18_0-193_113_1-debugsource0:1-3.el8_2RHSA-2024:0376
Red Hatrhel_e4s:8.2::baseoskpatch-patch-4_18_0-193_116_1, kpatch-patch-4_18_0-193_116_1-debuginfo, kpatch-patch-4_18_0-193_116_1-debugsource0:1-2.el8_2RHSA-2024:0376
Red Hatrhel_e4s:8.2::baseoskpatch-patch-4_18_0-193_119_1, kpatch-patch-4_18_0-193_119_1-debuginfo, kpatch-patch-4_18_0-193_119_1-debugsource0:1-1.el8_2RHSA-2024:0376
Red Hatrhel_e4s:8.2::baseosperf, kernel, bpftool and 22 more0:4.18.0-193.120.1.el8_2RHSA-2024:0403
42 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-ESPOS, Linux Enterprise High Performance Computing 15 SP3-LTSSkernel-64kb, kernel-docs, kernel-default and 2 more5.3.18-150300.59.141.2SUSE-SU-2023:4348-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-ESPOS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 6 morekernel-default-base5.3.18-150300.59.141.2.150300.18.82.2SUSE-SU-2023:4348-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-ESPOS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 2 morekernel-syms, kernel-source5.3.18-150300.59.141.1SUSE-SU-2023:4348-1
SUSELinux Enterprise High Availability Extension 15 SP2, Linux Enterprise Live Patching 15 SP2kernel-default5.3.18-150200.24.169.1SUSE-SU-2023:4377-1
SUSELinux Enterprise High Availability Extension 15 SP3, Linux Enterprise Live Patching 15 SP3, Linux Enterprise Micro 5.1 and 1 morekernel-default5.3.18-150300.59.141.2SUSE-SU-2023:4348-1
SUSELinux Enterprise High Availability Extension 15 SP4, Linux Enterprise Live Patching 15 SP4, Linux Enterprise Micro 5.3 and 3 morekernel-default5.14.21-150400.24.97.1SUSE-SU-2023:4378-1
SUSELinux Enterprise High Availability Extension 15 SP5, Linux Enterprise Live Patching 15 SP5, Linux Enterprise Micro 5.5 and 2 morekernel-default5.14.21-150500.55.36.1SUSE-SU-2023:4375-1
SUSELinux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise Server 15 SP2-LTSS, Linux Enterprise Server for SAP Applications 15 SP2kernel-default-base5.3.18-150200.24.169.1.150200.9.85.1SUSE-SU-2023:4377-1
SUSELinux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise Server 15 SP2-LTSS, Linux Enterprise Server for SAP Applications 15 SP2kernel-docs, kernel-syms, kernel-source and 3 more5.3.18-150200.24.169.1SUSE-SU-2023:4377-1
SUSELinux Enterprise Live Patching 15 SP2kernel-livepatch-SLE15-SP2_Update_3211-150200.2.2SUSE-SU-2023:4833-1
SUSELinux Enterprise Live Patching 15 SP2kernel-livepatch-SLE15-SP2_Update_349-150200.2.1SUSE-SU-2023:4866-1
SUSELinux Enterprise Live Patching 15 SP2kernel-livepatch-SLE15-SP2_Update_368-150200.2.1SUSE-SU-2023:4796-1
50 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.4dtb-aarch645.3.18-150300.59.141.1SUSE-SU-2023:4348-1
openSUSELeap 15.4dtb-aarch64, kernel-64kb, kernel-docs and 8 more5.14.21-150400.24.97.1SUSE-SU-2023:4378-1
openSUSELeap 15.4kernel-azure, kernel-syms-azure, kernel-source-azure5.14.21-150400.14.72.1SUSE-SU-2023:4345-1
openSUSELeap 15.4kernel-rt, kernel-syms-rt, kernel-rt_debug and 1 more5.14.21-150400.15.59.1SUSE-SU-2023:4351-1
openSUSELeap 15.4, Leap Micro 5.3, Leap Micro 5.4kernel-default-base5.14.21-150400.24.97.1.150400.24.44.2SUSE-SU-2023:4378-1
openSUSELeap 15.5dtb-aarch64, kernel-64kb, kernel-docs and 8 more5.14.21-150500.55.36.1SUSE-SU-2023:4375-1
openSUSELeap 15.5kernel-azure, kernel-syms-azure, kernel-source-azure5.14.21-150500.33.23.1SUSE-SU-2023:4414-1
openSUSELeap 15.5kernel-default-base5.14.21-150500.55.36.1.150500.6.15.3SUSE-SU-2023:4375-1
openSUSELeap 15.5kernel-rt, kernel-syms-rt, kernel-rt_debug and 1 more5.14.21-150500.13.24.1SUSE-SU-2023:4343-1
openSUSELeap Micro 5.3, Leap Micro 5.4kernel-default5.14.21-150400.24.97.1SUSE-SU-2023:4378-1
openSUSELeap Micro 5.3, Leap Micro 5.4kernel-rt5.14.21-150400.15.59.1SUSE-SU-2023:4351-1
AlmaLinux8perf, kernel, bpftool and 21 more4.18.0-513.9.1.el8_9ALSA-2023:7549
Rocky Linux8kernel0:4.18.0-513.9.1.el8_9RLSA-2023:7549
Rocky Linux8kernel0:4.18.0-513.9.1.el8_9.cloudRXSA-2023:7549
Rocky Linux8kernel-rt0:4.18.0-513.9.1.rt7.311.el8_9RLSA-2023:7548
Azure Linux2kernel5.15.133.1-1AZL-29941

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

The Red Hat Enterprise Linux 9.3 not affected, because the required patch applied before this CVE creation. For the Red Hat Enterprise Linux 9 before version 9.3 required fixes applied too.

Red Hat's mitigation

The default Red Hat Enterprise Linux kernel prevents unprivileged users from being able to use eBPF by the kernel.unprivileged_bpf_disabled sysctl. This would require a privileged user with CAP_SYS_ADMIN or root to be able to abuse this flaw reducing its attack space.

For Red Hat Enterprise Linux 8 to confirm the current state, inspect the sysctl with the command:

# cat /proc/sys/kernel/unprivileged_bpf_disabled

The setting of 1 would mean that unprivileged users can not use eBPF, mitigating the flaw.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8kernel-rt-0:4.18.0-513.9.1.rt7.311.el8_9Fixed 2023-11-28RHSA-2023:7548
Red Hat Enterprise Linux 8kernel-0:4.18.0-513.9.1.el8_9Fixed 2023-11-28RHSA-2023:7549
Red Hat Enterprise Linux 8kpatch-patchFixed 2023-11-28RHSA-2023:7554
Red Hat Enterprise Linux 8.2 Advanced Update Supportkernel-0:4.18.0-193.120.1.el8_2Fixed 2024-01-25RHSA-2024:0403
Red Hat Enterprise Linux 8.2 Telecommunications Update Servicekernel-rt-0:4.18.0-193.120.1.rt13.171.el8_2Fixed 2024-01-25RHSA-2024:0402
Red Hat Enterprise Linux 8.2 Telecommunications Update Servicekernel-0:4.18.0-193.120.1.el8_2Fixed 2024-01-25RHSA-2024:0403
Red Hat Enterprise Linux 8.2 Update Services for SAP Solutionskpatch-patchFixed 2024-01-23RHSA-2024:0376
Red Hat Enterprise Linux 8.2 Update Services for SAP Solutionskernel-0:4.18.0-193.120.1.el8_2Fixed 2024-01-25RHSA-2024:0403
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportkernel-0:4.18.0-305.120.1.el8_4Fixed 2024-01-30RHSA-2024:0562
Red Hat Enterprise Linux 8.4 Telecommunications Update Servicekernel-rt-0:4.18.0-305.120.1.rt7.196.el8_4Fixed 2024-01-30RHSA-2024:0563
Red Hat Enterprise Linux 8.4 Telecommunications Update Servicekernel-0:4.18.0-305.120.1.el8_4Fixed 2024-01-30RHSA-2024:0562
Red Hat Enterprise Linux 8.4 Update Services for SAP Solutionskernel-0:4.18.0-305.120.1.el8_4Fixed 2024-01-30RHSA-2024:0562
Red Hat Enterprise Linux 8.4 Update Services for SAP Solutionskpatch-patchFixed 2024-01-30RHSA-2024:0593
Red Hat Enterprise Linux 8.6 Extended Update Supportkpatch-patchFixed 2024-01-23RHSA-2024:0378
Red Hat Enterprise Linux 8.6 Extended Update Supportkernel-0:4.18.0-372.87.1.el8_6Fixed 2024-01-25RHSA-2024:0412
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernelNot affected
Red Hat Enterprise Linux 7kernel-rtNot affected
Red Hat Enterprise Linux 9kernelNot affected
Red Hat Enterprise Linux 9kernel-rtNot affected
9 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-2163.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON