[Bug 1832828] Re: ipv6: fix EFAULT on sendto with icmpv6 and hdrincl

2020-07-02 Thread Steve Langasek
** Changed in: linux (Ubuntu Disco) Status: Fix Committed => Won't Fix -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1832828 Title: ipv6: fix EFAULT on sendto with icmpv6 and hdrincl To

[Bug 1832828] Re: ipv6: fix EFAULT on sendto with icmpv6 and hdrincl

2019-08-26 Thread Kamal Mostafa
These two commits ... 59e3e4b52663 ("ipv6: use READ_ONCE() for inet->hdrincl as in ipv4") b9aa52c4cb45 ("ipv6: fix EFAULT on sendto with icmpv6 and hdrincl") ... have been committed as part of upstream stable patch sets: bionic: bug 1838700 (4.15.0-59.66 release pending) disco: bug 1839887

[Bug 1832828] Re: ipv6: fix EFAULT on sendto with icmpv6 and hdrincl

2019-07-01 Thread Olivier Matz
apport information ** Tags added: apport-collected bionic ** Description changed: == SRU Justification == The following code returns EFAULT (Bad address): s = socket(AF_INET6, SOCK_RAW, IPPROTO_ICMPV6); setsockopt(s, SOL_IPV6, IPV6_HDRINCL, 1); sendto(ipv6_icmp6_packet,