CVE-2023-3772
Medium · 4.4CVSS
4.4
EPSS
0.5%
Published
Jul 25, 2023
CISA due date
—
Cloudanix analysis
A bug in Linux kernel network handling lets certain privileged users crash the whole system, potentially causing outages until fixed kernels are installed.
- Exploitation
- Local Privilege
- Attacker needs
- High Privilege
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- OS kernel
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
NULL pointer dereference in xfrm_update_ae_params() within the Linux kernel XFRM subsystem when handling AE parameter updates without proper validation, resulting in kernel panic.
Why it matters to the business
Denial of service on Linux hosts that disrupts network traffic processing, containers, or entire systems, increasing operational downtime risk in environments with broad administrative privileges.
How an attack unfolds
An attacker obtains CAP_NET_ADMIN and sends crafted netlink messages to update XFRM AE parameters, hitting the unchecked NULL dereference in xfrm_update_ae_params and triggering an immediate kernel crash.
How to fix it
Apply the latest available Linux kernel patches from distribution vendors that add the missing NULL check in xfrm_update_ae_params; rebuild and reboot into fixed kernels where provided by Red Hat, Debian, or Fedora.
How to confirm the fix worked
Verify kernel source contains a NULL guard before dereferencing fields in xfrm_update_ae_params; test with reproducer netlink sequences and confirm absence of panic; compare running kernel version against vendor advisories.
Typical attack path
- Gain CAP_NET_ADMIN capability on a Linux host
- Craft malicious XFRM AE update via netlink or iproute2
- Invoke xfrm_update_ae_params with invalid parameters
- Trigger NULL dereference and kernel panic
How to detect it
Search kernel logs and dmesg for oops or panic entries referencing xfrm_update_ae_params or the XFRM subsystem; correlate with netlink activity from processes holding CAP_NET_ADMIN.
- xfrm_update_ae_params
- NULL dereference in XFRM
- kernel: unable to handle kernel NULL pointer
- netlink XFRM AE update
What your security team should do
- Limit CAP_NET_ADMIN to minimal trusted processes and containers
- Monitor kernel logs for XFRM-related oops and panics
- Prioritize kernel upgrades on internet-facing and multi-tenant systems
- Harden netlink access controls where feasible
The record
A flaw was found in the Linux kernel’s IP framework for transforming packets (XFRM subsystem). This issue may allow a malicious user with CAP_NET_ADMIN privileges to directly dereference a NULL pointer in xfrm_update_ae_params(), leading to a possible kernel crash and denial of service.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| AlmaLinux:8 | bpftool | 0 | 4.18.0-513.5.1.el8_9 |
| AlmaLinux:8 | kernel | 0 | 4.18.0-513.5.1.el8_9 |
| AlmaLinux:8 | kernel-abi-stablelists | 0 | 4.18.0-513.5.1.el8_9 |
| AlmaLinux:8 | kernel-core | 0 | 4.18.0-513.5.1.el8_9 |
| AlmaLinux:8 | kernel-cross-headers | 0 | 4.18.0-513.5.1.el8_9 |
| AlmaLinux:8 | kernel-debug | 0 | 4.18.0-513.5.1.el8_9 |
| AlmaLinux:8 | kernel-debug-core | 0 | 4.18.0-513.5.1.el8_9 |
| AlmaLinux:8 | kernel-debug-devel | 0 | 4.18.0-513.5.1.el8_9 |
| AlmaLinux:8 | kernel-debug-modules | 0 | 4.18.0-513.5.1.el8_9 |
| AlmaLinux:8 | kernel-debug-modules-extra | 0 | 4.18.0-513.5.1.el8_9 |
| AlmaLinux:8 | kernel-devel | 0 | 4.18.0-513.5.1.el8_9 |
| AlmaLinux:8 | kernel-doc | 0 | 4.18.0-513.5.1.el8_9 |
| AlmaLinux:8 | kernel-headers | 0 | 4.18.0-513.5.1.el8_9 |
| AlmaLinux:8 | kernel-modules | 0 | 4.18.0-513.5.1.el8_9 |
| AlmaLinux:8 | kernel-modules-extra | 0 | 4.18.0-513.5.1.el8_9 |
| AlmaLinux:8 | kernel-tools | 0 | 4.18.0-513.5.1.el8_9 |
| AlmaLinux:8 | kernel-tools-libs | 0 | 4.18.0-513.5.1.el8_9 |
| AlmaLinux:8 | kernel-tools-libs-devel | 0 | 4.18.0-513.5.1.el8_9 |
| AlmaLinux:8 | kernel-zfcpdump | 0 | 4.18.0-513.5.1.el8_9 |
| AlmaLinux:8 | kernel-zfcpdump-core | 0 | 4.18.0-513.5.1.el8_9 |
| AlmaLinux:8 | kernel-zfcpdump-devel | 0 | 4.18.0-513.5.1.el8_9 |
| AlmaLinux:8 | kernel-zfcpdump-modules | 0 | 4.18.0-513.5.1.el8_9 |
| AlmaLinux:8 | kernel-zfcpdump-modules-extra | 0 | 4.18.0-513.5.1.el8_9 |
| AlmaLinux:8 | perf | 0 | 4.18.0-513.5.1.el8_9 |
| AlmaLinux:8 | python3-perf | 0 | 4.18.0-513.5.1.el8_9 |
| Chainguard | hyperv-daemons | 0 | 0 |
| Chainguard | hyperv-daemons-6.12 | 0 | 0 |
| Chainguard | hyperv-daemons-6.18 | 0 | 0 |
| Chainguard | hyperv-daemons-generic | 0 | 0 |
| Chainguard | linux | 0 | 0 |
| Chainguard | linux-aws-6.12 | 0 | 6.12.63-r0 |
| Chainguard | linux-aws-6.12 | 0 | 6.12.65-r0 |
| Chainguard | linux-aws-6.12-boot-installed | 0 | 0 |
| Chainguard | linux-aws-6.12-fips-boot-installed | 0 | 0 |
| Chainguard | linux-aws-6.12-headers | 0 | 0 |
| Chainguard | linux-aws-6.12-modules | 0 | 0 |
| Chainguard | linux-aws-6.18 | 0 | 6.18.4-r0 |
| Chainguard | linux-aws-6.18 | 0 | 6.18.5-r2 |
| Chainguard | linux-aws-6.18-boot-installed | 0 | 0 |
| Chainguard | linux-aws-6.18-fips-boot-installed | 0 | 0 |
| Chainguard | linux-aws-6.18-headers | 0 | 0 |
| Chainguard | linux-aws-6.18-modules | 0 | 0 |
| Chainguard | linux-aws-generic | 0 | 6.18.3-r0 |
| Chainguard | linux-aws-generic | 0 | 6.18.5-r0 |
| Chainguard | linux-aws-generic-boot-configuration | 0 | 0 |
| Chainguard | linux-aws-generic-boot-installed | 0 | 0 |
| Chainguard | linux-aws-generic-fips-boot-installed | 0 | 0 |
| Chainguard | linux-aws-generic-headers | 0 | 0 |
| Chainguard | linux-aws-generic-modules | 0 | 0 |
| Chainguard | linux-azure-6.12 | 0 | 6.12.63-r0 |
| Chainguard | linux-azure-6.12 | 0 | 6.12.65-r1 |
| Chainguard | linux-azure-6.12-boot-installed | 0 | 0 |
| Chainguard | linux-azure-6.12-fips-boot-installed | 0 | 0 |
| Chainguard | linux-azure-6.12-headers | 0 | 0 |
| Chainguard | linux-azure-6.12-modules | 0 | 0 |
| Chainguard | linux-azure-6.18 | 0 | 0 |
| Chainguard | linux-azure-6.18-boot-installed | 0 | 0 |
| Chainguard | linux-azure-6.18-fips-boot-installed | 0 | 0 |
| Chainguard | linux-azure-6.18-headers | 0 | 0 |
| Chainguard | linux-azure-6.18-modules | 0 | 0 |
| Chainguard | linux-azure-generic | 0 | 6.18.3-r0 |
| Chainguard | linux-azure-generic | 0 | 6.18.5-r0 |
| Chainguard | linux-azure-generic-boot-configuration | 0 | 0 |
| Chainguard | linux-azure-generic-boot-installed | 0 | 0 |
| Chainguard | linux-azure-generic-fips-boot-installed | 0 | 0 |
| Chainguard | linux-azure-generic-headers | 0 | 0 |
| Chainguard | linux-azure-generic-modules | 0 | 0 |
| Chainguard | linux-boot-configuration | 0 | 0 |
| Chainguard | linux-boot-installed | 0 | 0 |
| Chainguard | linux-gcp-6.12 | 0 | 6.12.63-r0 |
| Chainguard | linux-gcp-6.12 | 0 | 6.12.65-r0 |
| Chainguard | linux-gcp-6.12-boot-installed | 0 | 0 |
| Chainguard | linux-gcp-6.12-fips-boot-installed | 0 | 0 |
| Chainguard | linux-gcp-6.12-headers | 0 | 0 |
| Chainguard | linux-gcp-6.12-modules | 0 | 0 |
| Chainguard | linux-gcp-6.18 | 0 | 6.18.4-r0 |
| Chainguard | linux-gcp-6.18 | 0 | 6.18.5-r2 |
| Chainguard | linux-gcp-6.18 | 0 | 6.18.7-r0 |
| Chainguard | linux-gcp-6.18-boot-installed | 0 | 0 |
| Chainguard | linux-gcp-6.18-fips-boot-installed | 0 | 0 |
| Chainguard | linux-gcp-6.18-headers | 0 | 0 |
| Chainguard | linux-gcp-6.18-modules | 0 | 0 |
| Chainguard | linux-gcp-generic | 0 | 6.18.3-r0 |
| Chainguard | linux-gcp-generic | 0 | 6.18.5-r0 |
| Chainguard | linux-gcp-generic-boot-installed | 0 | 0 |
| Chainguard | linux-gcp-generic-fips-boot-installed | 0 | 0 |
| Chainguard | linux-gcp-generic-headers | 0 | 0 |
| Chainguard | linux-gcp-generic-modules | 0 | 0 |
| Chainguard | linux-modules | 0 | 0 |
| Chainguard | linux-qemu-6.12 | 0 | 6.12.65-r2 |
| Chainguard | linux-qemu-6.12-boot-installed | 0 | 6.12.63-r0 |
| Chainguard | linux-qemu-6.12-fips-boot-installed | 0 | 6.12.63-r0 |
| Chainguard | linux-qemu-6.12-headers | 0 | 6.12.63-r0 |
| Chainguard | linux-qemu-6.12-modules | 0 | 6.12.63-r0 |
| Chainguard | linux-qemu-6.18 | 0 | 6.18.5-r2 |
| Chainguard | linux-qemu-6.18-boot-installed | 0 | 6.18.2-r0 |
| Chainguard | linux-qemu-6.18-fips-boot-installed | 0 | 6.18.2-r0 |
| Chainguard | linux-qemu-6.18-headers | 0 | 6.18.2-r0 |
| Chainguard | linux-qemu-6.18-modules | 0 | 6.18.2-r0 |
| Chainguard | linux-qemu-generic | 0 | 6.18.3-r0 |
| Chainguard | linux-qemu-generic | 0 | 6.18.5-r0 |
| Chainguard | linux-qemu-generic-boot-installed | 0 | 0 |
| Chainguard | linux-qemu-generic-bootc-boot-installed | 0 | 6.18.4-r0 |
| Chainguard | linux-qemu-generic-bootc-boot-installed | 0 | 6.18.5-r0 |
| Chainguard | linux-qemu-generic-fips-boot-installed | 0 | 0 |
| Chainguard | linux-qemu-generic-headers | 0 | 0 |
| Chainguard | linux-qemu-generic-modules | 0 | 0 |
| Chainguard | linux-qemu-rc | 0 | 6.19_rc4-r0 |
| Chainguard | linux-qemu-rc | 0 | 6.19_rc5-r0 |
| Chainguard | linux-qemu-rc-boot-installed | 0 | 0 |
| Chainguard | linux-qemu-rc-fips-boot-installed | 0 | 0 |
| Chainguard | linux-qemu-rc-headers | 0 | 0 |
| Chainguard | linux-qemu-rc-modules | 0 | 0 |
| Chainguard | linux-vmware-6.12 | 0 | 6.12.65-r2 |
| Chainguard | linux-vmware-6.12-boot-installed | 0 | 6.12.63-r0 |
| Chainguard | linux-vmware-6.12-fips-boot-installed | 0 | 6.12.63-r0 |
| Chainguard | linux-vmware-6.12-headers | 0 | 6.12.63-r0 |
| Chainguard | linux-vmware-6.12-modules | 0 | 6.12.63-r0 |
| Chainguard | linux-vmware-6.18 | 0 | 6.18.5-r2 |
| Chainguard | linux-vmware-6.18-boot-installed | 0 | 6.18.2-r0 |
| Chainguard | linux-vmware-6.18-fips-boot-installed | 0 | 6.18.2-r0 |
| Chainguard | linux-vmware-6.18-headers | 0 | 6.18.2-r0 |
| Chainguard | linux-vmware-6.18-modules | 0 | 6.18.2-r0 |
| Chainguard | linux-vmware-generic | 0 | 6.18.3-r0 |
| Chainguard | linux-vmware-generic | 0 | 6.18.5-r0 |
| Chainguard | linux-vmware-generic-boot-installed | 0 | 0 |
| Chainguard | linux-vmware-generic-fips-boot-installed | 0 | 0 |
| Chainguard | linux-vmware-generic-headers | 0 | 0 |
| Chainguard | linux-vmware-generic-modules | 0 | 0 |
| Debian:10 | linux | 0 | 4.19.304-1 |
| Debian:10 | linux-5.10 | 0 | 5.10.197-1~deb10u1 |
| Debian:11 | linux | 0 | 5.10.197-1 |
| Debian:12 | linux | 0 | 6.1.52-1 |
| Debian:13 | linux | 0 | 6.4.13-1 |
| Mageia:9 | kernel | 0 | 6.5.11-5.mga9 |
| Mageia:9 | kernel-linus | 0 | 6.5.11-2.mga9 |
| Mageia:9 | kmod-virtualbox | 0 | 7.0.10-37.mga9 |
| Mageia:9 | kmod-xtables-addons | 0 | 3.24-50.mga9 |
| Red Hat:enterprise_linux:8::baseos | bpftool | 0 | 0:4.18.0-513.5.1.el8_9 |
| Red Hat:enterprise_linux:8::baseos | bpftool-debuginfo | 0 | 0:4.18.0-513.5.1.el8_9 |
| Red Hat:enterprise_linux:8::baseos | kernel | 0 | 0:4.18.0-513.5.1.el8_9 |
| Red Hat:enterprise_linux:8::baseos | kernel-abi-stablelists | 0 | 0:4.18.0-513.5.1.el8_9 |
| Red Hat:enterprise_linux:8::baseos | kernel-core | 0 | 0:4.18.0-513.5.1.el8_9 |
| Red Hat:enterprise_linux:8::baseos | kernel-cross-headers | 0 | 0:4.18.0-513.5.1.el8_9 |
| Red Hat:enterprise_linux:8::baseos | kernel-debug | 0 | 0:4.18.0-513.5.1.el8_9 |
| Red Hat:enterprise_linux:8::baseos | kernel-debug-core | 0 | 0:4.18.0-513.5.1.el8_9 |
| Red Hat:enterprise_linux:8::baseos | kernel-debug-debuginfo | 0 | 0:4.18.0-513.5.1.el8_9 |
| Red Hat:enterprise_linux:8::baseos | kernel-debug-devel | 0 | 0:4.18.0-513.5.1.el8_9 |
| Red Hat:enterprise_linux:8::baseos | kernel-debug-modules | 0 | 0:4.18.0-513.5.1.el8_9 |
| Red Hat:enterprise_linux:8::baseos | kernel-debug-modules-extra | 0 | 0:4.18.0-513.5.1.el8_9 |
| Red Hat:enterprise_linux:8::baseos | kernel-debuginfo | 0 | 0:4.18.0-513.5.1.el8_9 |
| Red Hat:enterprise_linux:8::baseos | kernel-debuginfo-common-aarch64 | 0 | 0:4.18.0-513.5.1.el8_9 |
| Red Hat:enterprise_linux:8::baseos | kernel-debuginfo-common-ppc64le | 0 | 0:4.18.0-513.5.1.el8_9 |
| Red Hat:enterprise_linux:8::baseos | kernel-debuginfo-common-s390x | 0 | 0:4.18.0-513.5.1.el8_9 |
| Red Hat:enterprise_linux:8::baseos | kernel-debuginfo-common-x86_64 | 0 | 0:4.18.0-513.5.1.el8_9 |
| Red Hat:enterprise_linux:8::baseos | kernel-devel | 0 | 0:4.18.0-513.5.1.el8_9 |
| Red Hat:enterprise_linux:8::baseos | kernel-doc | 0 | 0:4.18.0-513.5.1.el8_9 |
| Red Hat:enterprise_linux:8::baseos | kernel-headers | 0 | 0:4.18.0-513.5.1.el8_9 |
| Red Hat:enterprise_linux:8::baseos | kernel-modules | 0 | 0:4.18.0-513.5.1.el8_9 |
| Red Hat:enterprise_linux:8::baseos | kernel-modules-extra | 0 | 0:4.18.0-513.5.1.el8_9 |
| Red Hat:enterprise_linux:8::baseos | kernel-tools | 0 | 0:4.18.0-513.5.1.el8_9 |
| Red Hat:enterprise_linux:8::baseos | kernel-tools-debuginfo | 0 | 0:4.18.0-513.5.1.el8_9 |
| Red Hat:enterprise_linux:8::baseos | kernel-tools-libs | 0 | 0:4.18.0-513.5.1.el8_9 |
| Red Hat:enterprise_linux:8::baseos | kernel-tools-libs-devel | 0 | 0:4.18.0-513.5.1.el8_9 |
| Red Hat:enterprise_linux:8::baseos | kernel-zfcpdump | 0 | 0:4.18.0-513.5.1.el8_9 |
| Red Hat:enterprise_linux:8::baseos | kernel-zfcpdump-core | 0 | 0:4.18.0-513.5.1.el8_9 |
| Red Hat:enterprise_linux:8::baseos | kernel-zfcpdump-debuginfo | 0 | 0:4.18.0-513.5.1.el8_9 |
| Red Hat:enterprise_linux:8::baseos | kernel-zfcpdump-devel | 0 | 0:4.18.0-513.5.1.el8_9 |
| Red Hat:enterprise_linux:8::baseos | kernel-zfcpdump-modules | 0 | 0:4.18.0-513.5.1.el8_9 |
| Red Hat:enterprise_linux:8::baseos | kernel-zfcpdump-modules-extra | 0 | 0:4.18.0-513.5.1.el8_9 |
| Red Hat:enterprise_linux:8::baseos | perf | 0 | 0:4.18.0-513.5.1.el8_9 |
| Red Hat:enterprise_linux:8::baseos | perf-debuginfo | 0 | 0:4.18.0-513.5.1.el8_9 |
| Red Hat:enterprise_linux:8::baseos | python3-perf | 0 | 0:4.18.0-513.5.1.el8_9 |
| Red Hat:enterprise_linux:8::baseos | python3-perf-debuginfo | 0 | 0:4.18.0-513.5.1.el8_9 |
| Red Hat:enterprise_linux:8::crb | bpftool | 0 | 0:4.18.0-513.5.1.el8_9 |
| Red Hat:enterprise_linux:8::crb | bpftool-debuginfo | 0 | 0:4.18.0-513.5.1.el8_9 |
| Red Hat:enterprise_linux:8::crb | kernel | 0 | 0:4.18.0-513.5.1.el8_9 |
| Red Hat:enterprise_linux:8::crb | kernel-abi-stablelists | 0 | 0:4.18.0-513.5.1.el8_9 |
| Red Hat:enterprise_linux:8::crb | kernel-core | 0 | 0:4.18.0-513.5.1.el8_9 |
| Red Hat:enterprise_linux:8::crb | kernel-cross-headers | 0 | 0:4.18.0-513.5.1.el8_9 |
| Red Hat:enterprise_linux:8::crb | kernel-debug | 0 | 0:4.18.0-513.5.1.el8_9 |
| Red Hat:enterprise_linux:8::crb | kernel-debug-core | 0 | 0:4.18.0-513.5.1.el8_9 |
| Red Hat:enterprise_linux:8::crb | kernel-debug-debuginfo | 0 | 0:4.18.0-513.5.1.el8_9 |
| Red Hat:enterprise_linux:8::crb | kernel-debug-devel | 0 | 0:4.18.0-513.5.1.el8_9 |
| Red Hat:enterprise_linux:8::crb | kernel-debug-modules | 0 | 0:4.18.0-513.5.1.el8_9 |
| Red Hat:enterprise_linux:8::crb | kernel-debug-modules-extra | 0 | 0:4.18.0-513.5.1.el8_9 |
| Red Hat:enterprise_linux:8::crb | kernel-debuginfo | 0 | 0:4.18.0-513.5.1.el8_9 |
| Red Hat:enterprise_linux:8::crb | kernel-debuginfo-common-aarch64 | 0 | 0:4.18.0-513.5.1.el8_9 |
| Red Hat:enterprise_linux:8::crb | kernel-debuginfo-common-ppc64le | 0 | 0:4.18.0-513.5.1.el8_9 |
| Red Hat:enterprise_linux:8::crb | kernel-debuginfo-common-s390x | 0 | 0:4.18.0-513.5.1.el8_9 |
| Red Hat:enterprise_linux:8::crb | kernel-debuginfo-common-x86_64 | 0 | 0:4.18.0-513.5.1.el8_9 |
| Red Hat:enterprise_linux:8::crb | kernel-devel | 0 | 0:4.18.0-513.5.1.el8_9 |
| Red Hat:enterprise_linux:8::crb | kernel-doc | 0 | 0:4.18.0-513.5.1.el8_9 |
| Red Hat:enterprise_linux:8::crb | kernel-headers | 0 | 0:4.18.0-513.5.1.el8_9 |
| Red Hat:enterprise_linux:8::crb | kernel-modules | 0 | 0:4.18.0-513.5.1.el8_9 |
| Red Hat:enterprise_linux:8::crb | kernel-modules-extra | 0 | 0:4.18.0-513.5.1.el8_9 |
| Red Hat:enterprise_linux:8::crb | kernel-tools | 0 | 0:4.18.0-513.5.1.el8_9 |
| Red Hat:enterprise_linux:8::crb | kernel-tools-debuginfo | 0 | 0:4.18.0-513.5.1.el8_9 |
| Red Hat:enterprise_linux:8::crb | kernel-tools-libs | 0 | 0:4.18.0-513.5.1.el8_9 |
| Red Hat:enterprise_linux:8::crb | kernel-tools-libs-devel | 0 | 0:4.18.0-513.5.1.el8_9 |
Related vulnerabilities
- CVE-2025-68301 In the Linux kernel, the following vulnerability has been resolved: net: atlantic: fix… Also affects bpftool
- CVE-2025-68285 In the Linux kernel, the following vulnerability has been resolved: libceph: fix… Also affects bpftool
- CVE-2025-40277 In the Linux kernel, the following vulnerability has been resolved: drm/vmwgfx: Validate… Also affects bpftool
- CVE-2025-40248 In the Linux kernel, the following vulnerability has been resolved: vsock: Ignore… Also affects bpftool
- CVE-2025-40240 In the Linux kernel, the following vulnerability has been resolved: sctp: avoid NULL… Also affects bpftool
- CVE-2025-40154 In the Linux kernel, the following vulnerability has been resolved: ASoC: Intel… Also affects bpftool
- CVE-2025-40096 In the Linux kernel, the following vulnerability has been resolved: drm/sched: Fix… Also affects bpftool
- CVE-2025-39993 In the Linux kernel, the following vulnerability has been resolved: media: rc: fix races… Also affects bpftool