Skip to content

Commit

Permalink
Fix regression in IPv6 fragment reassembly. [EN-18:09.ip]
Browse files Browse the repository at this point in the history
Approved by:	so
Security:	FreeBSD-EN-18:09.ip
  • Loading branch information
tetlowgm authored and fichtner committed Sep 27, 2018
1 parent b59bcb9 commit c0c9a2d
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
13 changes: 13 additions & 0 deletions UPDATING
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,19 @@ from older versions of FreeBSD, try WITHOUT_CLANG and WITH_GCC to bootstrap to
the tip of head, and then rebuild without this option. The bootstrap process
from older version of current across the gcc/clang cutover is a bit fragile.

20180927 p15 FreeBSD-EN-18:09.ip
FreeBSD-EN-18:10.syscall
FreeBSD-EN-18:11.listen
FreeBSD-EN-18:12.mem

Fix regression in IPv6 fragment reassembly. [EN-18:09.ip]

Fix NULL pointer dereference in freebsd4_getfsstat. [EN-18:10.syscall]

Fix DoS in listen syscall over IPv6 socket. [EN-18:11.listen]

Fix small kernel memory disclosures. [EN-18:12.mem]

20180912 p14 FreeBSD-SA-18:12.elf
FreeBSD-EN-18:08.lazyfpu

Expand Down
2 changes: 1 addition & 1 deletion sys/conf/newvers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@

TYPE="FreeBSD"
REVISION="11.1"
BRANCH="RELEASE-p14"
BRANCH="RELEASE-p15"
if [ -n "${BRANCH_OVERRIDE}" ]; then
BRANCH=${BRANCH_OVERRIDE}
fi
Expand Down
4 changes: 3 additions & 1 deletion sys/netinet6/frag6.c
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,9 @@ frag6_input(struct mbuf **mp, int *offp, int proto)
int offset = *offp, nxt, i, next;
int first_frag = 0;
int fragoff, frgpartlen; /* must be larger than u_int16_t */
uint32_t hash, hashkey[sizeof(struct in6_addr) * 2 + 1], *hashkeyp;
uint32_t hashkey[(sizeof(struct in6_addr) * 2 +
sizeof(ip6f->ip6f_ident)) / sizeof(uint32_t)];
uint32_t hash, *hashkeyp;
struct ifnet *dstifp;
u_int8_t ecn, ecn0;
#ifdef RSS
Expand Down

0 comments on commit c0c9a2d

Please sign in to comment.