RHSB-2026-016 Use-after-free - Linux kernel IPv4 (CVE-2026-98432)
Updated
Was this information helpful?
Feedback cancelled
Executive Summary
This vulnerability is tracked as CVE-2026-98432 and has been rated with a severity impact of Critical. Red Hat is expediting the release of fixes.
A use-after-free vulnerability was found in the Linux kernel's IPv4 networking subsystem. A remote, unauthenticated attacker could exploit a race condition during TCP connection request processing to trigger remote code execution. The flaw arises when socket options are freed while still being accessed by a concurrent operation, such as a retransmitted connection request or a socket migration. Exploitation requires precise timing of network requests but does not require any privileges or user interaction.
This vulnerability affects any system running a vulnerable kernel version with IPv4 TCP networking enabled. Since TCP is fundamental to nearly all networked services, the affected surface is broad. Systems accepting inbound TCP connections are most directly exposed. The vulnerability exists in the IPv4 TCP stack itself. While disabling MPTCP may reduce exposure in some configurations, it is not a complete mitigation. Red Hat Enterprise Linux, which disables MPTCP in its default configuration, is still vulnerable.
The investigation is ongoing and this bulletin will be updated as new information emerges. Log in with your Red Hat account, then click the "Follow" button below to be notified of changes to this bulletin.
Affected Products
The following Red Hat product versions are directly affected:
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat Enterprise Linux 10
- Red Hat OpenShift Container Platform
Further, any Red Hat product that relies on the Red Hat Enterprise Linux kernel is also potentially impacted. This includes layered products such as Red Hat OpenStack Platform, and Red Hat Virtualization.
Please ensure that the underlying Red Hat Enterprise Linux kernel is current in these product environments.
Mitigation
Overall Guidance
Filtering the affected network traffic can reduce the exposure of the vulnerable code path, but it may disrupt necessary workloads and is not a substitute for patching. Applying kernel security updates as they become available is the only complete solution, and customers are strongly recommended to update as soon as fixes are released.
Filter Incoming IPv4 Packets Containing IP Options
The following nftables table drops incoming IPv4 TCP packets that contain IP options, which reduces exposure to this vulnerability but cannot fully prevent it. Ordinary application traffic is generally expected to remain unaffected, because standard TCP options are carried in the TCP header and continue to be permitted.
Warning: Review this rule against your own traffic, network configuration, and operational requirements, and test it in a non-production environment before deploying it.
Procedure
Save the following to a file named cve-2026-98432.nft:
table inet cve_2026_98432 {
chain input {
type filter hook input priority -310; policy accept;
ip protocol tcp ip hdrlength > 5 counter drop
}
}
Validate and apply the rule:
sudo nft --check --file cve-2026-98432.nft
sudo nft --file cve-2026-98432.nft
sudo nft list table inet cve_2026_98432
Removal
After the kernel has been updated to a fixed version, remove the mitigation rule:
sudo nft delete table inet cve_2026_98432
Making the mitigation persistent
Warning: This mitigation is designed for a specific deployment type. Enabling
nftables.servicedirectly may conflict with dynamic firewall managers such asfirewalldor existing configurations in/etc/sysconfig/nftables.conf. Review existing firewall configurations prior to implementation.
Configure the nftables service to load the mitigation rule so that it persists across reboots:
-
Create the persistent nftables ruleset file:
sudo mkdir -p /etc/nftablescat 'EOF' | sudo tee /etc/nftables/cve-2026-98432.nft > /dev/null add table inet cve_2026_98432 delete table inet cve_2026_98432 table inet cve_2026_98432 { chain input { type filter hook input priority -310; policy accept; ip protocol tcp ip hdrlength > 5 counter drop; } } EOF -
Configure and apply based on the status of
nftables.service.If
nftables.serviceis already active, add the include directive and restart the service:echo 'include "/etc/nftables/cve-2026-98432.nft"' | sudo tee -a /etc/sysconfig/nftables.conf > /dev/null sudo systemctl restart nftables.serviceIf
nftables.serviceis not active, add the include directive and enable the service:echo 'include "/etc/nftables/cve-2026-98432.nft"' | sudo tee /etc/sysconfig/nftables.conf > /dev/null sudo systemctl enable --now nftables.service -
Verify that the table is loaded and active:
sudo nft list table inet cve_2026_98432The command should return the table and chain definition. Any error means the rule is not loaded.
Reverting After Patching
Once the updated kernel is installed:
sudo sed -i '\|include "/etc/nftables/cve-2026-98432.nft"|d' /etc/sysconfig/nftables.conf
sudo rm -f /etc/nftables/cve-2026-98432.nft
sudo nft delete table inet cve_2026_98432
sudo systemctl reload nftables.service
Why Red Hat Recommends Packet Filtering Over Disabling MPTCP
Some organizations have recommended disabling MPTCP with sysctl -w net.mptcp.enabled=0; however, this approach only blocks one method of exploitation.
Having MPTCP enabled is not a precondition of this vulnerability. The upstream fix addresses two races in ordinary IPv4 TCP connection handling, in which socket options attached to an inbound connection request are freed while a concurrent operation is still reading them. The necessary input is IPv4 options carried on an inbound connection request, combined with one of those races, such as a retransmitted connection request or a socket migration.
Two considerations for Red Hat customers:
- MPTCP support is disabled in the default Red Hat Enterprise Linux configuration. Advice to set
net.mptcp.enabled=0therefore changes nothing on a default system, and the accompanying advice to restart services does not apply to it. Such systems remain affected by this vulnerability. On a system where an administrator had previously enabled MPTCP, disabling it now will govern only sockets created after the change, so services already running would need to be restarted for it to take effect, and the system would still be affected. - Checking whether a system has MPTCP listeners is not a test for exposure. A command such as
ss -Mlnpreports whether a system matches one known vulnerable configuration. It is not a complete view of whether the system is vulnerable. A result showing no MPTCP listeners should be treated as informational rather than as reassurance.
Red Hat recommends the packet filtering mitigation described above because it removes the input the flaw requires, rather than removing one configuration in which exploitation has been demonstrated. It also takes effect immediately, for both new and existing connections: the rule drops matching packets in the network stack before they reach any socket, so the state of sockets that are already open is not a factor and services that are already running do not need to be restarted.
Neither measure is a substitute for applying the kernel update.
Red Hat OpenShift Container Platform
Red Hat OpenShift Container Platform 4 is affected. All cluster nodes run Red Hat Enterprise Linux CoreOS, which includes the affected kernel. As described above, Multipath TCP is not a required condition for this flaw, and nodes in their default configuration, where MPTCP is disabled, remain affected.
Mitigation guidance
Customers considering the nftables rule described in this bulletin for use on OpenShift nodes should understand its scope. Rules applied on a node act only on traffic traversing that node's host network namespace. Traffic handled within the cluster's software-defined network, including pod to pod traffic, is not filtered, and whether externally originated traffic forwarded to pods is filtered depends on the cluster's network configuration. Filtering at the network boundary in front of the cluster is not subject to these limitations.
References
Discovering vulnerabilities with Claude - Anthropic Research
Getting started with Multipath TCP - Red Hat Enterprise Linux 9
Getting started with Multipath TCP - Red Hat Enterprise Linux 8
How to use GPG to verify signed content from Product Security
Comments