From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 97A8146073 for ; Mon, 13 Jan 2025 17:30:07 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9E019402A7; Mon, 13 Jan 2025 17:30:06 +0100 (CET) Received: from mail-pl1-f175.google.com (mail-pl1-f175.google.com [209.85.214.175]) by mails.dpdk.org (Postfix) with ESMTP id F1C3040A80 for ; Mon, 13 Jan 2025 17:30:04 +0100 (CET) Received: by mail-pl1-f175.google.com with SMTP id d9443c01a7336-2165448243fso94699855ad.1 for ; Mon, 13 Jan 2025 08:30:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1736785804; x=1737390604; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=ywqfrkY3s7D+ycoK2qhbJzJvmpbaZj2NO/IDR8KDhg0=; b=TsoVO8ocK7yGObOa/wkZKYSd0c7vL4zEztrzDAVBnlbE9ZvWVWZNGeSYOY88/7jX1R cD1Hve1QP6hs0MLkEGYnrgUoJ3hMgvgoCVvkXAgkwoYIgrnlSGfy8ERztxXrrwz3HOHt kJXO41TpwPyv/V3W0Kz4Ak/x1vzwyvrUBuz7e2IhGyV6x4fQHqvacu4g6It3L7zu2q1R ZZjYmRd+tEXbG4Ax3JamhryGS4tmH8KzLI8CxnbMorWLi93I6ZR3uz+KxPzoTlzVppPm xQuT++MMquNnvS35e0/m8SfRbhajqgu6IMfhyiWJWgFLskYwMRODXFRUAh+cTrRsKQ1Z AgKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736785804; x=1737390604; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ywqfrkY3s7D+ycoK2qhbJzJvmpbaZj2NO/IDR8KDhg0=; b=qduUZ/UV6ePZhiZ5Rv0d8g1xhc5kNDYNTEl0LCmfTg/1kBRu6FoA9fENEsauNn6Dml 5WsQApXZb8wotkPZIkz1ATOI6yHJQl2jTNQGgSRO/PAlEeO2NNNEh8zozARZ6KhVWPVn 3CjOiu9smDSsQlhkK8051Us4j34UaTioGMY4tIR6W0pbJTkqXrHYhid7DeZiI4IpLv6+ ciWIZRVxObt6HicX7s9D4zhl9OiU4Lq1/XK+taEwOCmJMsrPL92E0oWCgE90ZlG5WqG3 BKwjg81Xk9csgad2G++zCfxHGrIj7/mECdPvmLhmPZXj7p7MK1x9x2SubMw87kA8xgaO +ktA== X-Forwarded-Encrypted: i=1; AJvYcCUIEfoD2W4JN3gxMdflDIhxY597cWbNexxe7DusfBSuJ8QPXKO3keTFLE/knKRlzHoC+jxgRWE=@dpdk.org X-Gm-Message-State: AOJu0YzlquYz0MJ+H1DOL0TZbRnTjA7xrjHhXgk2jlfZKHRsTXRNiwkj R2KfLFVMurdEFiP2ltWqmGpsfMNl+VbCfGAohd2c3TQNAUXeagEUNIKwusArbfA= X-Gm-Gg: ASbGncshiInfVKfGwOvjyMkgsBk/KEwKF/hV72ivUmy+SSL6ZaN5K5tetOqzdZTrMFD G17ZV2Q96E+Dnqp8xFpk8EBDr297i3lfBYuywcozdqBKKSPx9CQJ8NN8BGGJCFFKTwZ4XblMRN/ p1vd2SpUGXNyRtGn0ODFpVAKVGpw2G5+JA3UzAgNF09M4cMRypWDWhAmo79Y344ZI1HGqW8gkCD 4subFHGD8DOL/z2JQf9S0ZWiYsnd8mqcHYCconFS7WtcUr5nkxOnESTNIOh+u4+lYcrQXoZ6/mo lD8azIpr7o1o05gEhgQvtrD/fOojVKoPSQ== X-Google-Smtp-Source: AGHT+IFAv7QmhTf3v55ijV8aLCLxfc/9PKaSrmv5VagMVKbF51DdKUFrcBO1Nkx9uIJUN52J3sO3xg== X-Received: by 2002:a05:6a00:4485:b0:728:ea15:6d68 with SMTP id d2e1a72fcca58-72d21fdfa27mr31989637b3a.18.1736785803712; Mon, 13 Jan 2025 08:30:03 -0800 (PST) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-72d4054942dsm5959905b3a.21.2025.01.13.08.30.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Jan 2025 08:30:03 -0800 (PST) Date: Mon, 13 Jan 2025 08:30:01 -0800 From: Stephen Hemminger To: Praveen Shetty Cc: bruce.richardson@intel.com, dev@dpdk.org, stable@dpdk.org Subject: Re: [PATCH v1] common/idpf: fix heap use after free error Message-ID: <20250113083001.611db94d@hermes.local> In-Reply-To: <20250113085404.1447006-1-praveen.shetty@intel.com> References: <20250113085404.1447006-1-praveen.shetty@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org On Mon, 13 Jan 2025 08:54:04 +0000 Praveen Shetty wrote: > Heap use after free error is detected in AddressSanitizer while quitting > the testpmd application.Issue is due to accessing the empty control > queue in the idpf_ctlq_deinit function.idpf_ctlq_deinit function is called > during the rte_eal_cleanup routine. > This patch will fix this issue. > > Fixes: fb4ac04e9bfa ("common/idpf: introduce common library") > Cc: stable@dpdk.org > > Signed-off-by: Praveen Shetty This should not be needed. LIST_FOR_EACH_ENTRY_SAFE part, don't understand.