diff options
| author | Eric Dumazet <edumazet@google.com> | 2025-02-07 13:58:37 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-02-21 14:01:43 +0100 |
| commit | a849a10de5e04d798f7f286a2f1ca174719a617a (patch) | |
| tree | 50bedc613e8a09dab4b4a1c144154e386094f8ba /scripts/objdiff | |
| parent | 01d1b5c9abcaff29a43f1d17a19c33eec92c7dbe (diff) | |
| download | linux-a849a10de5e04d798f7f286a2f1ca174719a617a.tar.gz linux-a849a10de5e04d798f7f286a2f1ca174719a617a.tar.bz2 linux-a849a10de5e04d798f7f286a2f1ca174719a617a.zip | |
openvswitch: use RCU protection in ovs_vport_cmd_fill_info()
[ Upstream commit 90b2f49a502fa71090d9f4fe29a2f51fe5dff76d ]
ovs_vport_cmd_fill_info() can be called without RTNL or RCU.
Use RCU protection and dev_net_rcu() to avoid potential UAF.
Fixes: 9354d4520342 ("openvswitch: reliable interface indentification in port dumps")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Link: https://patch.msgid.link/20250207135841.1948589-6-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
