lists.openwall.net   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  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAHn8xcnF5FT+i5jwsZGswyYt9Q9Amnj8N07wK08Fe_doGsBBaA@mail.gmail.com>
Date:   Sun, 5 Sep 2021 12:08:05 +0200
From:   Jussi Maki <joamaki@...il.com>
To:     Josh Poimboeuf <jpoimboe@...hat.com>
Cc:     syzbot <syzbot+30622fb04ddd72a4d167@...kaller.appspotmail.com>,
        ardb@...nel.org, jbaron@...mai.com, linux-kernel@...r.kernel.org,
        peterz@...radead.org, rostedt@...dmis.org,
        syzkaller-bugs@...glegroups.com,
        Daniel Borkmann <daniel@...earbox.net>
Subject: Re: [syzbot] WARNING in __static_key_slow_dec

On Sat, Sep 4, 2021 at 6:20 AM Josh Poimboeuf <jpoimboe@...hat.com> wrote:
>
> Looks like a jump label usage bug ("jump label: negative count!") may
> have been introduced, presumably with the following commit:
>
>   9e2ee5c7e7c3 ("net, bonding: Add XDP support to the bonding driver")
>
> Jussi, any idea?

Hey, thanks for looping me in.

The code in bond_xdp_set is unsafely assuming that it won't get called
multiple times with prog=NULL and that's likely the issue here. The
assumption seems to mostly hold as I haven't been able to reproduce
this locally yet, even with nested bonding or with non-XDP slaves in
the mix. I'll look into this more next week and try to decipher what
steps syzbot is doing. As soon as I have a repro + fix I'll send it to
the net tree.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ