From: Hillf Danton <hdanton@sina.com>
To: syzbot <syzbot+059a2795ad4cff2a2695@syzkaller.appspotmail.com>
Cc: linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com
Subject: Re: [syzbot] [x25?] possible deadlock in lapb_data_received
Date: Tue, 20 Oct 2026 08:49:40 +0800 [thread overview]
Message-ID: <20261020004942.859-1-hdanton@sina.com> (raw)
In-Reply-To: <6ad66d73.2431563d.3b88b.0026.GAE@google.com>
> Date: Mon, 19 Oct 2026 12:20:19 -0700 [thread overview]
> Hello,
>
> syzbot found the following issue on:
>
> HEAD commit: 2c7935600733 Merge branch 'bpf-zero-extend-the-index-in-in..
> git tree: git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git
> console output: https://syzkaller.appspot.com/x/log.txt?x=13598f01580000
> kernel config: https://syzkaller.appspot.com/x/.config?x=964a8fc052e56fe5
> dashboard link: https://syzkaller.appspot.com/bug?extid=059a2795ad4cff2a2695
> compiler: Debian clang version 22.1.8 (1~deb13u4), Debian LLD 22.1.8
> C reproducer: https://syzkaller.appspot.com/x/repro.c?x=117c5031580000
#syz test: git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git 2c7935600733
--- x/drivers/net/wan/lapbether.c
+++ y/drivers/net/wan/lapbether.c
@@ -139,7 +139,10 @@ static int lapbeth_rcv(struct sk_buff *s
skb_pull(skb, 2); /* Remove the length bytes */
skb_trim(skb, len); /* Set the length of the data */
+ /* still with rcu lock held */
+ spin_unlock_bh(&lapbeth->up_lock);
err = lapb_data_received(lapbeth->axdev, skb);
+ spin_lock_bh(&lapbeth->up_lock);
if (err != LAPB_OK) {
printk(KERN_DEBUG "lapbether: lapb_data_received err - %d\n", err);
goto drop_unlock;
@@ -343,6 +346,7 @@ static int lapbeth_close(struct net_devi
struct lapbethdev *lapbeth = netdev_priv(dev);
int err;
+ synchronize_rcu();
spin_lock_bh(&lapbeth->up_lock);
lapbeth->up = false;
spin_unlock_bh(&lapbeth->up_lock);
--
next prev parent reply other threads:[~2026-10-20 0:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-19 19:20 [syzbot] [x25?] possible deadlock in lapb_data_received syzbot
2026-10-20 0:49 ` Hillf Danton [this message]
2026-10-20 1:53 ` syzbot
2026-10-20 4:28 ` Hillf Danton
2026-10-20 4:58 ` syzbot
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=20261020004942.859-1-hdanton@sina.com \
--to=hdanton@sina.com \
--cc=linux-kernel@vger.kernel.org \
--cc=syzbot+059a2795ad4cff2a2695@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.