staging: vchiq_arm: Fix possible NPR of keep-alive thread
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's vchiq_arm staging driver can crash during driver removal if vchiq_platform_conn_state_changed() was never called or failed before creating a valid keep-alive thread. The input does not establish whether an attacker can trigger this condition, or whether network access, authentication, or user interaction is required.
Engineers running the Linux kernel with the vchiq_arm staging driver should check their deployments; affected versions are not specified.