Bug 1226798 (CVE-2024-36270) - VUL-0: CVE-2024-36270: kernel: netfilter: tproxy: bail out if IP has been disabled on the device
Summary: VUL-0: CVE-2024-36270: kernel: netfilter: tproxy: bail out if IP has been dis...
Status: NEW
Alias: CVE-2024-36270
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Davide Benini
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/411745/
Whiteboard: CVSSv3.1:SUSE:CVE-2024-36270:5.5:(AV:...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-21 16:52 UTC by SMASH SMASH
Modified: 2024-06-21 18:24 UTC (History)
2 users (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SMASH SMASH 2024-06-21 16:52:26 UTC
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.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-36270
https://www.cve.org/CVERecord?id=CVE-2024-36270
https://git.kernel.org/stable/c/07eeedafc59c45fe5de43958128542be3784764c
https://git.kernel.org/stable/c/10f0af5234dafd03d2b75233428ec3f11cf7e43d
https://git.kernel.org/stable/c/21a673bddc8fd4873c370caf9ae70ffc6d47e8d3
https://git.kernel.org/stable/c/570b4c52096e62fda562448f5760fd0ff06110f0
https://git.kernel.org/stable/c/6fe5af4ff06db3d4d80e07a19356640428159f03
https://git.kernel.org/stable/c/819bfeca16eb9ad647ddcae25e7e12c30612147c
https://git.kernel.org/stable/c/caf3a8afb5ea00db6d5398adf148d5534615fd80
https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2024/CVE-2024-36270.mbox
https://bugzilla.redhat.com/show_bug.cgi?id=2293653