Summary: | rip6_input() needs inp validation | ||
---|---|---|---|
Product: | Base System | Reporter: | Bjoern A. Zeeb <bz> |
Component: | kern | Assignee: | Bjoern A. Zeeb <bz> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | CC: | bz |
Priority: | --- | Keywords: | ipv6 |
Version: | CURRENT | ||
Hardware: | Any | ||
OS: | Any | ||
Bug Depends on: | |||
Bug Blocks: | 232348 |
Description
Bjoern A. Zeeb
2018-10-12 00:21:54 UTC
These are the two relevant legacy IP raw socket commits; try to manage in one go hopefully; also said that this reverts the locking parts of r183606. https://svnweb.freebsd.org/base?view=revision&revision=335497 https://svnweb.freebsd.org/base?view=revision&revision=335501 A commit references this bug: Author: bz Date: Wed Oct 24 10:42:35 UTC 2018 New revision: 339682 URL: https://svnweb.freebsd.org/changeset/base/339682 Log: rip6_input() inp validation after epoch(9) After r335924 rip6_input() needs inp validation to avoid working on FREED inps. Apply the relevant bits from r335497,r335501 (rip_input() change) to the IPv6 counterpart. PR: 232194 Reviewed by: rgrimes, ae (,hps) MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D17594 Changes: head/sys/netinet6/raw_ip6.c A commit references this bug: Author: bz Date: Wed Oct 31 12:49:19 UTC 2018 New revision: 339950 URL: https://svnweb.freebsd.org/changeset/base/339950 Log: MFC r339682: rip6_input() inp validation after epoch(9) After r335924 rip6_input() needs inp validation to avoid working on FREED inps. Apply the relevant bits from r335497,r335501 (rip_input() change) to the IPv6 counterpart. PR: 232194 Reviewed by: rgrimes, ae (,hps) Approved by: re (kib) Changes: _U stable/12/ stable/12/sys/netinet6/raw_ip6.c |