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] [day] [month] [year] [list]
Date:   Mon, 16 Mar 2020 02:01:00 -0700 (PDT)
From:   David Miller <>
Subject: Re: [Patch net] net_sched: cls_route: remove the right filter from

From: Cong Wang <>
Date: Fri, 13 Mar 2020 22:29:54 -0700

> route4_change() allocates a new filter and copies values from
> the old one. After the new filter is inserted into the hash
> table, the old filter should be removed and freed, as the final
> step of the update.
> However, the current code mistakenly removes the new one. This
> looks apparently wrong to me, and it causes double "free" and
> use-after-free too, as reported by syzbot.
> Reported-and-tested-by:
> Reported-and-tested-by:
> Reported-and-tested-by:
> Fixes: 1109c00547fc ("net: sched: RCU cls_route")
> Cc: Jamal Hadi Salim <>
> Cc: Jiri Pirko <>
> Cc: John Fastabend <>
> Signed-off-by: Cong Wang <>

Applied and queued up for -stable, thanks Cong.

Powered by blists - more mailing lists