From: Jakub Kicinski <kuba@kernel.org>
To: Jeongjun Park <aha310510@gmail.com>
Cc: davem@davemloft.net, edumazet@google.com, pabeni@redhat.com,
razor@blackwall.org, agospoda@redhat.com,
syzbot+113b65786d8662e21ff7@syzkaller.appspotmail.com,
linux-kernel@vger.kernel.org, netdev@vger.kernel.org,
syzkaller-bugs@googlegroups.com
Subject: Re: [PATCH net] net: Fix data race around dev->flags in netif_is_bond_master
Date: Mon, 29 Jul 2024 07:41:32 -0700 [thread overview]
Message-ID: <20240729074132.6edec347@kernel.org> (raw)
In-Reply-To: <20240728105429.2223-1-aha310510@gmail.com>
On Sun, 28 Jul 2024 19:54:29 +0900 Jeongjun Park wrote:
> According to KCSAN report, there is a read/write race between
> __dev_change_flags and netif_is_bond_master for dev->flags. Therefore,
> should change to use READ_ONCE() when reading dev->flags.
That will certainly silence the warning, but doesn't prove the change
is correct.
--
pw-bot: cr
prev parent reply other threads:[~2024-07-29 14:41 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-04 15:07 [syzbot] [net?] KCSAN: data-race in __dev_change_flags / is_upper_ndev_bond_master_filter (9) syzbot
2024-07-04 15:10 ` Dmitry Vyukov
2024-07-28 10:54 ` [PATCH net] net: Fix data race around dev->flags in netif_is_bond_master Jeongjun Park
2024-07-29 14:41 ` Jakub Kicinski [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240729074132.6edec347@kernel.org \
--to=kuba@kernel.org \
--cc=agospoda@redhat.com \
--cc=aha310510@gmail.com \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=razor@blackwall.org \
--cc=syzbot+113b65786d8662e21ff7@syzkaller.appspotmail.com \
--cc=syzkaller-bugs@googlegroups.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).