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 30B7431D362 for ; Fri, 24 Jul 2026 15:24:26 +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=1784906667; cv=none; b=shSfbb43/uYJL9d9VhZfLgDN0VLHpGiO2UYgWqanu8v7jSbBJPMOZHP5BcfAoMYktvrtsB6XVVYsc/FouPWJk/tmnheGb9YxDwQ7mbOw1arqRv9EbwM2pblp34we2TtfQJaSFZUPxycIZYDUeCVUBedsAmoh8LmDlcam0Ads9iA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784906667; c=relaxed/simple; bh=SoSR+sqv20KSREmaYc+h/nvGLAdvgtgVooopX9uEhXw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=h4S/WCRP4BaCWamCTDgn28iU/QJ3uLxoKbRKsuPSxUnW9iOfyih8hsuBKmaXlTBxkLKAFQCQy+MHatOT7jn48IpAY0kAuqD6qx6HUsB+3bny6pFl0Y0LC/1crLhs2PID0xiDWK81QG/sGtwPevfv4vs0PeFjkpKK4ie+XHvTa5c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=LSneSc0Y; 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="LSneSc0Y" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9852A1F000E9; Fri, 24 Jul 2026 15:24:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784906666; bh=XDtrPrXeoUsRmd7owpaP6eZuiYvQwZgxeSaA6xVHxV8=; h=From:To:Cc:Subject:Date:Reply-To; b=LSneSc0Y8imYFsbWnYVswxG9ItpsK23tY8/IybzpUqIbN5AbdEgtfxJ0vs+u3pu1y ma0v6gcJj12w99QSyIY+V6Q1ZCCzg6AjSMNHpz6UBm7fVWu8i96WUUUNepxOVLqK0L uUVXHI8yFWYfuhR2xLG3g0od+2hbSkshXp3OqA5M= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-64213: hwmon: (lm90) Add lock protection to lm90_alert Date: Fri, 24 Jul 2026 17:23:16 +0200 Message-ID: <2026072414-CVE-2026-64213-dfb0@gregkh> X-Mailer: git-send-email 2.55.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=2647; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=WscFpoJrlomxc64eK/ZDt+MsQlxTg/OsEqPs28Uz5mo=; b=owGbwMvMwCRo6H6F97bub03G02pJDFnJzUnrDYqjk7ZovWK6uNvIcUXh9ttmMW9ZZn8P2s8bV 1w+pZOzI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACaydw/DfNf4XnZHjnWaYfaP Zn79Gh9WIrpThmF+iLKSTLVyYVrxhIsGB7ffuJK8ho0NAA== 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: hwmon: (lm90) Add lock protection to lm90_alert Sashiko reports: lm90_alert() executes in the smbus alert context and calls lm90_update_confreg() to disable the hardware alert line, without acquiring hwmon_lock. Concurrently, sysfs write operations (such as lm90_write_convrate) hold the hwmon_lock, temporarily modify data->config, and then restore it. If an alert interrupt occurs concurrently with a sysfs write, the sysfs path will overwrite the alert handler's modifications to data->config and the hardware register. This unintentionally re-enables the hardware alert line while the alarm is still active, causing an interrupt storm. Add the missing lock to lm90_alert() to solve the problem. The Linux kernel CVE team has assigned CVE-2026-64213 to this issue. Affected and fixed versions =========================== Issue introduced in 5.3 with commit 7a1d220ccb0cc2b808eb176fb05bf55a38179f3f and fixed in 6.18.34 with commit bed1fc32e0eb653806fa98afcf55f9a311fc4ce2 Issue introduced in 5.3 with commit 7a1d220ccb0cc2b808eb176fb05bf55a38179f3f and fixed in 7.0.11 with commit b0b66aae8a94c3663d47e4000b0e81b89ce32186 Issue introduced in 5.3 with commit 7a1d220ccb0cc2b808eb176fb05bf55a38179f3f and fixed in 7.1 with commit 873e919e3101063a7a75989510ccfc125a4391cf 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-64213 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/hwmon/lm90.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/bed1fc32e0eb653806fa98afcf55f9a311fc4ce2 https://git.kernel.org/stable/c/b0b66aae8a94c3663d47e4000b0e81b89ce32186 https://git.kernel.org/stable/c/873e919e3101063a7a75989510ccfc125a4391cf