[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025041613-CVE-2025-22078-b7ce@gregkh>
Date: Wed, 16 Apr 2025 16:12:49 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.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-rc1 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
Powered by blists - more mailing lists