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  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:   Thu, 2 May 2019 09:31:21 -0700
From:   Cong Wang <>
To:     Matteo Croce <>
Cc:     Linux Kernel Network Developers <>,
        LKML <>,
        Jamal Hadi Salim <>,
        Jiri Pirko <>,
        "David S. Miller" <>,
        Vlad Buslov <>
Subject: Re: [PATCH net] cls_matchall: avoid panic when receiving a packet
 before filter set

On Thu, May 2, 2019 at 1:51 AM Matteo Croce <> wrote:
> When a matchall classifier is added, there is a small time interval in
> which tp->root is NULL. If we receive a packet in this small time slice
> a NULL pointer dereference will happen, leading to a kernel panic:
> Fix this by adding a NULL check in mall_classify().
> Fixes: ed76f5edccc9 ("net: sched: protect filter_chain list with filter_chain_lock mutex")
> Signed-off-by: Matteo Croce <>

Acked-by: Cong Wang <>

Thanks for the update!

Powered by blists - more mailing lists