Bug 218834
Summary: | [regression] [bisected] commit 6bb6fa6908ebd3cb4e14cd4f0ce272ec885d2eb0 corrupts data sent via pseudoterminal device | ||
---|---|---|---|
Product: | Linux | Reporter: | vkrevs |
Component: | Kernel | Assignee: | Virtual assignee for kernel bugs (linux-kernel) |
Status: | RESOLVED PATCH_ALREADY_AVAILABLE | ||
Severity: | normal | CC: | vkrevs |
Priority: | P3 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | Subsystem: | ||
Regression: | Yes | Bisected commit-id: | 6bb6fa6908ebd3cb4e14cd4f0ce272ec885d2eb0 |
Attachments: | bisection logs and repro test program |
Description
vkrevs
2024-05-13 16:25:06 UTC
Find the person who made the commit. Post your findings to LKML and CC that person. This bug report will die here. (In reply to Artem S. Tashkinov from comment #1) > Find the person who made the commit. > > Post your findings to LKML and CC that person. > > This bug report will die here. Already done by someone else: https://lore.kernel.org/lkml/ZkLv3wn62jqMVpSF@archie.me/T/#u https://lore.kernel.org/regressions/ZkLv3wn62jqMVpSF@archie.me/T/#u https://marc.info/?l=linux-serial&m=171566263310483&w=2 In reply to: stty -a -F /dev/pts/1 speed 38400 baud; rows 57; columns 217; line = 0; intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>; eol2 = <undef>; swtch = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W; lnext = ^V; discard = ^O; min = 1; time = 0; -parenb -parodd -cmspar cs8 -hupcl -cstopb cread -clocal -crtscts -ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon ixoff -iuclc -ixany -imaxbel iutf8 opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0 isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt echoctl echoke -flusho -extproc Fixed by: [PATCH] tty: n_tty: Fix buffer offsets when looked ahead is used https://lore.kernel.org/lkml/20240514140429.12087-1-ilpo.jarvinen@linux.intel.com/T/ Should land in 6.9.2. The above patch landed in 6.9.6, 6.6.35, 6.1.95 stable kernels. 6.9.6: https://lwn.net/Articles/979263/ 6.6.35: https://lwn.net/Articles/979262/ 6.1.95: https://lwn.net/Articles/979261/ |