[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <DC479C7C-8962-45D3-A036-F5F57CB8865D@holtmann.org>
Date: Wed, 16 Feb 2022 11:21:36 +0100
From: Marcel Holtmann <marcel@...tmann.org>
To: Jinmeng Zhou <jjjinmeng.zhou@...il.com>
Cc: Johan Hedberg <johan.hedberg@...il.com>,
"David S. Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>,
linux-bluetooth@...r.kernel.org, netdev@...r.kernel.org,
shenwenbosmile@...il.com
Subject: Re: 4 missing check bugs
Hi Jinmeng,
> Hi, our tool finds several missing check bugs on
> Linux kernel v4.18.5 using static analysis.
> We are looking forward to having more experts' eyes on this. Thank you!
>
> Before calling sk_alloc() with SOCK_RAW type,
> there should be a permission check, ns_capable(ns,CAP_NET_RAW).
> For example,
says who? The appropriate checks are actually present, just not at sock_create. Some are at sock_bind.
Regards
Marcel
Powered by blists - more mailing lists