aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/netmap/netmap_pipe.c
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2025-10-22 16:29:03 +0000
committerCy Schubert <cy@FreeBSD.org>2025-10-23 22:56:28 +0000
commit0d589ecbc7aa916537fd21c0344919491cfcb293 (patch)
treea33e2b299c48aa2c316a3a1e3fe6485d7ad59b1d /sys/dev/netmap/netmap_pipe.c
parent6535e9308a26e17023831fe68fb71d2febf2a002 (diff)
ipfilter: Plug ip_htable kernel information leak
ipf_htable_stats_get() constructs an iphtstat_t on the stack and only initializes select fields before copying the entire structure to userland. The trailing padding array iphs_pad[16] is never initialized, so ~128 bytes of uninitialized kernel stack memory can be leaked to user space on each call. This is a classic information disclosure vulnerability that can reveal pointers and other sensitive data. We fix this by zeroing out the data structure prior to use. Reported by: Ilja Van Sprundel <ivansprundel@ioactive.com> Reviewed by: emaste MFC after: 3 days Differential revision: https://reviews.freebsd.org/D53275
Diffstat (limited to 'sys/dev/netmap/netmap_pipe.c')
0 files changed, 0 insertions, 0 deletions