From: Hillf Danton <hdanton@sina.com>
To: syzbot <syzbot+57cc2f20a84cb4346354@syzkaller.appspotmail.com>
Cc: linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com
Subject: Re: [syzbot] [serial?] possible deadlock in uart_write (2)
Date: Thu, 23 May 2024 19:30:57 +0800 [thread overview]
Message-ID: <20240523113057.2386-1-hdanton@sina.com> (raw)
In-Reply-To: <000000000000be49b106191916f0@google.com>
On Wed, 22 May 2024 23:23:26 -0700
> syzbot has found a reproducer for the following issue on:
>
> HEAD commit: de7e71ef8bed mm: simplify and improve print_vma_addr() out..
> git tree: upstream
> C reproducer: https://syzkaller.appspot.com/x/repro.c?x=140480ec980000
#syz test https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git de7e71ef8bed
--- x/drivers/tty/serial/serial_core.c
+++ y/drivers/tty/serial/serial_core.c
@@ -622,8 +622,9 @@ static ssize_t uart_write(struct tty_str
return -EL3HLT;
port = uart_port_lock(state, flags);
- if (WARN_ON_ONCE(!state->port.xmit_buf)) {
+ if (!state->port.xmit_buf) {
uart_port_unlock(port, flags);
+ WARN_ON_ONCE(1);
return 0;
}
--
next prev parent reply other threads:[~2024-05-23 11:31 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-25 4:00 syzbot
2024-05-23 6:23 ` syzbot
2024-05-23 11:30 ` Hillf Danton [this message]
2024-05-23 11:51 ` 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=20240523113057.2386-1-hdanton@sina.com \
--to=hdanton@sina.com \
--cc=linux-kernel@vger.kernel.org \
--cc=syzbot+57cc2f20a84cb4346354@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®