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] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAL+tcoAj=i_gG--SnVJ38RKfnsUzw=5YQqptN4cKr3nof4RLYg@mail.gmail.com>
Date: Thu, 5 Jun 2025 10:07:13 +0800
From: Jason Xing <kerneljasonxing@...il.com>
To: Eric Dumazet <edumazet@...gle.com>
Cc: "David S . Miller" <davem@...emloft.net>, Jakub Kicinski <kuba@...nel.org>, 
	Paolo Abeni <pabeni@...hat.com>, Simon Horman <horms@...nel.org>, netdev@...r.kernel.org, 
	eric.dumazet@...il.com
Subject: Re: [PATCH net] net: annotate data-races around cleanup_net_task

On Wed, Jun 4, 2025 at 5:39 PM Eric Dumazet <edumazet@...gle.com> wrote:
>
> from_cleanup_net() reads cleanup_net_task locklessly.
>
> Add READ_ONCE()/WRITE_ONCE() annotations to avoid
> a potential KCSAN warning, even if the race is harmless.
>
> Fixes: 0734d7c3d93c ("net: expedite synchronize_net() for cleanup_net()")
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>

Reviewed-by: Jason Xing <kerneljasonxing@...il.com>

Thanks,
Jason

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ