[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240425140127.6504ade1@gato.skoll.ca>
Date: Thu, 25 Apr 2024 14:01:27 -0400
From: Dianne Skoll <dianne@...ll.ca>
To: linux-serial@...r.kernel.org, linux-kernel@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Jiri Slaby
<jirislaby@...nel.org>
Subject: Re: N_HDLC line discipline: Race condition
Hi,
I have (somewhat) narrowed down when the kernel bug appeared by installing
Debian 10, 11 and 12 in KVM virtual machines.
The bug is NOT present in Debian 10, kernel version 4.19.67.
The bug IS present in Debian 11, kernel version 5.10.209
The bug IS present in Debian 12, kernel version 6.1.85
So I guess it was introduced sometime between 4.19.67 and 5.10.209. I'll
take a look to see if I can do a git bisect.
[To recap, the bug is that the N_HDLC line discipline sometimes
coalesces two write()s so you get them both back in a single read()
which is contrary to what it's supposed to do... preserve the write
boundaries as individual frames.]
Regards,
Dianne
Powered by blists - more mailing lists