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 244D34D0CF1 for ; Sun, 18 Oct 2026 15:29:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792337375; cv=none; b=bVX7eBrCd8btIirAeo4a8CpfvUkyrvObJQVsf9bXP41BrCOhor/rgtYtsyRLVValCnb8VcKCMDUQn/oobJd2DnCgiq09SmgkVzyiVMyd4Bzn28JoxfmEDXMCLF4WqfaCgVtSx4IbAatHmqtCsJV9py1v5pKRwzPw2uQL6fih9B0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792337375; c=relaxed/simple; bh=MW62JBL2NY/TBi0VKNKRK8S7k7qDFYIJ/fZkFoqGy60=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=kfs3NhcaFpOPIJ8Xlcp8mHRACZlsceQelXcWz54l6qrnCa0eeiyOZJXDN0NNczwMznhvXWmmgCN6UFz+ZYEtclQyTTZY+Uxc59FuiSonkBTalKTbUhvArhogD018gA7Lh7cLWWrF2/XLUNr8cZkMgGJUF0duCZfgIB9fqwm8tRE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=rg7MpD6A; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="rg7MpD6A" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D22551F000C4; Sun, 18 Oct 2026 15:29:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792337372; bh=3YbEHOTB1LU+7UAewxIt4CzlXxgeeVkX1apK6NJmyWY=; h=From:To:Cc:Subject:Date:Reply-To; b=rg7MpD6AgCAVUGwMkn8zgtxbbgZgTcwBZ7x3NY49neix3cDVT1DIehKBlYn47iS6q m63lrlEMSeoZTik916d9ohiUlT+Qv3fb8fj9aueuj0NoKVIodljKR3EeWduv3riG1a LUEFJ3dz/uR0C38s65iiiNJNcjpJsiDOSITr1nPM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98564: net: dsa: mt7530: leave the MDIO IRQ mappings to regmap-irq Date: Sun, 18 Oct 2026 17:17:08 +0200 Message-ID: <2026101831-CVE-2026-98564-b44b@gregkh> X-Mailer: git-send-email 2.56.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2938; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=ObNC4Nt8kOaI/05xPDXnpm+mWTMnzD48Nwipu8j0dbo=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlXHk2u3R7cGft22rkjy70EWdjfZDgsPMrWzt5T47wqP ciya/WPjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZhIkQ/D/Jglc//Pi9s1PbJX /HLx5eiJn+e9UWGYX7X9fxHP76yZH1+3Bktv0M264Ps3AAA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: net: dsa: mt7530: leave the MDIO IRQ mappings to regmap-irq mt7530_remove_common() disposes the per-PHY interrupt mappings from .remove, but the regmap-irq chip that owns the domain is devm-registered, so its parent interrupt is only freed once .remove has returned. The switch's own regmap-irq thread can therefore still dispatch on a mapping that is already gone: irq_find_mapping() returns 0, irq_to_desc() returns NULL and handle_nested_irq() locks desc->lock without checking it. The attached PHYs have not given those interrupts back yet either, which the kernel warns about a moment before the fault. regmap_del_irq_chip() disposes the same mappings itself, after freeing the parent interrupt and before removing the domain, so there is nothing left for the driver to do here. Until it runs the descriptors stay alive, and a late dispatch on one of them is harmless: dsa_unregister_switch() has freed the PHY handlers by then, so handle_nested_irq() finds no action and returns. The Linux kernel CVE team has assigned CVE-2026-98564 to this issue. Affected and fixed versions =========================== Issue introduced in 6.15 with commit 254f6b272e3b67bf31c42ee9da62a449d74d1478 and fixed in 6.18.55 with commit 2357c682f6eaf639dec88c68b3c0c93a3b802635 Issue introduced in 6.15 with commit 254f6b272e3b67bf31c42ee9da62a449d74d1478 and fixed in 7.2.9 with commit f306e465b5a2091cd3fe3dd0feb10cfc94cfb2f8 Issue introduced in 6.15 with commit 254f6b272e3b67bf31c42ee9da62a449d74d1478 and fixed in 7.3-rc5 with commit 0d80ba0a204c6a16bd7778b50de578dff107c0fe Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-98564 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/net/dsa/mt7530.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/2357c682f6eaf639dec88c68b3c0c93a3b802635 https://git.kernel.org/stable/c/f306e465b5a2091cd3fe3dd0feb10cfc94cfb2f8 https://git.kernel.org/stable/c/0d80ba0a204c6a16bd7778b50de578dff107c0fe