Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 B0D1E1E47C5 for ; Sun, 9 Nov 2025 04:36:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762662970; cv=none; b=Mk9uwxExZGMerjyTmEE7PjgnU24KwQ/PWS1QXlG/1zKqwmMReByN4jHS4tWK6b2AZT1OQIME7EQTRm4AJCeHmjQLrxcRAI0X3zAOuaTviZubJkLiv+Fj6VNBu192WDf/pPN5sgwEFr2lFGQUxuldN2MN3pAbedplN0YV9RzTuI4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762662970; c=relaxed/simple; bh=3Wta9wkHV0TL9I7+8aNGP0Fc5BlpSNngfaN1jDn1F+E=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=m4A65lLB496mBLbADlFnzaHo3ySpgLDYUahXlGKQU1ctRjx2Hmrziq0olAmsC9N1e2YauNlCV3k4OJTk8wTDvFWu7GX4ONzgHZIOLFXfu4GLtylpjEqHV9u3mt7489QVxADNUiaiV1fzA5B4NMjY5M5cx302IuItpkHEz1EO/p8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=vNWXN8rc; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="vNWXN8rc" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D677FC4CEF7; Sun, 9 Nov 2025 04:36:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1762662970; bh=3Wta9wkHV0TL9I7+8aNGP0Fc5BlpSNngfaN1jDn1F+E=; h=From:To:Cc:Subject:Date:Reply-to:From; b=vNWXN8rc8IzzA8GHFBQWgg7VxKLu0MXoe9mW5iDwdPsrL2BkHVDhnsvoZCESPu9MP a+/pgozdjQpyGxh8MGYhmFDgDuKiAs2HGOXrviAaQzJe1iSmcbgSk8b08KO03AWmAV qux8Mnr7DiUQMTMitvDxzGhJ+Pdwp+Sgl2MAgy2Y= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-40108: serial: qcom-geni: Fix blocked task Date: Sun, 9 Nov 2025 13:36:03 +0900 Message-ID: <2025110902-CVE-2025-40108-258f@gregkh> X-Mailer: git-send-email 2.51.2 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=3239; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=DCagjLgk73e1ys21RnsK+s2seibwPrMeF/JYH5vGW3I=; b=owGbwMvMwCRo6H6F97bub03G02pJDJkCUsazzukpc/536lR0nfhKIDu6bG936/y1QeannTxF7 I9Z79rTEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABPx3MawYFGf+x2rc4d+PvwW /azexz/PVPH/S4b5Dv939krcfa8yYeHFSKYLTxyMfVfPBgA= 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: serial: qcom-geni: Fix blocked task Revert commit 1afa70632c39 ("serial: qcom-geni: Enable PM runtime for serial driver") and its dependent commit 86fa39dd6fb7 ("serial: qcom-geni: Enable Serial on SA8255p Qualcomm platforms") because the first one causes regression - hang task on Qualcomm RB1 board (QRB2210) and unable to use serial at all during normal boot: INFO: task kworker/u16:0:12 blocked for more than 42 seconds. Not tainted 6.17.0-rc1-00004-g53e760d89498 #9 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u16:0 state:D stack:0 pid:12 tgid:12 ppid:2 task_flags:0x4208060 flags:0x00000010 Workqueue: async async_run_entry_fn Call trace: __switch_to+0xe8/0x1a0 (T) __schedule+0x290/0x7c0 schedule+0x34/0x118 rpm_resume+0x14c/0x66c rpm_resume+0x2a4/0x66c rpm_resume+0x2a4/0x66c rpm_resume+0x2a4/0x66c __pm_runtime_resume+0x50/0x9c __driver_probe_device+0x58/0x120 driver_probe_device+0x3c/0x154 __driver_attach_async_helper+0x4c/0xc0 async_run_entry_fn+0x34/0xe0 process_one_work+0x148/0x290 worker_thread+0x2c4/0x3e0 kthread+0x118/0x1c0 ret_from_fork+0x10/0x20 The issue was reported on 12th of August and was ignored by author of commits introducing issue for two weeks. Only after complaining author produced a fix which did not work, so if original commits cannot be reliably fixed for 5 weeks, they obviously are buggy and need to be dropped. The Linux kernel CVE team has assigned CVE-2025-40108 to this issue. Affected and fixed versions =========================== Issue introduced in 6.17 with commit 1afa70632c390488308d8e94e037df6895a3e1ac and fixed in 6.17.2 with commit 1e810d81769e16637bcd845ba37fbc1eba5d4bd2 Issue introduced in 6.17 with commit 1afa70632c390488308d8e94e037df6895a3e1ac and fixed in 6.18-rc1 with commit a699213d4e6ef4286348c6439837990f121e0c03 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-2025-40108 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/tty/serial/qcom_geni_serial.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/1e810d81769e16637bcd845ba37fbc1eba5d4bd2 https://git.kernel.org/stable/c/a699213d4e6ef4286348c6439837990f121e0c03