CVE-2025-22027 json
media: streamzap: fix race between device disconnection and urb callback
published last yr. modified 4mo ago also EUVD-2025-11265
- cvss
- 4.7
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 5%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Linux Linux 5.10.237, 5.15.181, 6.1.134, 6.6.87, 6.12.23, 6.13.11, 6.14.2, 6.15
- linux Debian 12 6.1.135-1
- linux Debian 14, Debian 13 6.12.25-1
debian advisories DEBIAN-CVE-2025-22027
- linux Ubuntu 22.04 LTS 5.15.0-144.157
- linux Ubuntu 24.04 LTS 6.8.0-86.87
- linux-aws Ubuntu 22.04 LTS 5.15.0-1088.95
- linux-aws Ubuntu 24.04 LTS 6.8.0-1041.43
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1087.96
- linux-gcp Ubuntu 24.04 LTS 6.8.0-1042.45
- linux-gke Ubuntu 22.04 LTS 5.15.0-1085.91
- linux-gke Ubuntu 24.04 LTS 6.8.0-1038.43
ubuntu advisories UBUNTU-CVE-2025-22027
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel-rt Real Time Module 15 SP7 6.4.0-150700.7.3.1
- kernel-syms-rt Real Time Module 15 SP7 6.4.0-150700.7.3.1
- kernel-rt_debug Real Time Module 15 SP7 6.4.0-150700.7.3.1
- kernel-source-rt Real Time Module 15 SP7 6.4.0-150700.7.3.1
- kernel-azure SLE Module for Public Cloud 15 SP7 6.4.0-150700.20.3.1
- kernel-syms-azure SLE Module for Public Cloud 15 SP7 6.4.0-150700.20.3.1
- kernel-source-azure SLE Module for Public Cloud 15 SP7 6.4.0-150700.20.3.1
- kernel-rt Real Time Module 15 SP6, openSUSE Leap 15.6 6.4.0-150600.10.39.1
suse advisories SUSE-SU-2025:01983-1SUSE-SU-2025:01972-1SUSE-SU-2025:01967-1SUSE-SU-2025:01964-1SUSE-SU-2025:01951-1SUSE-SU-2025:01919-1
- git.kernel.org/stable/c/e11652a6514ec805440c1bb3739e6c6236fffcc7 commit
- git.kernel.org/stable/c/f1d518c0bad01abe83c2df880274cb6a39f4a457 commit
- git.kernel.org/stable/c/30ef7cfee752ca318d5902cb67b60d9797ccd378 commit
- git.kernel.org/stable/c/15483afb930fc2f883702dc96f80efbe4055235e commit
- git.kernel.org/stable/c/adf0ddb914c9e5b3e50da4c97959e82de2df75c3 commit
- git.kernel.org/stable/c/4db62b60af2ccdea6ac5452fd20e29587ed85f57 commit
- git.kernel.org/stable/c/8760da4b9d44c36b93b6e4cf401ec7fe520015bd commit
- git.kernel.org/stable/c/f656cfbc7a293a039d6a0c7100e1c846845148c1 commit
Is CVE-2025-22027 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-22027 updated cvss 4.7
kernel: media: streamzap: fix race between device disconnection and urb callback
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 moreaffected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 more Red Hat Enterprise Linux 10 kernelnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- last yr.
Exploit prediction
0.17% chance of exploitation in the next 30 days, higher than 5% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 4.7 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 4.7 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H |
| CNA | 3.1 | 4.7 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected products
- Linux Linux
Classification
- Weakness
- Technology feeds
References
-
git.kernel.org
/stable/c/e11652a6514ec805440c1bb3739e6c6236fffcc7
patch
-
git.kernel.org
/stable/c/f1d518c0bad01abe83c2df880274cb6a39f4a457
patch
-
git.kernel.org
/stable/c/30ef7cfee752ca318d5902cb67b60d9797ccd378
patch
-
git.kernel.org
/stable/c/15483afb930fc2f883702dc96f80efbe4055235e
patch
-
git.kernel.org
/stable/c/adf0ddb914c9e5b3e50da4c97959e82de2df75c3
patch
-
git.kernel.org
/stable/c/4db62b60af2ccdea6ac5452fd20e29587ed85f57
patch
-
git.kernel.org
/stable/c/8760da4b9d44c36b93b6e4cf401ec7fe520015bd
patch
-
git.kernel.org
/stable/c/f656cfbc7a293a039d6a0c7100e1c846845148c1
patch
- lists.debian.org /debian-lts-announce/2025/05/msg00045.html
- lists.debian.org /debian-lts-announce/2025/05/msg00030.html
Sources
- CVE List CVE-2025-22027
- NVD CVE-2025-22027
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.