hulk inclusion category: bugfix bugzilla: https://atomgit.com/src-openeuler/kernel/issues/20415 CVE: CVE-2026-98751 -------------------------------- Commit "tty: abort break signalling on hangup" adds a new variable, wait_queue_head_t break_wait, to the tty_struct structure, which causes a KABI change. This issue is resolved by using the reserved KABI. Fixes: 6c9c9367351a ("tty: abort break signalling on hangup") Signed-off-by: Gu Bowen <gubowen5@huawei.com> --- include/linux/tty.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/linux/tty.h b/include/linux/tty.h index 803a63cad60e..807e02c47284 100644 --- a/include/linux/tty.h +++ b/include/linux/tty.h @@ -239,7 +239,6 @@ struct tty_struct { struct fasync_struct *fasync; wait_queue_head_t write_wait; wait_queue_head_t read_wait; - wait_queue_head_t break_wait; struct work_struct hangup_work; void *disc_data; void *driver_data; @@ -251,9 +250,13 @@ struct tty_struct { #define N_TTY_BUF_SIZE 4096 struct work_struct SAK_work; +#ifndef __GENKSYMS__ + wait_queue_head_t break_wait; +#else KABI_RESERVE(0) KABI_RESERVE(1) KABI_RESERVE(2) +#endif KABI_RESERVE(3) KABI_RESERVE(4) KABI_RESERVE(5) -- 2.43.0