🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #3798

Re: [PATCH net v3] net: emac: mal: replace devm_request_irq with request_irq to fix probe error race

#3798
From: patchwork-bot+netdevbpf
Date: Fri, 16 Oct 2026 01:40
24 lines
6372 bytes
Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Wed,  7 Oct 2026 11:38:21 -0700 you wrote:
> devm_request_irq() is a managed resource: the IRQ is not freed until
> devres_release_all() runs after the probe function returns.  In the
> probe error path, free_netdev(mal->dummy_dev) and dcr_unmap() execute
> while the IRQ is still live.  If the shared IRQ fires during cleanup,
> the handler accesses unmapped DCR registers (crash) or the already-
> freed dummy_dev (use-after-free).
> 
> [...]

Here is the summary with links:
  - [net,v3] net: emac: mal: replace devm_request_irq with request_irq to fix probe error race
    https://git.kernel.org/netdev/net-next/c/dabe6a847748

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179211481152.6630.904619087958285096.git-patchwork-notify@kernel.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-347050-linux-kernel-netdev=dewy.ru
References: <20261007183821.928263-1-rosenp@gmail.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-347050-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net v3] net: emac: mal: replace devm_request_irq with
 request_irq to fix probe error race
Date: Fri, 16 Oct 2026 01:40:11 +0000
Organization: Usenet Network
Message-ID: <179211481152.6630.904619087958285096.git-patchwork-notify@kernel.org>
References: <20261007183821.928263-1-rosenp@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="2662603"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:HsETHmD1m7uD4UGerYy5KOsG1Yc= sha256:rKtdOypCHGwjp6JiWRuYJEflR5islaUaNZ2XBedg1Rg=
	sha1:Cb85OXWwwDyx76v1eXGo1ZbjtoU= sha256:dMQ+ZCvQa0qvEjXhvdnPQkPTGB/HYJ7rXW29KZ/KegA=
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id 93B0C10D723; Fri, 16 Oct 2026 04:41:27 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -1.34
X-Spam-Status: No, score=-1.34 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.24, DKIM_SIGNED=0.1,
	DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
	MAILING_LIST_MULTI=-1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001]
	autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=kernel.org
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id q7Pdt8os3Wuv;
	Fri, 16 Oct 2026 04:41:24 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-347050-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id 48340110207; Fri, 16 Oct 2026 04:41:13 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1])
	by sea.lore.kernel.org (Postfix) with ESMTP id 9D5D738BAB; Fri, 16 Oct 2026 01:40:15 +0000 (UTC)
X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 2D09C345ED3;
	Fri, 16 Oct 2026 01:40:14 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="UhoMK90L"
X-Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18])
	(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 29C6D334374;
	Fri, 16 Oct 2026 01:40:13 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18
X-ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
	t=1792114814; cv=none; b=La3a2GIIqi4J8jil2aF4wkkxSA768Gazu2CtG6EI6aZHnjaJ8EKWXwIFClLqqhSljyTMNp06/E0ijEwVuyuCtkJty0iOwB8ZIUukQFWUfXTxbtlA3NJbx2esuGLGFCjI/DrY2s02diwvHwAqtTVTAWrQ219SKFQNUGkJcRC1eVE=
X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org;
	s=arc-20240116; t=1792114814; c=relaxed/simple;
	bh=GRlEUPU43csNWJdDqp87XRCrr7jF8qwnw4wkamEgibY=;
	h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc; b=GA8j5hS6K8NkSMUpv0uePz0cDO82vhEsGhyXvwQJTd44fP5WOJ9Tv1WHYH07WuOmfisq4NDL5BcGqaq7c23bO34jpN4IJqND7gHjR/ug9QlhaMCDGES0dRpuL3g5N0YN7S5qy6U26FHpkrEa5AFnPbPZzJ5nRvQ6hfRUTp65bgU=
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=UhoMK90L; arc=none smtp.client-ip=100.103.45.18
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 068841F000C4;
	Fri, 16 Oct 2026 01:40:13 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1792114813;
	bh=4mbeRdOBiYMJ2XpRPzevtJHiRAQAP3Dz+k67N+KbBRg=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=UhoMK90L4X8czDPj6+cumadDL2F7/OeGe2P1ypQTU1fLroLg15RXf54eQUj7Qzxmo
	 U0AqMn+9zX2/6XlBNaCLNEQwLjFIy6zjKeaSXcniD91T6aGJMl43VYFYV6Ga4D98bQ
	 XVUZHT/EEbbjUPAPbHupf2cUBBepdtEJVCMZXqPqwFENpvTy1hc9GuiCauNDClrRIv
	 aZolriH1wiumxpjpzD5jamog1NEg4U+eMauQkd1q99nKqUYLg/FDza3LkRHOy6YQLu
	 an2htym558vgz8yllBcrfJPDN0Kd2+hZvfKmLdEgIeQLg+dGZgxZZ7kN+xIyOWPjZ5
	 4YaxXttQWt92g==
X-Received: from [10.30.226.235] (localhost [IPv6:::1])
	by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id F16213808209;
	Fri, 16 Oct 2026 01:40:12 +0000 (UTC)
X-Precedence: bulk
X-Mailing-List: netdev@vger.kernel.org
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-In-Reply-To: <20261007183821.928263-1-rosenp@gmail.com>
X-Cc: netdev@vger.kernel.org, andrew+netdev@lunn.ch, davem@davemloft.net,
 edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com,
 linux-kernel@vger.kernel.org