Linux kernel -stable discussions
 help / color / mirror / Atom feed
* [PATCH 5.10 0/3] tty: n_gsm: fix tty registration before control channel open
@ 2023-12-12 11:17 Gavrilov Ilia
  2023-12-12 11:17 ` [PATCH 5.10 2/3] tty: n_gsm, remove duplicates of parameters Gavrilov Ilia
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Gavrilov Ilia @ 2023-12-12 11:17 UTC (permalink / raw)
  To: stable@vger.kernel.org, Greg Kroah-Hartman
  Cc: Daniel Starke, Jiri Slaby, Russ Gorby,
	linux-kernel@vger.kernel.org, lvc-project@linuxtesting.org

Syzkaller reports memory leak issue at gsmld_attach_gsm() in
5.10 stable releases. The reproducer injects the memory allocation
errors to tty_register_device(); as a result, tty_kref_get() isn't called
after this error, which leads to tty_struct leak.
The issue has been fixed by the following patches that can be cleanly
applied to the 5.10 branch.

Found by InfoTeCS on behalf of Linux Verification Center
(linuxtesting.org) with Syzkaller

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-12-12 15:24 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-12 11:17 [PATCH 5.10 0/3] tty: n_gsm: fix tty registration before control channel open Gavrilov Ilia
2023-12-12 11:17 ` [PATCH 5.10 2/3] tty: n_gsm, remove duplicates of parameters Gavrilov Ilia
2023-12-12 11:17 ` [PATCH 5.10 1/3] tty: n_gsm: fix tty registration before control channel open Gavrilov Ilia
2023-12-12 11:17 ` [PATCH 5.10 3/3] tty: n_gsm: add sanity check for gsm->receive in gsm_receive_buf() Gavrilov Ilia
2023-12-12 15:20   ` [PATCH " kernel test robot
2023-12-12 11:44 ` [PATCH 5.10 0/3] tty: n_gsm: fix tty registration before control channel open Greg Kroah-Hartman
2023-12-12 12:25   ` Gavrilov Ilia

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox