Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp521516rdb; Mon, 29 Jan 2024 09:13:18 -0800 (PST) X-Google-Smtp-Source: AGHT+IG5XwOSKBUC4W5YAwk31X4uOn8ILpMYV6r84plOBmN28iT8J41KkYCfu/nMNQ2OlBvFNLzd X-Received: by 2002:a05:6830:1604:b0:6e1:75e:fddd with SMTP id g4-20020a056830160400b006e1075efdddmr6543118otr.7.1706548398674; Mon, 29 Jan 2024 09:13:18 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706548398; cv=pass; d=google.com; s=arc-20160816; b=qhfIepqbwRdf/pMC/ZWtPC4tbViq+4Ah84ZDPje/AaQkbaVGQuY9dnfXAT0tts7UiL qHMlMVwHoOwrm2jwH+sV8trGQnAkLbrlB4AJ5LkAYoNwQcnkOiRgso/HczZxLh6prj2b /i/yJYu/Vv1ZOQLN6n1zAX1sAqObDis+Twq0/gigU9VP0CMyBhCz6XqfZZJ9utR+Gr0K He+pVoGaZDWtOwrA3tkQflueAhhERLO1BGdAMHa9H9CTDxJvmfHEVwFEDyshVpcCX7Rv rJ5wlrmDn8f62FbGVnTr1rRqhQ4CCbQnms2LP15MdYZNKvGWCVFIq1cB6H0nvQf7QyYm bfSA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id; bh=xQQOGInBlLUGI2py9Aw1tyYVmX8t28NUXroh4aXHMpo=; fh=RHPjqAKP8ZC5x6QiiNuNr7xrPTYSpaBl48CEuXp9MGw=; b=fNcN1gMaSc7LYs6Ec5BCDCcZHjg/gmX/2zhCqguNGTvuGO1qQeWQ2mC64TFVRzlklR +j4hYjWA4+FmXR4hbTWdHmL/Z9JB7nr7VZKxdVPlHmIhAmWU0rin3ltXcaIMSN5nGSmc pO0bWXp5gluXAzR1wn2ryl+AkWVe5nGpRI+qZiLvg1Fye+/zQXP5yrFzQtJWDRjEKA1M DhqTZv2z7ZmJE0zw2Y23oWb5SVf7+vPdTE9NfRPCvRSyfIna+GzqdqH6Gzw+uIWRwS+2 +euPQFYPMja0iPEeMrSQKkkF2CW2EFJG4SE5T+Dy7HKlSdw7yawmjJiGHNWEsbNSnJ3L SiOQ== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=altlinux.org); spf=pass (google.com: domain of linux-kernel+bounces-43150-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-43150-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id by32-20020a056a0205a000b005cd90b47495si5987914pgb.264.2024.01.29.09.13.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jan 2024 09:13:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-43150-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=altlinux.org); spf=pass (google.com: domain of linux-kernel+bounces-43150-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-43150-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 2835EB22436 for ; Mon, 29 Jan 2024 16:54:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4933615703C; Mon, 29 Jan 2024 16:53:58 +0000 (UTC) Received: from air.basealt.ru (air.basealt.ru [194.107.17.39]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C4744155A5F; Mon, 29 Jan 2024 16:53:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=194.107.17.39 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706547237; cv=none; b=gV5T3B4Cd7CaDduuOVmv5e98THryBCYyQ7fYg+KwJeNxTjtLSKqQrUqvvFrX6Ua6QaYT9ynhxS8fo8HA6vJaEFqNLWuo/CEYQrCY5VILeP6M67oNrqPhhW3qzOMvuhu9iGhyNrBWfDlbE7ruqWiY0Td0dZlWDN0oPoG3mKY4iRY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706547237; c=relaxed/simple; bh=yKVwxPL9/WhewZ+dYuTA0bQAlhJjqWdNUHkstcnn35Q=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=peeNDg+n7asnHsvq8UI7Cya/69Dbgujai2gtNzQs/ZcNt8IuSEVFIzQDg2JDjNmYoRQ2ad3h0zDNxcArLPwN3G+f6+9sKQ3z4mUOj37KZspMGy7nqDbHRK3uRSMrwcOv/b8Z+l+Bn1OqLaFOSv0JaN+SicYl0/Pls7wEI5Jlj1Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=altlinux.org; spf=pass smtp.mailfrom=altlinux.org; arc=none smtp.client-ip=194.107.17.39 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=altlinux.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=altlinux.org Received: by air.basealt.ru (Postfix, from userid 490) id 2E9922F2023D; Mon, 29 Jan 2024 16:53:52 +0000 (UTC) X-Spam-Level: Received: from [10.88.144.178] (obninsk.basealt.ru [217.15.195.17]) by air.basealt.ru (Postfix) with ESMTPSA id 160432F2023F; Mon, 29 Jan 2024 16:53:50 +0000 (UTC) Message-ID: Date: Mon, 29 Jan 2024 19:53:49 +0300 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH 1/1] gtp: fix use-after-free and null-ptr-deref in gtp_genl_dump_pdp() Content-Language: en-US To: Pablo Neira Ayuso Cc: Eric Dumazet , laforge@gnumonks.org, davem@davemloft.net, kuba@kernel.org, pabeni@redhat.com, osmocom-net-gprs@lists.osmocom.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, nickel@altlinux.org, oficerovas@altlinux.org, dutyrok@altlinux.org References: <20240124101404.161655-1-kovalev@altlinux.org> <20240124101404.161655-2-kovalev@altlinux.org> <1144600e-52f1-4c1a-4854-c53e05af5b45@basealt.ru> From: kovalev@altlinux.org In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 29.01.2024 15:02, Pablo Neira Ayuso wrote: > __netlink_dump_start() is called at the beginning of the dump, which is > grabbing a reference on this module. > > do you have a reproducer? Hi, yes, in the cover letter [PATCH 0/1] https://lore.kernel.org/all/20240124101404.161655-1-kovalev@altlinux.org/ -- Regards, Vasiliy Kovalev