From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796289529; b=l51kfcDcROOMmderS+XyuBQxSLaSB5wDnBnCVFN+Go+Qaokseg8XdnDqemdjxo1ujeXZ oSC3wRFCd/KZHhn/AFRubuPgg0IwTNlpnAGkXN1YazoePxUz2fhmbIgItJ4tCRXPsl27o 8y0MbyMPPIzNwPsAjFp49OBh2mHHMmMieEMtkDQbPr7i6kqhz44NK3gaL7CZuaiDfe+yS CdXS5RdYL13Dlpx5IOCmUOX5WeWu5UB2THfoivak+q34mhr/wnrEQpkpsOAD7Aw+V8brA 3zgkSCfR6GPpEFbNX8nYhXk8mkbb+2swUJFRiPLGRnCxhnjIVFUnH2ODdk5lligsTjA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796289529; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=Th4ESo4JxqoEP79BtNGFzTwgUH3yS4aH6eTONGWZupk=; b=dAI1YRn59c+W+xHMLcWclpGO8GwDaaAYrYjWRBFpHGBJR79rGadgsL5s7uxtqyO/t4PX do28sCPF2tk/ZEq9Uzr9o2msXyX8UNCFM+Jk1BU5x7nWJJlPYRqDhNQKLK8KWfyISLoar MBZ9Heutfa432IHG+UUR47m35dVrCKN6MCaftbOsRNF1ZkUxfJiV4HBEwNLEr2tXy29gP x8E/nG+PDtK7xaxhiwXYMWjl20nxdgcsv+1pb6ZT2zP4QR3e361OLrQK3GKqVotyZ9B3U 61RmbixNXUUsu8LRhiIdsZDuOYSI7tDe7saURNIblcpnn8sqBRo3j2xEWQwuI0+WbIg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=nI8ho41O; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E2F68606A687 for ; Thu, 3 Dec 2026 09:18:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=nI8ho41O Received: by smtp.kernel.org (Postfix) with ESMTPSA id AF0711F000C1; Thu, 3 Dec 2026 09:18:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1796289528; bh=Th4ESo4JxqoEP79BtNGFzTwgUH3yS4aH6eTONGWZupk=; h=From:To:Cc:Subject:Date:Reply-To; b=nI8ho41OeE5V/xqaHjmNPp2xulnxdQgRkiLNTQiAgBJfNm+bpHZbU7R0QlsEjww3b 9pDJAew2oEl2luNAFGd2rBgzEymQj4rGDEvpnroHJYUEChVYp5+vNzfn68TeBTJy2J L/tkwha77fLAbJp31R8iXmM5aCUwfqS/+NVrInRE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-142961: iio: humidity: hid-sensor-humidity: Use per-instance callbacks Date: Thu, 3 Dec 2026 10:16:37 +0100 Message-ID: <2026120330-CVE-2026-142961-e092@gregkh> X-Mailer: git-send-email 2.56.1 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2276; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=n2reLrv6l+9kXBSxSEKd8on70aFVxyVuK12gqCqWkw4=; b=owGbwMvMwCRo6H6F97bub03G02pJDNmCxnnn90jlXwuRO2e5dFd859ZnZpv3uWQd0D179VhNZ ksywyn3jlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjI7HaGuaLhU28teyjh8J/H 86nEGd0jz2x35jDMz/BLtg1t/anM+F7hhsaLPWmiGYdEAA== 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: iio: humidity: hid-sensor-humidity: Use per-instance callbacks hid-sensor-humidity keeps a single static struct hid_sensor_hub_callbacks for all instances and overwrites its pdev in every probe, so with two humidity sensors, input reports for one are delivered with the other's platform device, and a NULL dereference follows once that device is removed. The same bug was found in hid-sensor-temperature, which shares this code. Keep the callbacks in struct hid_humidity_state, as the other HID sensor drivers (accel, gyro, als, ...) do. The Linux kernel CVE team has assigned CVE-2026-142961 to this issue. Affected and fixed versions =========================== Issue introduced in 4.12 with commit d7ed89d5aadf09f1060cd3a9cf07df17447c7392 and fixed in 7.3.7 with commit b7fbfe0c814b6c13f2d793765b08dc2ad64547d6 Issue introduced in 4.12 with commit d7ed89d5aadf09f1060cd3a9cf07df17447c7392 and fixed in 7.4-rc4 with commit bbe4f3f668babc9443fc1f075695e43e17ca7976 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-142961 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/iio/humidity/hid-sensor-humidity.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/b7fbfe0c814b6c13f2d793765b08dc2ad64547d6 https://git.kernel.org/stable/c/bbe4f3f668babc9443fc1f075695e43e17ca7976