Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp688986rdb; Tue, 19 Sep 2023 07:30:06 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGZx3cfcNPDTjJEmyzK1QXnUBgjXCroUNNekxR2DI7hU8xpV4m0xUNsJowSCmIo/gbnsIM1 X-Received: by 2002:a05:6a20:8e1f:b0:159:c07d:66f0 with SMTP id y31-20020a056a208e1f00b00159c07d66f0mr3691006pzj.6.1695133805960; Tue, 19 Sep 2023 07:30:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695133805; cv=none; d=google.com; s=arc-20160816; b=j8lNwmpoLBMEHZpbpadsvRfSWSrEVcyocIP8JCQOOwAmMv3AgbN+s1Wz2A2sZVUo2z eBMpoxCVGIyC7vmuKuEi2HUsan2yBtv7n3zUP0clLkBvKzbg4Bo8bKrTOucSV+Id7/8Z iBTExOLOXHhr/cX/8T7inRowIqcmWQA+2+3FI+mgmHxrJXymmF7jlzPyEAPwqwRt5W8d 1ki9boOvTOP6gZEseAYOMFJQgRgvx9cAELm4poBoAMNVN9cjzEqwtqXcd54tcE2ZlQ4u adqBWQnlEJDUrcx72hfzIKTvHuWqep8hfO7rjLDwWu0pkDfPwfOiYfK8PqougX/MlA73 RTdw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=LFru8gyISQgi3NLeDe2T1NZoyAfg3ABq2XtaPSIWiXc=; fh=RPoVfnx4tl9FmYoU+jBE1k3+5oEwvmEVGBtC8TRVY7I=; b=TS5aUW6D8egCJIvzfNkRHsU+Y7OlbPIdThnIIAL0GLUSIpg6FM4hlvadZskatw0HSl myZdbld4mQiXG82th1YUq/27tXSmeprP1zDGVPqR57Uje4DMLKrG27LGrSXyr/tpqkJ3 EbQk90r9yhpBwfIFi5e364ajdSkG1KelCm3j1O0jvzUFWwLm11lTtKIQ3W0Y1Mn603uZ oepAEZ00f5Svc+He7wiBZxiO/d4/A9/rTMGbRRfj4e5wPP4m28XqP7TLvTmvYLnMfbY2 zraBaqAAs8qQzfzsgpOFYDZV3843uwFzk9XEMPjil2qYe7sM0KGXCRhshXnURRKRbKSy hyDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=mVsJ0b6e; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id t22-20020a63eb16000000b005649cee422esi9693588pgh.464.2023.09.19.07.30.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Sep 2023 07:30:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=mVsJ0b6e; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 8D9588114ED9; Tue, 19 Sep 2023 02:32:10 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231382AbjISJcK (ORCPT + 99 others); Tue, 19 Sep 2023 05:32:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38684 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230262AbjISJcG (ORCPT ); Tue, 19 Sep 2023 05:32:06 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 16572EC; Tue, 19 Sep 2023 02:32:01 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 200F1C433B9; Tue, 19 Sep 2023 09:31:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1695115920; bh=XoKfY+2bobKh/T78yDrtW3xvz2h+QyrN4E4QTW95BE4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=mVsJ0b6euwIwWufSA/LmyTOQF4AIwvp6znQq4JDF0eufBxQPs9o/DkMoTz4rmizr6 FCj2YNCSk5Z/v/uAk6JqJKXTpyMc1umm9Nx+iIRbLj1OSFgnUBR3SpQRMEZ31Lf+1y TxoAhKSu9Eck8DWjb8o1lS5/Zwb/ezjTk+rq5FMQ= Date: Tue, 19 Sep 2023 11:31:57 +0200 From: Greg KH To: Edward AD Cc: eadavis@sina.com, jirislaby@kernel.org, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, syzbot+b5d1f455d385b2c7da3c@syzkaller.appspotmail.com, syzkaller-bugs@googlegroups.com Subject: Re: [PATCH] tty: fix memory leak in gsm_activate_mux Message-ID: <2023091921-duke-gory-866e@gregkh> References: <2023091922-unplug-flask-f2e5@gregkh> <20230919092225.3732786-2-twuufnxlz@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230919092225.3732786-2-twuufnxlz@gmail.com> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Tue, 19 Sep 2023 02:32:10 -0700 (PDT) On Tue, Sep 19, 2023 at 05:22:26PM +0800, Edward AD wrote: > On Tue, 19 Sep 2023 10:29:08 +0200 Greg KH 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@syzkaller.appspotmail.com > > > Signed-off-by: Edward AD > > > > Please use your company name/email address, and then just set a manual > > "From:" line as the first line in the changelog as the documentation > > asks. That's how developers work around their broken corporate email > > systems (but really, you should go and poke your IT group to fix it.) > This repair was completed in my personal time. Additionally, there may be a > possibility of the company's email being thrown away by 'lore.kernel.org'. > If you are not very strict with this, I will continue to use my private email. As you previously submitted this under your company name/address, we have to be strict for obvious reasons, sorry. > I will only keep one line starting with 'From:' in the patch. I don't understand what you mean by this. greg k-h