Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp603742rdb; Tue, 19 Sep 2023 05:17:48 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFCxHxqlv/gsI6/wAlGY3U2hOWlxnvNERE6Gs87QH+vpwajJ9FQWx6c5jFA4nGH47IOnJus X-Received: by 2002:a05:6a20:442a:b0:14d:d636:ed3a with SMTP id ce42-20020a056a20442a00b0014dd636ed3amr16132010pzb.23.1695125867815; Tue, 19 Sep 2023 05:17:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695125867; cv=none; d=google.com; s=arc-20160816; b=YRkwBovV2+zpGn9V/ZJFezBK1v+yQUIQywrgM76CNiT5S9mMBfxXhq64tjqNwTo54+ bWNRKwfL0ThB50PTs7yk8GVNLxdNxNxQ50cu+3nN85DARQtBRybMUwQ/w+YvQ2kh9Kju jzrAFKz7lPNli/TOB7L7lEd22TeIwbjhjq6fRwWfG8lSxGkplhIVL7OsI1BqglxXXMYx C+8Xqs3OZBbxAsJP7/KiE9BB2gs0fD+ikj06NkAp+8dllxD2Yd+bKEudP4n1jzgeQLeH HHc4Sh7lr/2XprXqIPdXCzfqOJPIud8wr2KueFLl55hpiWA4HElR38wFwjdxiHSZXMw9 OQag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ypIZfd7vxnYRjRxyZcN55Sr1pe+QcTMQMhjwJoWQL0g=; fh=29+xW56OebDp6GJedM4RyZI+jSCFE7y+cIaJqkGAz4c=; b=0u1M87AF2+ItohgY5sDyZ+2p7Q0mF5PXARtDKakhAJr350MkWkw1UTzRIFXakoMQqs Jcnwi/QTt6xkKVX/I2apbyCT8XCpTneKGkWc+P+gOCELrgtdo0XC7kQLSUPfg9432vdQ bDpNtY2DaPksco2LZ94fnP4VvObApjn6H+IMqhlCPBNNJ30Rq2yNJ+st6yN2v2Jz/AWe uabcD8FOw5CLpiqpx6ICFH8xZQ0an3NFyDp6M2dXVlXQFTlv8MLd8lCQTya3d78BB9JA oaTFw451fvg8wATexfjShPQDxebHHliD201plnFFxi3Jo5vkg+mVlQPKbmKgGZfdNAIu KF/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=bJ7bShgi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id ea13-20020a056a004c0d00b00686baf235easi9688426pfb.258.2023.09.19.05.17.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Sep 2023 05:17:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=bJ7bShgi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 85E76809249A; Tue, 19 Sep 2023 02:57:43 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231919AbjISJ5j (ORCPT + 99 others); Tue, 19 Sep 2023 05:57:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40802 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231877AbjISJ5Z (ORCPT ); Tue, 19 Sep 2023 05:57:25 -0400 Received: from mail-pl1-x634.google.com (mail-pl1-x634.google.com [IPv6:2607:f8b0:4864:20::634]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C86601AC; Tue, 19 Sep 2023 02:56:00 -0700 (PDT) Received: by mail-pl1-x634.google.com with SMTP id d9443c01a7336-1c59c40b840so4643305ad.3; Tue, 19 Sep 2023 02:56:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695117360; x=1695722160; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ypIZfd7vxnYRjRxyZcN55Sr1pe+QcTMQMhjwJoWQL0g=; b=bJ7bShgiFQf/+tk1gGyLZ24v6wjaZzsCqT444EC9SENby+GLtjaZ+QcAxqM35KhRy4 Rwf8402/1fEuVd17mDId7Vlv13KrXpz6sXFwOtf70wd8F5Ej4Imwjz6mfYxqfLgVWR7v z0g0D8g7LvRi3zFYayHtjeVabByyYy1bLzvGWFEmHrDRpAzt/CKFgqeSobCwn+33LBVC 7ZllfwiDNnhEfe6ikznlrctlsHs03yAq5CbjKPqfVomfC/9Rfp8TMwXbat5Ua0biX2OI tox6HokB3P/R+PNzhxPYjfxZHbGcdaCj6X6JyTYt0H1O3skgB6KQmBm8CWzqmvY35P8Y vpgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695117360; x=1695722160; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ypIZfd7vxnYRjRxyZcN55Sr1pe+QcTMQMhjwJoWQL0g=; b=O/PtnZEf8wGhxMwrPO5MDEswaXG0u4Z0JVm0H57Uh+MJb0OfsfYhJCXhTmGQIW6HXn k8MYHZQxAgmUdEo+KxQd5meUvPUYRP1v8Tbx4OrZ8NrgL8QefQ1p81qFNYACY0sSYi5x D/Qi9hIV3bJcGlPt5lDuM94WFbosGW2jlLz6j4Jms6W4glvvOHFZn1Ol4eW7RougK6rL YW2iWB63qYWGTqSeWO2UCLVZh2+CJLKFKWGhmJOLlgv7gwJ4l9i87Ug23IT7aEOVdeaR 7c9CgavilIZylmnr3wU7q731+Iz+JDumhXTy5U9ypI5311k73qUM2S/RhEfrdIsqiglo eJ4A== X-Gm-Message-State: AOJu0YyZJZqEyp75r/TaseQGzAucFnfG//Xtx/6woMEqBSt8jtgvWW9n dAZcT6lvUUlwSn/+cz3unUY= X-Received: by 2002:a17:903:278d:b0:1c5:7aac:6e5d with SMTP id jw13-20020a170903278d00b001c57aac6e5dmr3751484plb.66.1695117360058; Tue, 19 Sep 2023 02:56:00 -0700 (PDT) Received: from pek-lxu-l1.wrs.com ([111.198.228.56]) by smtp.gmail.com with ESMTPSA id 2-20020a170902c14200b001b672af624esm4097077plj.164.2023.09.19.02.55.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Sep 2023 02:55:59 -0700 (PDT) From: Edward AD To: gregkh@linuxfoundation.org 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, twuufnxlz@gmail.com Subject: Re: [PATCH] tty: fix memory leak in gsm_activate_mux Date: Tue, 19 Sep 2023 17:55:55 +0800 Message-ID: <20230919095554.3764551-2-twuufnxlz@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <2023091921-duke-gory-866e@gregkh> References: <2023091921-duke-gory-866e@gregkh> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,HK_RANDOM_FROM,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 pete.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 (pete.vger.email [0.0.0.0]); Tue, 19 Sep 2023 02:57:43 -0700 (PDT) On Tue, 19 Sep 2023 11:31:57 +0200 Greg KH 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. The two email addresses I used before these are all my personal emails. > > > I will only keep one line starting with 'From:' in the patch. > > I don't understand what you mean by this. Just set a manual "From:" line as the first line in the changelog as the documentation asks. Thanks, edward