CVE-2024-36270 netfilter: tproxy: bail out if IP has been disabled on the device
A null pointer dereference in the Linux kernel netfilter tproxy module allows local attackers to cause a system crash.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-36270?
CVE-2024-36270 is a medium-severity vulnerability in Linux kernel, published on 21 Jun 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
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.
Weakness: CWE-476
Which versions are affected by CVE-2024-36270?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-36270?
Apply the vendor's patch.
Is CVE-2024-36270 being exploited?
There is no known exploitation of CVE-2024-36270 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2024-36270, DEBIAN-CVE-2024-36270, GHSA-gwmf-748f-8j3c, UBUNTU-CVE-2024-36270.