| From bippy-1.2.0 Mon Sep 17 00:00:00 2001 |
| From: Greg Kroah-Hartman <gregkh@kernel.org> |
| To: <linux-cve-announce@vger.kernel.org> |
| Reply-to: <cve@kernel.org>, <linux-kernel@vger.kernel.org> |
| Subject: CVE-2025-22078: staging: vchiq_arm: Fix possible NPR of keep-alive thread |
| |
| Description |
| =========== |
| |
| In the Linux kernel, the following vulnerability has been resolved: |
| |
| staging: vchiq_arm: Fix possible NPR of keep-alive thread |
| |
| In case vchiq_platform_conn_state_changed() is never called or fails before |
| driver removal, ka_thread won't be a valid pointer to a task_struct. So |
| do the necessary checks before calling kthread_stop to avoid a crash. |
| |
| The Linux kernel CVE team has assigned CVE-2025-22078 to this issue. |
| |
| |
| Affected and fixed versions |
| =========================== |
| |
| Issue introduced in 6.11 with commit 863a756aaf49ed23d25bbb1dad999a85f09e1836 and fixed in 6.12.23 with commit 1817c4b85011998604e5ff9a80a6e01adb7e7e81 |
| Issue introduced in 6.11 with commit 863a756aaf49ed23d25bbb1dad999a85f09e1836 and fixed in 6.13.11 with commit a915c896f95a989a7759a73f8c064f5dc3775175 |
| Issue introduced in 6.11 with commit 863a756aaf49ed23d25bbb1dad999a85f09e1836 and fixed in 6.14.2 with commit bd38395b901327f77a82112f006240de22cf2ceb |
| Issue introduced in 6.11 with commit 863a756aaf49ed23d25bbb1dad999a85f09e1836 and fixed in 6.15 with commit 3db89bc6d973e2bcaa852f6409c98c228f39a926 |
| |
| 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-22078 |
| 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/staging/vc04_services/interface/vchiq_arm/vchiq_arm.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/1817c4b85011998604e5ff9a80a6e01adb7e7e81 |
| https://git.kernel.org/stable/c/a915c896f95a989a7759a73f8c064f5dc3775175 |
| https://git.kernel.org/stable/c/bd38395b901327f77a82112f006240de22cf2ceb |
| https://git.kernel.org/stable/c/3db89bc6d973e2bcaa852f6409c98c228f39a926 |