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]
Date:   Mon, 27 Apr 2020 11:50:54 -0700 (PDT)
From:   David Miller <davem@...emloft.net>
To:     edumazet@...gle.com
Cc:     netdev@...r.kernel.org, eric.dumazet@...il.com,
        syzbot+0251e883fe39e7a0cb0a@...kaller.appspotmail.com,
        Jason@...c4.com
Subject: Re: [PATCH net] sch_sfq: validate silly quantum values

From: Eric Dumazet <edumazet@...gle.com>
Date: Sun, 26 Apr 2020 18:19:07 -0700

> syzbot managed to set up sfq so that q->scaled_quantum was zero,
> triggering an infinite loop in sfq_dequeue()
> 
> More generally, we must only accept quantum between 1 and 2^18 - 7,
> meaning scaled_quantum must be in [1, 0x7FFF] range.
> 
> Otherwise, we also could have a loop in sfq_dequeue()
> if scaled_quantum happens to be 0x8000, since slot->allot
> could indefinitely switch between 0 and 0x8000.
> 
> Fixes: eeaeb068f139 ("sch_sfq: allow big packets and be fair")
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
> Reported-by: syzbot+0251e883fe39e7a0cb0a@...kaller.appspotmail.com

Applied and queued up for -stable, thanks Eric.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ