Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp4575808rdb; Tue, 12 Dec 2023 03:44:17 -0800 (PST) X-Google-Smtp-Source: AGHT+IGw/5LuHI6YpmbchwgucnDJR5P5VK/dJaKXaepGLPpuYhWUhn0pqpzrjJZzW92h+w3YQrEn X-Received: by 2002:a05:6e02:1c4b:b0:35d:6e56:3d1 with SMTP id d11-20020a056e021c4b00b0035d6e5603d1mr10657675ilg.6.1702381457085; Tue, 12 Dec 2023 03:44:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702381457; cv=none; d=google.com; s=arc-20160816; b=kY5Q8P0PUhbrYaF571huITEWdgDtYxzjXbl7PhNRzSS0jNt7ot/LC7gtnKaFLiPjSv 7wnMzdD3GwetxdWx/VmAiw3o4y73uL8jES+Us7PtLsuu0yOybS/nAMcLJU/qRT22nSdY GKhqw7FJVPscjZOXk5CeJXQ3wqiA1ZA27JLDgRjnWW5JTAAvMchNihK1Rvdnfh/XYFbw TyztEfWeE6uZtSwM+WRfijLlraNgK4q+RzYxykP7SzR3aSSCpVmokqbr1BZF/gh0A/7q iwDDYsQoVPXfkOX2p2dHoBJKwzTAU5E+/T85hdNPVNc9lD9/KjPcQb7K/EHEMXm/J+8s p1+Q== 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=wBlBjlVNMwWLwhYU1Z7ayIZ+7ZZXiE3E5HDXPOI2fp4=; fh=tMAcGiuTnD2GHlGUXUL9TOG/9ky1MxDqsiaks/Z8q3w=; b=SZfttFsQKm54yBKym4VUCOr/gfjQLDEHXgdvsQWYFTGkKLhmMx//f+m6Srk2ZEU8Nc IIYsVrUnXtK/IUyWEuTBusYVp8zj/YLBknk5o2QDOYZb+h72jWJHJgjr1iag/2+OYSkt QnA66KP78nE6I/9Y2YsymMITgKOk4RSoB9Smd1d6zoxXJMFgAC6O/mdkyzOmOP+XHOE6 8n6TmFGSpQ794Jaerp5fgj8UZxXC4TSCZr7nzpwTsQQ6grO/kJDy/T3FHJ+kSTsjCdcm q3bh2VopdnJtyL0zjVkZo62cWD3HzfPRFJyGR1m2oXkYfBMLcLI709MDtiG+8IbEzUMT t/1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="lXTgqe/C"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id t6-20020a170902b20600b001cfbd011ca2si7559467plr.110.2023.12.12.03.44.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Dec 2023 03:44:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="lXTgqe/C"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (Postfix) with ESMTP id 7BB8F80532C4; Tue, 12 Dec 2023 03:44:14 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232366AbjLLLn6 (ORCPT + 99 others); Tue, 12 Dec 2023 06:43:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37262 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232364AbjLLLn5 (ORCPT ); Tue, 12 Dec 2023 06:43:57 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 81626CD for ; Tue, 12 Dec 2023 03:44:03 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C651FC433C8; Tue, 12 Dec 2023 11:44:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1702381443; bh=eqmQ3zCBD/6tpWUKuDbGF0pIhxZDCoYVmpZUroAh/4E=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=lXTgqe/CGqYOqcSZKpN+ibMRTZeXxL3jEOEyGO/OLGNlm+qlJ54pG50vBysl/x5Bt emuzBnQiOZEiZHkkO7NKWQNDTQWnxAqFjWP9zcB/noK83P4y2xszhRgD97vShSmR5n EbEuX28etV3jsBitC08A+VVPr+CGz6O4NA56ZCrs= Date: Tue, 12 Dec 2023 12:44:00 +0100 From: Greg Kroah-Hartman To: Gavrilov Ilia Cc: "stable@vger.kernel.org" , Daniel Starke , Jiri Slaby , Russ Gorby , "linux-kernel@vger.kernel.org" , "lvc-project@linuxtesting.org" Subject: Re: [PATCH 5.10 0/3] tty: n_gsm: fix tty registration before control channel open Message-ID: <2023121232-magenta-recall-2cec@gregkh> References: <20231212111431.4064760-1-Ilia.Gavrilov@infotecs.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231212111431.4064760-1-Ilia.Gavrilov@infotecs.ru> 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,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.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 (agentk.vger.email [0.0.0.0]); Tue, 12 Dec 2023 03:44:14 -0800 (PST) On Tue, Dec 12, 2023 at 11:17:21AM +0000, Gavrilov Ilia wrote: > 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 Do you actually have any hardware for this protocol running on the 5.10.y kernel? How was this tested? Why was just this specific set of patches picked to be backported? thanks, greg k-h