netfilter: tproxy: bail out if IP has been disabled on the device
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ cc6eb433856983e91071469c4ce57accb6947ccb · < 819bfeca16eb9ad647ddcae25e7e12c30612147c| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
netfilter: tproxy: bail out if IP has been disabled on the device
syzbot reports: general protection fault, probably for non-canonical address 0xdffffc0000000003: 0000 [#1] PREEMPT SMP KASAN PTI KASAN: null-ptr-deref in range [0x0000000000000018-0x000000000000001f] [..] RIP: 0010:nf_tproxy_laddr4+0xb7/0x340 net/ipv4/netfilter/nf_tproxy_ipv4.c:62 Call Trace: nft_tproxy_eval_v4 net/netfilter/nft_tproxy.c:56 [inline] nft_tproxy_eval+0xa9a/0x1a00 net/netfilter/nft_tproxy.c:168
__in_dev_get_rcu() can return NULL, so check for this.
From the CVE record · Linux
The Linux kernel's netfilter tproxy code can dereference a null pointer when IP is disabled on a device. This can cause a kernel crash; the input does not specify whether an attacker can trigger it over a network or locally, or whether authentication or user interaction is required.
Teams running Linux kernels with netfilter tproxy should check their versions; affected versions were not provided.