udp_tunnel: use netdev_warn() instead of netdev_WARN()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ cc4e3835eff474aa274d6e1d18f69d9d296d3b76 · < 3c3b148bf8384c8a787753cf20abde1c5731f97f| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
udp_tunnel: use netdev_warn() instead of netdev_WARN()
netdev_WARN() uses WARN/WARN_ON to print a backtrace along with file and line information. In this case, udp_tunnel_nic_register() returning an error is just a failed operation, not a kernel bug.
udp_tunnel_nic_register() can fail due to a memory allocation failure (kzalloc() or udp_tunnel_nic_alloc()). This is a normal runtime error and not a kernel bug.
Replace netdev_WARN() with netdev_warn() accordingly.
From the CVE record · Linux
The Linux kernel’s udp_tunnel component can print a kernel warning and backtrace when udp_tunnel_nic_register() fails because of a memory allocation failure. The input does not describe an attacker-controlled trigger, authentication requirement, or user interaction.
Teams running Linux kernels should check whether their kernel is affected; the input does not specify versions.