CVE-2025-22027
media: streamzap: fix race between device disconnection and urb callback
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 8e9e60640067858e8036d4d43bbf725c60613359, < e11652a6514ec805440c1bb3739e6c6236fffcc7; >= 8e9e60640067858e8036d4d43bbf725c60613359, < f1d518c0bad01abe83c2df880274cb6a39f4a457; >= 8e9e60640067858e8036d4d43bbf725c60613359, < 30ef7cfee752ca318d5902cb67b60d9797ccd378; >= 8e9e60640067858e8036d4d43bbf725c60613359, < 15483afb930fc2f883702dc96f80efbe4055235e; >= 8e9e60640067858e8036d4d43bbf725c60613359, < adf0ddb914c9e5b3e50da4c97959e82de2df75c3; >= 8e9e60640067858e8036d4d43bbf725c60613359, < 4db62b60af2ccdea6ac5452fd20e29587ed85f57; >= 8e9e60640067858e8036d4d43bbf725c60613359, < 8760da4b9d44c36b93b6e4cf401ec7fe520015bd; >= 8e9e60640067858e8036d4d43bbf725c60613359, < f656cfbc7a293a039d6a0c7100e1c846845148c1
- Anyone running Linux 2.6.36
Vulnerability facts
- Affected
- Linux >= 8e9e60640067858e8036d4d43bbf725c60613359, < e11652a6514ec805440c1bb3739e6c6236fffcc7; >= 8e9e60640067858e8036d4d43bbf725c60613359, < f1d518c0bad01abe83c2df880274cb6a39f4a457; >= 8e9e60640067858e8036d4d43bbf725c60613359, < 30ef7cfee752ca318d5902cb67b60d9797ccd378; >= 8e9e60640067858e8036d4d43bbf725c60613359, < 15483afb930fc2f883702dc96f80efbe4055235e; >= 8e9e60640067858e8036d4d43bbf725c60613359, < adf0ddb914c9e5b3e50da4c97959e82de2df75c3; >= 8e9e60640067858e8036d4d43bbf725c60613359, < 4db62b60af2ccdea6ac5452fd20e29587ed85f57; >= 8e9e60640067858e8036d4d43bbf725c60613359, < 8760da4b9d44c36b93b6e4cf401ec7fe520015bd; >= 8e9e60640067858e8036d4d43bbf725c60613359, < f656cfbc7a293a039d6a0c7100e1c846845148c1; Linux 2.6.36
- Fixed in
- Linux 30ef7cfee752ca318d5902cb67b60d9797ccd378, Linux 15483afb930fc2f883702dc96f80efbe4055235e, Linux 4db62b60af2ccdea6ac5452fd20e29587ed85f57, Linux 8760da4b9d44c36b93b6e4cf401ec7fe520015bd
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 4.7 (v3.1, CNA)CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: High
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.20% chance of exploitation in 30 days (percentile 6, 2026-11-30)
- CWE
- CWE-362, CWE-476
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 8e9e60640067858e8036d4d43bbf725c60613359, < e11652a6514ec805440c1bb3739e6c6236fffcc7; >= 8e9e60640067858e8036d4d43bbf725c60613359, < f1d518c0bad01abe83c2df880274cb6a39f4a457; >= 8e9e60640067858e8036d4d43bbf725c60613359, < 30ef7cfee752ca318d5902cb67b60d9797ccd378; >= 8e9e60640067858e8036d4d43bbf725c60613359, < 15483afb930fc2f883702dc96f80efbe4055235e; >= 8e9e60640067858e8036d4d43bbf725c60613359, < adf0ddb914c9e5b3e50da4c97959e82de2df75c3; >= 8e9e60640067858e8036d4d43bbf725c60613359, < 4db62b60af2ccdea6ac5452fd20e29587ed85f57; >= 8e9e60640067858e8036d4d43bbf725c60613359, < 8760da4b9d44c36b93b6e4cf401ec7fe520015bd; >= 8e9e60640067858e8036d4d43bbf725c60613359, < f656cfbc7a293a039d6a0c7100e1c846845148c1 | — | cvelist |
| Linux | 2.6.36 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-22027. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-22027.md Affected: Linux >= 8e9e60640067858e8036d4d43bbf725c60613359, < e11652a6514ec805440c1bb3739e6c6236fffcc7; >= 8e9e60640067858e8036d4d43bbf725c60613359, < f1d518c0bad01abe83c2df880274cb6a39f4a457; >= 8e9e60640067858e8036d4d43bbf725c60613359, < 30ef7cfee752ca318d5902cb67b60d9797ccd378; >= 8e9e60640067858e8036d4d… Fixed in: Linux 30ef7cfee752ca318d5902cb67b60d9797ccd378, Linux 15483afb930fc2f883702dc96f80efbe4055235e, Linux 4db62b60af2ccdea6ac5452fd20e29587ed85f57, Linux 8760da4b9d44c36b93b6e4cf401ec7fe520015bd Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/e11652a6514ec805440c1bb3739e6c6236fffcc7
- https://git.kernel.org/stable/c/f1d518c0bad01abe83c2df880274cb6a39f4a457
- https://git.kernel.org/stable/c/30ef7cfee752ca318d5902cb67b60d9797ccd378
- https://git.kernel.org/stable/c/15483afb930fc2f883702dc96f80efbe4055235e
- https://git.kernel.org/stable/c/adf0ddb914c9e5b3e50da4c97959e82de2df75c3
- https://git.kernel.org/stable/c/4db62b60af2ccdea6ac5452fd20e29587ed85f57
- https://git.kernel.org/stable/c/8760da4b9d44c36b93b6e4cf401ec7fe520015bd
- https://git.kernel.org/stable/c/f656cfbc7a293a039d6a0c7100e1c846845148c1
FAQ
Is CVE-2025-22027 being exploited?
There is no confirmed exploitation: CVE-2025-22027 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.20% chance of exploitation in the next 30 days (as of 2026-11-30).
How serious is CVE-2025-22027?
Medium: CVSS 4.7 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2025-22027?
Linux >= 8e9e60640067858e8036d4d43bbf725c60613359, < e11652a6514ec805440c1bb3739e6c6236fffcc7; >= 8e9e60640067858e8036d4d43bbf725c60613359, < f1d518c0bad01abe83c2df880274cb6a39f4a457; >= 8e9e60640067858e8036d4d43bbf725c60613359, < 30ef7cfee752ca318d5902cb67b60d9797ccd378; >= 8e9e60640067858e8036d4d43bbf725c60613359, < 15483afb930fc2f883702dc96f80efbe4055235e; >= 8e9e60640067858e8036d4d43bbf725c60613359, < adf0ddb914c9e5b3e50da4c97959e82de2df75c3; >= 8e9e60640067858e8036d4d43bbf725c60613359, < 4db62b60af2ccdea6ac5452fd20e29587ed85f57; >= 8e9e60640067858e8036d4d43bbf725c60613359, < 8760da4b9d44c36b93b6e4cf401ec7fe520015bd; >= 8e9e60640067858e8036d4d43bbf725c60613359, < f656cfbc7a293a039d6a0c7100e1c846845148c1; Linux 2.6.36.
Is there a fix for CVE-2025-22027?
Yes. Fixed in Linux 30ef7cfee752ca318d5902cb67b60d9797ccd378, Linux 15483afb930fc2f883702dc96f80efbe4055235e, Linux 4db62b60af2ccdea6ac5452fd20e29587ed85f57, Linux 8760da4b9d44c36b93b6e4cf401ec7fe520015bd. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2025-22027?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.