CVE-2024-50304
kernel: ipv4: ip_tunnel: Fix suspicious RCU usage warning in ip_tunnel_find()
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · November 19, 2024
Updated · October 29, 2026
Description
A flaw was found in the Linux kernel's IPv4 tunneling subsystem. A local user can trigger an improper lock validation condition during IP tunnel lookup operations when managing network links. This issue generates a suspicious lock warning that can result in a Denial of Service (DoS) on systems configured to panic on kernel warnings.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
To mitigate this issue, prevent the ip_tunnel kernel module from being automatically loaded if IPv4 tunneling features are not required:
- Create a configuration file to disable the module:
echo "install ip_tunnel /bin/true" > /etc/modprobe.d/disable-ip_tunnel.conf
echo "blacklist ip_tunnel" >> /etc/modprobe.d/disable-ip_tunnel.conf
- If the module is already loaded, unload it or restart the system:
modprobe -r ip_tunnel
Caveats:
Disabling the ip_tunnel module prevents the use of IPv4 tunneling technologies such as GRE, SIT, and IPIP, which may affect networking setups, VPNs, or container network plugins relying on these protocols. A system reboot or network service reload will cause temporary network disruption and may be required if dependent modules are currently in use.
CVSS / CWE
CVSS 3.1 · 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE-99 · Improper Control of Resource Identifiers ('Resource Injection')