[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240824074305.1131-1-hdanton@sina.com>
Date: Sat, 24 Aug 2024 15:43:05 +0800
From: Hillf Danton <hdanton@...a.com>
To: syzbot <syzbot+8dbe3133b840c470da0e@...kaller.appspotmail.com>
Cc: linux-kernel@...r.kernel.org,
syzkaller-bugs@...glegroups.com
Subject: Re: [syzbot] [bpf?] [net?] WARNING in sock_map_close (2)
On Thu, 22 Aug 2024 06:19:27 -0700
> syzbot found the following issue on:
>
> HEAD commit: d785ed945de6 net: wwan: t7xx: PCIe reset rescan
> git tree: net-next
> C reproducer: https://syzkaller.appspot.com/x/repro.c?x=12378c33980000
#syz test net-next d785ed945de6
--- x/net/core/sock_map.c
+++ y/net/core/sock_map.c
@@ -209,7 +209,7 @@ static struct sk_psock *sock_map_psock_g
rcu_read_lock();
psock = sk_psock(sk);
if (psock) {
- if (sk->sk_prot->close != sock_map_close) {
+ if (sk->sk_prot->close == sock_map_close) {
psock = ERR_PTR(-EBUSY);
goto out;
}
--
Powered by blists - more mailing lists