opnsense-src/sys
Mark Johnston 010f197770 nd6: Avoid using an uninitialized sockaddr in nd6_prefix_offlink()
Commit 81728a538 ("Split rtinit() into multiple functions.") removed
the initialization of sa6, but not one of its uses.  This meant that we
were passing an uninitialized sockaddr as the address to
lltable_prefix_free().  Remove the variable outright to fix the problem.
The caller is expected to hold a reference on pr.

Fixes:		81728a538 ("Split rtinit() into multiple functions.")
Reported by:	KMSAN
Reviewed by:	donner
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D30166

(cherry picked from commit c1dd4d642f)
2021-05-19 09:32:28 -04:00
..
amd64 amd64: invalidate TLB between page table update and access 2021-05-07 03:35:54 +03:00
arm gdb: report specific stop reason for watchpoints 2021-04-21 10:20:33 -03:00
arm64 gdb: report specific stop reason for watchpoints 2021-04-21 10:20:33 -03:00
bsm Add aio_writev and aio_readv 2021-01-02 19:57:58 -07:00
cam Introduce "soft" serseq variant. 2021-05-05 23:18:38 -04:00
cddl fbt: Remove some handling for multiple CTF containers 2021-04-15 21:27:24 -04:00
compat Add ptrace(PT_COREDUMP) 2021-05-10 04:03:06 +03:00
conf pf: Introduce nvlist variant of DIOCADDRULE 2021-05-07 10:15:41 +02:00
contrib zfs: merge openzfs/zfs@3522f57b6 (master) 2021-04-22 17:03:06 +02:00
crypto armv8crypto: note derivation in armv8_crypto_wrap.c 2021-03-22 13:14:51 -03:00
ddb ddb: replace watchpoint set/clear functions 2021-04-21 10:20:33 -03:00
dev e1000: fix em_mac_min and 82547 packet buffer 2021-05-18 00:45:49 -07:00
dts Switch to the new device-tree vendor tree 2021-01-15 20:08:39 +01:00
fs nfscl: fix typo in a comment 2021-05-17 18:24:44 -07:00
gdb gdb: report specific stop reason for watchpoints 2021-04-21 10:20:33 -03:00
geom gmirror: Pre-allocate the timeout event structure 2021-03-17 21:24:20 -04:00
gnu Remove the old dts imported tree. 2021-01-15 20:09:55 +01:00
i386 x86: use x86_clear_dbregs() on fork 2021-04-23 14:14:08 +03:00
isa Remove more remnants of sio(4) 2021-04-14 09:19:49 -04:00
kern vn_open_cred(): disallow O_CREAT | O_EMPTY_PATH 2021-05-19 06:13:15 +03:00
kgssapi State kgssapi dependency on xdr. 2020-09-17 22:29:38 +00:00
libkern tests/sys/kern/crc32: Check for SSE4.2 before using it 2021-04-22 10:41:09 +01:00
mips gdb: report specific stop reason for watchpoints 2021-04-21 10:20:33 -03:00
modules pf: Introduce nvlist variant of DIOCADDRULE 2021-05-07 10:15:41 +02:00
net if: Remove unnecessary validation in the SIOCSIFNAME handler 2021-05-19 09:32:11 -04:00
net80211 net80211: Fix a typo in a comment 2021-03-20 11:13:31 +01:00
netgraph Add missing sockaddr length and family validation to various protocols 2021-05-17 13:43:07 -04:00
netinet Add missing sockaddr length and family validation to various protocols 2021-05-17 13:43:07 -04:00
netinet6 nd6: Avoid using an uninitialized sockaddr in nd6_prefix_offlink() 2021-05-19 09:32:28 -04:00
netipsec Add missing sockaddr length and family validation to various protocols 2021-05-17 13:43:07 -04:00
netpfil pf: Support killing 'matching' states 2021-05-14 10:42:07 +02:00
netsmb net: clean up empty lines in .c and .h files 2020-09-01 21:19:14 +00:00
nfs nfs: clean up empty lines in .c and .h files 2020-09-01 21:25:39 +00:00
nfsclient nfs: clean up empty lines in .c and .h files 2020-09-01 21:25:39 +00:00
nfsserver nfs: Mark unused statistics variable as reserved 2020-11-18 04:35:49 +00:00
nlm nlm: clean up empty lines in .c and .h files 2020-09-01 22:14:52 +00:00
ofed Add missing sockaddr length and family validation to various protocols 2021-05-17 13:43:07 -04:00
opencrypto cryptodev: Fix some input validation bugs 2021-05-14 09:58:54 -04:00
powerpc opal_console: fix serial console output corruption on powerpc64 2021-05-07 02:33:39 -03:00
riscv ddb: replace watchpoint set/clear functions 2021-04-21 10:20:33 -03:00
rpc nfsd: fix a NFSv4.1 Linux client mount stuck in CLOSE_WAIT 2021-05-10 18:12:21 -07:00
security close_range: add audit support 2021-03-17 22:22:48 +00:00
sys openat(2): add O_EMPTY_PATH 2021-05-19 06:13:14 +03:00
teken loader: implement framebuffer console 2021-01-02 21:41:36 +02:00
tests Enable running fib tests inside vnet jail. 2021-01-17 20:32:26 +00:00
tools Switch to the new device-tree vendor tree 2021-01-15 20:08:39 +01:00
ufs b_vflags update requries bufobj lock 2021-04-23 14:14:10 +03:00
vm swap_pager: Zero swap info before exporting to userspace 2021-05-19 09:32:18 -04:00
x86 Balance parentheses in sysctl descriptions 2021-05-05 13:04:58 +02:00
xdr xdr: clean up empty lines in .c and .h files 2020-09-01 22:13:28 +00:00
xen xen: remove .swp file from public headers 2021-01-11 18:14:11 +01:00
Makefile