rcu: Mark accesses to rcu_state.n_force_qs
authorPaul E. McKenney <paulmck@kernel.org>
Tue, 20 Jul 2021 13:16:27 +0000 (06:16 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Dec 2021 08:32:51 +0000 (09:32 +0100)
commita96ac0688acb40035ba5c0612b52f379a863d1cd
tree7c648eac14cecea74d876a980357a5b5db9c49b9
parent4b4e5bbf9386d4ec21d91c0cb0fd60b9bba778ec
rcu: Mark accesses to rcu_state.n_force_qs

commit 2431774f04d1050292054c763070021bade7b151 upstream.

This commit marks accesses to the rcu_state.n_force_qs.  These data
races are hard to make happen, but syzkaller was equal to the task.

Reported-by: syzbot+e08a83a1940ec3846cd5@syzkaller.appspotmail.com
Acked-by: Marco Elver <elver@google.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
kernel/rcu/tree.c