[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <0000000000009a97cf06115964d8@google.com>
Date: Wed, 14 Feb 2024 07:44:57 -0800
From: syzbot <syzbot+fd7b34375c1c8ce29c93@...kaller.appspotmail.com>
To: linux-kernel@...r.kernel.org
Subject: Re: [syzbot] Test for fd7b34375c1c8ce29c93
For archival purposes, forwarding an incoming command email to
linux-kernel@...r.kernel.org.
***
Subject: Test for fd7b34375c1c8ce29c93
Author: syoshida@...hat.com
#syz test
diff --git a/net/core/skmsg.c b/net/core/skmsg.c
index 93ecfceac1bc..4d75ef9d24bf 100644
--- a/net/core/skmsg.c
+++ b/net/core/skmsg.c
@@ -1226,8 +1226,11 @@ static void sk_psock_verdict_data_ready(struct sock *sk)
rcu_read_lock();
psock = sk_psock(sk);
- if (psock)
- psock->saved_data_ready(sk);
+ if (psock) {
+ read_lock_bh(&sk->sk_callback_lock);
+ sk_psock_data_ready(sk, psock);
+ read_unlock_bh(&sk->sk_callback_lock);
+ }
rcu_read_unlock();
}
}
Powered by blists - more mailing lists