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  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:   Tue, 3 Aug 2021 08:43:41 -0600
From:   David Ahern <dsahern@...il.com>
To:     Marek Szyprowski <m.szyprowski@...sung.com>,
        Yajun Deng <yajun.deng@...ux.dev>, davem@...emloft.net,
        kuba@...nel.org, yoshfuji@...ux-ipv6.org, dsahern@...nel.org,
        Bartlomiej Zolnierkiewicz <b.zolnierkie@...sung.com>
Cc:     netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
        linux-decnet-user@...ts.sourceforge.net
Subject: Re: [PATCH] net: convert fib_treeref from int to refcount_t

On 8/3/21 5:08 AM, Marek Szyprowski wrote:
> Hi
> 
> On 29.07.2021 09:13, Yajun Deng wrote:
>> refcount_t type should be used instead of int when fib_treeref is used as
>> a reference counter,and avoid use-after-free risks.
>>
>> Signed-off-by: Yajun Deng <yajun.deng@...ux.dev>
> 
> This patch landed in linux-next 20210802 as commit 79976892f7ea ("net: 
> convert fib_treeref from int to refcount_t"). It triggers the following 
> warning on all my test systems (ARM32bit and ARM64bit based):
> 

fixed in net-next.

Powered by blists - more mailing lists