CVE-2025-22027

media: streamzap: fix race between device disconnection and urb callback

4.7 medium EPSS 0.17%

Published 16 Apr 2025 Updated 11 May 2026 CNA: Linux

Check your servers for CVE-2025-22027

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-22027 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

In the Linux kernel, the following vulnerability has been resolved:

media: streamzap: fix race between device disconnection and urb callback

Syzkaller has reported a general protection fault at function ir_raw_event_store_with_filter(). This crash is caused by a NULL pointer dereference of dev->raw pointer, even though it is checked for NULL in the same function, which means there is a race condition. It occurs due to the incorrect order of actions in the streamzap_disconnect() function: rc_unregister_device() is called before usb_kill_urb(). The dev->raw pointer is freed and set to NULL in rc_unregister_device(), and only after that usb_kill_urb() waits for in-progress requests to finish.

If rc_unregister_device() is called while streamzap_callback() handler is not finished, this can lead to accessing freed resources. Thus rc_unregister_device() should be called after usb_kill_urb().

Found by Linux Verification Center (linuxtesting.org) with Syzkaller.

Severity (CVSS)

4.7 medium CVSS 3.1 from CISA (ADP)
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
high: an attack depends on conditions outside the control of the attacker, such as a race
Privileges required
low: the attacker needs an ordinary user account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality none, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.17%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 6.20% of all scored CVEs. Scores of 2 Dec 2026.

The assessment of CISA (SSVC, 1 Oct 2025):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Weakness

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 8e9e60640067858e8036d4d43bbf725c60613359, before e11652a6514ec805440c1bb3739e6c6236fffcc7
affected from 8e9e60640067858e8036d4d43bbf725c60613359, before f1d518c0bad01abe83c2df880274cb6a39f4a457
affected from 8e9e60640067858e8036d4d43bbf725c60613359, before 30ef7cfee752ca318d5902cb67b60d9797ccd378
affected from 8e9e60640067858e8036d4d43bbf725c60613359, before 15483afb930fc2f883702dc96f80efbe4055235e
affected from 8e9e60640067858e8036d4d43bbf725c60613359, before adf0ddb914c9e5b3e50da4c97959e82de2df75c3
affected from 8e9e60640067858e8036d4d43bbf725c60613359, before 4db62b60af2ccdea6ac5452fd20e29587ed85f57
affected from 8e9e60640067858e8036d4d43bbf725c60613359, before 8760da4b9d44c36b93b6e4cf401ec7fe520015bd
affected from 8e9e60640067858e8036d4d43bbf725c60613359, before f656cfbc7a293a039d6a0c7100e1c846845148c1
Other versions: unaffected
Linux
affected 2.6.36
unaffected before 2.6.36
unaffected from 5.10.237 up to and including 5.10.*
unaffected from 5.15.181 up to and including 5.15.*
unaffected from 6.1.134 up to and including 6.1.*
unaffected from 6.6.87 up to and including 6.6.*
unaffected from 6.12.23 up to and including 6.12.*
unaffected from 6.13.11 up to and including 6.13.*
unaffected from 6.14.2 up to and including 6.14.*
unaffected 6.15 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-22027 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-22027

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2025-22027
trivy image --scanners vuln IMAGE | grep CVE-2025-22027

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2025-22027 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.