From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A61A2C4332F for ; Tue, 12 Dec 2023 11:44:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232382AbjLLLn7 (ORCPT ); Tue, 12 Dec 2023 06:43:59 -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> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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