Re: [PATCH] tty: fix memory leak in gsm_activate_mux

From: Greg KH
Date: Mon Sep 18 2023 - 08:05:19 EST


On Mon, Sep 18, 2023 at 06:48:36PM +0800, Edward AD wrote:
> When the call to gsm_register_devices() fails, we need to reclaim the memory
> requested in gsm_dlci_alloc().
>
> Fixes: 01aecd917114 ("tty: n_gsm: fix tty registration before control channel open")
> Reported-and-tested-by: syzbot+b5d1f455d385b2c7da3c@xxxxxxxxxxxxxxxxxxxxxxxxx
> Signed-off-by: Edward AD <eadavis@xxxxxxxx>
> ---
> drivers/tty/n_gsm.c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)


Still failing to show up on lore.kernel.org, are you sure that your
email infrastructure is correct?

I see this header on this email message:

Authentication-Results: sina.com;
spf=none smtp.mailfrom=eadavis@xxxxxxxx;
dkim=none header.i=none;
dmarc=none action=none header.from=eadavis@xxxxxxxx

So something really doesn't like your domain's emails :(

greg k-h