CVE-2026-53220: Linux Kernel Netfilter Bridge Null Pointer Crash
A vulnerability in the Linux kernel's netfilter bridge module can cause a system crash when network packets are reinjected through the NFQUEUE mechanism after a bridge port has been removed or reassigned. The kernel fails to properly validate whether a bridge port still exists before attempting to process redirected traffic, leading to a null pointer dereference. While the immediate trigger requires local access and specific timing (removing a port between initial packet hook and reinject), the underlying validation gap represents a stability risk for systems relying on bridged network filtering.
Source data · NVD / CISA · public domain
- CVSS
- 3.1 · 5.5 MEDIUM · CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses (CWE)
- CWE-476
- Affected products
- 8 configuration(s)
- Published / Modified
- 2026-06-25 / 2026-07-02
NVD description (verbatim)
In the Linux kernel, the following vulnerability has been resolved: netfilter: revalidate bridge ports ebt_redirect_tg() dereferences br_port_get_rcu() return without a NULL check, causing a kernel panic when the bridge port has been removed between the original hook invocation and an NFQUEUE reinject. A mere NULL check isn't sufficient, however. As sashiko review points out userspace can not only remove the port from the bridge, it could also place the device in a different virtual device, e.g. macvlan. If this happens, we must drop the packet, there is no way for us to reinject it into the bridge path. Switch to _upper API, we don't need the bridge port structure. Also, this fix keeps another bug intact: Both nfnetlink_log and nfnetlink_queue use CONFIG_BRIDGE_NETFILTER too aggressive, which prevents certain logging features when queueing in bridge family: NETFILTER_FAMILY_BRIDGE can be enabled while the old CONFIG_BRIDGE_NETFILTER cruft is off. Fixes tag is a common ancestor, this was always broken.
4 reference(s) · View on NVD →
SEC.co analysis · AI-assisted, reviewed against source
Technical summary
CVE-2026-53220 involves a null pointer dereference in ebt_redirect_tg() within the Linux kernel's netfilter subsystem. The function calls br_port_get_rcu() without validating the returned pointer before dereferencing it. This becomes exploitable in scenarios where userspace removes a bridge port or migrates a device to a different virtual interface (e.g., macvlan) between the initial netfilter hook invocation and a subsequent NFQUEUE reinject operation. The fix replaces the direct bridge port structure access with the _upper API, which safely validates device topology without requiring the port to exist. The vulnerability is classified as CWE-476 (null pointer dereference) and affects the NETFILTER_FAMILY_BRIDGE code path.
Business impact
Systems using Linux kernel with bridging and netfilter queue mechanisms enabled face potential denial of service through unexpected kernel panics. This affects network appliances, container platforms with bridge networking, and systems performing packet inspection or logging at the bridge layer. The crash is triggered by specific operational patterns—such as hot-removing bridge members during active packet processing—rather than baseline operation, limiting impact to environments with dynamic network reconfiguration. Recovery requires system restart, causing service interruption proportional to application failover capabilities.
Affected systems
All versions of the Linux kernel with CONFIG_BRIDGE_NETFILTER enabled are affected. The vulnerability manifests in kernels where both netfilter bridging and NFQUEUE packet reinject are active. Systems particularly at risk include: network edge devices running packet filtering or IDS/IPS workloads, Docker and Kubernetes nodes with bridge networking, OpenStack compute nodes with network security groups, and Linux-based network appliances. The issue does not affect systems without CONFIG_BRIDGE_NETFILTER or those not using NFQUEUE-based packet processing.
Exploitability
Exploitation requires local access (CVE vector: AV:L) and low privilege (PR:L), indicating a local unprivileged user can trigger the crash. However, the vulnerability is not trivial to exploit reliably because it depends on precise timing: the bridge port must be removed or reassigned between the netfilter hook and the NFQUEUE reinject operation. This makes opportunistic remote exploitation infeasible. In environments where unprivileged users control network namespace operations or container startup, the window for exploitation widens. The vulnerability is not currently tracked as exploited in the wild (KEV status: false).
Remediation
Apply kernel patches implementing the _upper API validation approach. The fix requires updating to a patched kernel version—verify your Linux distribution's advisory for specific version numbers, as patch releases vary across stable kernels and distributions. Interim mitigation: disable NFQUEUE-based packet processing if operationally feasible, or restrict unprivileged access to network namespace and bridge management operations using capabilities or SELinux policy. For systems unable to patch immediately, monitor for unexpected kernel panics in netfilter-related logs as a detection signal.
Patch guidance
Contact your Linux distribution (RHEL, Ubuntu, Debian, SUSE, etc.) for patched kernel versions addressing this issue. The fix has been upstreamed and will appear in future stable kernel releases; check kernel.org for availability. Enterprise distributions typically backport fixes to supported kernel branches. Validate patches against your specific kernel version before deployment. Test patched kernels in non-production bridging environments to confirm stability before rolling out to packet-processing infrastructure.
Detection guidance
Monitor kernel logs (dmesg, journalctl) for 'NULL pointer dereference' or 'BUG: unable to handle page fault' messages originating from ebt_redirect_tg() or netfilter bridging code. Track events correlating bridge member removal (ip link set dev X nomaster) with NFQUEUE reinject operations. Anomaly detection should flag unexpected kernel crashes on systems running active netfilter queue workloads. IDS/IPS systems should watch for patterns of rapid bridge port state changes during packet capture/queue operations, though this represents a detection heuristic rather than a definitive exploit signal.
Why prioritize this
CVSS 5.5 (MEDIUM) reflects local access requirements and denial-of-service impact only, with no confidentiality or integrity compromise. However, kernel stability issues affecting production network appliances warrant higher operational priority than the numeric score suggests. This should be prioritized based on deployment context: critical for edge firewalls and packet-processing pipelines, moderate for general data center infrastructure, lower for systems without active NFQUEUE usage. The lack of known wild exploitation (KEV: false) supports measured patching timelines.
Risk score, explained
The CVSS 3.1 score of 5.5 (MEDIUM) is calculated as: Attack Vector Local (requires local access), Attack Complexity Low (no special conditions), Privileges Required Low (unprivileged user sufficient), User Interaction None, Scope Unchanged, and Availability Impact High (kernel crash). Confidentiality and Integrity are unaffected. The score appropriately reflects denial of service severity while acknowledging access barriers. Risk elevation in your environment depends on exposure: systems running packet inspection, NFQUEUE-based firewalls, or container platforms should treat this as elevated; systems without netfilter bridging can defer patching.
Frequently asked questions
Can this vulnerability be triggered remotely?
No. The vulnerability requires local access to trigger the specific timing window—a bridge port must be removed or reassigned between netfilter hook invocation and NFQUEUE reinject. Remote attackers cannot directly cause this condition. However, in multi-tenant environments (containers, VMs with user namespace privileges), a local unprivileged attacker could potentially coordinate network topology changes to induce the crash.
What happens when this bug is triggered?
The kernel attempts to dereference a NULL pointer when accessing bridge port information, resulting in a kernel panic (immediate crash). The affected system must be rebooted to restore service. No data corruption or unauthorized access occurs; the impact is purely availability.
Do I need to patch immediately if we're not using NFQUEUE?
If your kernel has CONFIG_BRIDGE_NETFILTER enabled but you are not actively using NFQUEUE packet reinjection (e.g., no nfnetlink_queue rules), your practical risk is lower. However, if bridging is enabled by default in your distribution, patching within normal security update cycles is prudent. Verify your netfilter configuration to confirm NFQUEUE usage.
Are container platforms automatically at risk?
Docker and Kubernetes clusters using bridge networking are at risk only if they permit unprivileged users to manipulate network interfaces or if they run packet inspection/logging workloads via NFQUEUE. Most standard deployments do not expose this directly, but security-hardened or multi-tenant environments should prioritize patching to prevent denial of service.
This analysis is based on CVE-2026-53220 published data and kernel vulnerability research. Specific patch versions and affected distribution releases must be verified against official vendor advisories (linux-security-announce, distribution-specific security updates) before deployment. CVSS score is as published; your risk assessment should account for local deployment context, including network segmentation, privilege controls, and active NFQUEUE usage. No exploit proof-of-concept code is provided or recommended. Organizations should validate patches in non-production environments prior to production deployment. This material is for informational and defensive purposes only. Source: NVD (public-domain), retrieved 2026-08-03. Analysis generated by SEC.co (claude-haiku-4-5).
Related vulnerabilities
- CVE-2025-71313MEDIUMLinux Kernel PCI Endpoint NULL Pointer Dereference
- CVE-2026-46118MEDIUMLinux Kernel PAPR Hypervisor Pipe Null Pointer Dereference (POWER Systems)
- CVE-2026-46127MEDIUMLinux Kernel OCRDMA Null Pointer Dereference (DoS)
- CVE-2026-46134MEDIUMLinux Kernel cros_ec Mutex Initialization DoS Vulnerability
- CVE-2026-46188MEDIUMLinux Octeon EP VF NULL Pointer Dereference Denial of Service
- CVE-2026-46211MEDIUMLinux Kernel MSM DRM NULL Pointer and Silent Error in gem_info_get_metadata
- CVE-2026-46216MEDIUMLinux Intel Arc GPU NULL Pointer Dereference (HDCP)
- CVE-2026-46222MEDIUMLinux Rockchip RKCam Driver Null Pointer Dereference