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]
Message-Id: <20191115.124705.218221190080573287.davem@davemloft.net>
Date:   Fri, 15 Nov 2019 12:47:05 -0800 (PST)
From:   David Miller <davem@...emloft.net>
To:     ppenkov.kernel@...il.com
Cc:     netdev@...r.kernel.org, edumazet@...gle.com, ppenkov@...gle.com,
        syzkaller@...glegroups.com
Subject: Re: [net-next] tun: fix data-race in gro_normal_list()

From: Petar Penkov <ppenkov.kernel@...il.com>
Date: Thu, 14 Nov 2019 09:52:09 -0800

> From: Petar Penkov <ppenkov@...gle.com>
> 
> There is a race in the TUN driver between napi_busy_loop and
> napi_gro_frags. This commit resolves the race by adding the NAPI struct
> via netif_tx_napi_add, instead of netif_napi_add, which disables polling
> for the NAPI struct.
> 
> KCSAN reported:
> BUG: KCSAN: data-race in gro_normal_list.part.0 / napi_busy_loop
 ...
> Fixes: 943170998b20 ("tun: enable NAPI for TUN/TAP driver")
> Signed-off-by: Petar Penkov <ppenkov@...gle.com>
> Reported-by: syzbot <syzkaller@...glegroups.com>

Applied.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ