CVE-2025-22078 staging: vchiq_arm: Fix possible NPR of keep-alive thread

Medium 5.5 Published Updated

A null pointer dereference in the Linux kernel vchiq_arm driver can cause a system crash during driver removal.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2025-22078?

CVE-2025-22078 is a medium-severity vulnerability in Linux kernel, published on 16 Apr 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Which versions are affected by CVE-2025-22078?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2025-22078?

Apply the vendor's patch.

Is CVE-2025-22078 being exploited?

There is no known exploitation of CVE-2025-22078 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2025-22078, DEBIAN-CVE-2025-22078, GHSA-45jg-8873-4f8h, UBUNTU-CVE-2025-22078.

Is CVE-2025-22078 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free