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=1795154468; b=GNT7R405grF0NRNrDY+qsFZbdxjC8rGSQuNUBPJcpu1h1tcWcyMARwyUSnU2eceZQYoQ +oOF2FOW8OyppFmlf7DbLJWRrNA0REZXbyAQf9uzBlx53hXPEUm2M92n1gg2fqBa+cUm9 qSxSbVzxyASGEk8RIjzzABXzQXEO7kbjWGta3R80bKSg9WLo2sb3OzbGKOAb7VPwqvdgP uWYeEVyb+oCd4TKuu6z4XvmULKW2UjHiYSJhnxd/oz+KgdA+9kiWc6Qn0cFKY77MpRxbf +6omvLXawfy/Mjc5JJdpyAdqWuE2WNYoIl+U1+g0vc8cQE8+aLrmEtwZ4mSUHWkrlSQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795154468; 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=yHKn1gY8L97yjtAaBrROnxFDLqKrpRp4/vETtstlEtw=; b=zuNjo3O3KCXwBBXF6vl24WjoQtqBooSvD0vs1cl7jX+MIzj55k5W/VoaEvfAPG7V2/FY JHv143d6gdkbpPLtFcdaKGRym40eCp8eQXKeCMFsOPZlem2XB9/GvwBd/7Ppa8DRxERid KwQOyHbjXe7870AdY3AkRGjDLc/4Wk/huf7VflI86/8xkesa9Ypnii2llIKPxivLCASrY SHRvoGgMYPPvVQUM0BZ7XyZ+pxwOLz7AO/k6x9amD5uXHz74wa0dEDlFwQkj1hR8grSLC mmC8gGkK1vMFqFHIEPh+aAapLZtJPQdFi7N+iRi/eiZXStoJAbsnI2jo4303MTZ2SOw== 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=QcppkRYX; 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 D5314606A503 for ; Fri, 20 Nov 2026 06:01:08 +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=QcppkRYX Received: by smtp.kernel.org (Postfix) with ESMTPSA id 30A8C1F000C6; Fri, 20 Nov 2026 06:01:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795154468; bh=yHKn1gY8L97yjtAaBrROnxFDLqKrpRp4/vETtstlEtw=; h=From:To:Cc:Subject:Date:Reply-To; b=QcppkRYXJ2OfGZrTp5mehAbs4D+4/LDcp3iSNhiQFFZ4qG+299eoSWWPbzon6VCQe A/TOABDZYB1W//xm6uEX5nv9P5HIhEoXQb/bbo9BP7LMQY1ksHY6E079CNSFTsQnJ5 MvQD3DHbaR1lGrtPEyKf8FcqYUajBojKJ8R3KiQA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99717: hwmon: (pmbus/q54sj108a2) Add missing NULL pointer check Date: Fri, 20 Nov 2026 06:51:43 +0100 Message-ID: <2026112008-CVE-2026-99717-05b1@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=3342; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=IF/lkVMnN+OIQlDGkRA/yFLPbPVAHbXLJD/XySLbB1Y=; b=owGbwMvMwCRo6H6F97bub03G02pJDFn/709g+fF3U6zwrft6kx62Nyd+/bK8Q/BQk+nl46lSL lN0fymt64hlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJ8JYyzNO47BeqO/srz4s1 hsU56RavbKyOnGCYH/rCPu2af5aoVvEbE7G/qT9PBrC3AAA= 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: (pmbus/q54sj108a2) Add missing NULL pointer check When CONFIG_DEBUG_FS is enabled and per-client PMBus debugfs directory creation fails during pmbus_do_probe(), q54sj108a2_probe() passes the NULL pointer returned by pmbus_get_debugfs_dir() to debugfs_create_dir() without validation, creating its debugfs directory at the debugfs root instead of under the client directory. If pmbus_init_debugfs() fails to create the client directory, data->debugfs is left as NULL or an ERR_PTR, which pmbus_get_debugfs_dir() converts to NULL. Passing a NULL parent to debugfs_create_dir() places q54sj108a2_dir in the root of the debugfs filesystem and populates it with attribute files whose private data pointers reference psu->debugfs_entries. Because this root-level directory is outside the client debugfs hierarchy, PMBus core cleanup does not remove it on device unbind, leaking the debugfs entries and causing a use-after-free of the devm-allocated struct q54sj108a2_data if the orphaned files are accessed via q54sj108a2_debugfs_read() or q54sj108a2_debugfs_write() after device removal. Fix the problem by adding the missing NULL pointer check. The Linux kernel CVE team has assigned CVE-2026-99717 to this issue. Affected and fixed versions =========================== Issue introduced in 5.11 with commit d014538aa38561cd24c5eb228223585f26c5ec71 and fixed in 6.12.118 with commit d221b9a6e2328f52c8a3136276efbb1df9272650 Issue introduced in 5.11 with commit d014538aa38561cd24c5eb228223585f26c5ec71 and fixed in 6.18.64 with commit e051c87d9333b10a93fb50d6a46ab63ec64e4c98 Issue introduced in 5.11 with commit d014538aa38561cd24c5eb228223585f26c5ec71 and fixed in 7.3.5 with commit 73b425e6df23db056873eecce70c3f06db06ca16 Issue introduced in 5.11 with commit d014538aa38561cd24c5eb228223585f26c5ec71 and fixed in 7.4-rc2 with commit a5802c587da97a4ff85c04aad6043fa26640fc9b 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-99717 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/pmbus/q54sj108a2.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/d221b9a6e2328f52c8a3136276efbb1df9272650 https://git.kernel.org/stable/c/e051c87d9333b10a93fb50d6a46ab63ec64e4c98 https://git.kernel.org/stable/c/73b425e6df23db056873eecce70c3f06db06ca16 https://git.kernel.org/stable/c/a5802c587da97a4ff85c04aad6043fa26640fc9b