lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Fri, 29 May 2020 11:09:45 -0700
From:   Eric Dumazet <>
To:     Andrii Nakryiko <>,
        Dmitry Vyukov <>
Cc:     syzbot <>,
        Alexei Starovoitov <>,
        David Miller <>,,, Alexey Kuznetsov <>,
        LKML <>,
        netdev <>,
        syzkaller-bugs <>,
        Hideaki YOSHIFUJI <>
Subject: Re: general protection fault in inet_unhash

On 5/29/20 10:32 AM, Eric Dumazet wrote:

> L2TP seems to use sk->sk_node to insert sockets into l2tp_ip_table, _and_ uses l2tp_ip_prot.unhash == inet_unhash
> So if/when BPF_CGROUP_RUN_PROG_INET_SOCK(sk) returns an error and inet_create() calls sk_common_release()
> bad things happen, because inet_unhash() expects a valid hashinfo pointer.
> I guess the following patch should fix this.
> Bug has been there forever, but only BPF_CGROUP_RUN_PROG_INET_SOCK(sk) could trigger it.

Official submission :

Powered by blists - more mailing lists