CVE-2025-22027
MediumIn 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.
CVSS 3.1 score
4.7
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness type
CWE-362CVE-2025-22027 is a Race Condition vulnerability
What is Race Condition?
The product contains a code sequence that can run concurrently with other code, creating unexpected states. Learn more on MITRE CWE
Affected versions
Linux kernel versions
2.6.36
and later are affected. Fixed in
5.10.237,
5.15.181,
6.1.134,
6.6.87,
6.12.23,
6.13.11,
6.14.2,
6.15
and their respective stable series.
References
The following references provide additional information about CVE-2025-22027 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
-
-
PatchKernel patch commithttps://git.kernel.org/stable/c/15483afb930fc2f883702dc96f80efbe4055235e
-
PatchKernel patch commithttps://git.kernel.org/stable/c/30ef7cfee752ca318d5902cb67b60d9797ccd378
-
PatchKernel patch commithttps://git.kernel.org/stable/c/4db62b60af2ccdea6ac5452fd20e29587ed85f57
Frequently asked questions
-
What is CVE-2025-22027?
CVE-2025-22027 is a Medium severity Linux kernel vulnerability with a CVSS score of 4.7 out of 10 , classified as a Race Condition flaw (CWE-362) . It affects Linux kernel versions from 2.6.36 onward and has been patched in 5.10.237, 5.15.181, 6.1.134 and others. CVE-2025-22027 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2025-22027?
CVE-2025-22027 has a CVSS score of 4.7 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H. -
Is there a patch available for CVE-2025-22027?
Yes — CVE-2025-22027 has been patched. Fixed versions include 5.10.237, 5.15.181, 6.1.134 and others. If you are running Linux kernel 2.6.36 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2025-22027 actively exploited?
No — CVE-2025-22027 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.
-
What is Race Condition (CWE-362)?
The product contains a code sequence that can run concurrently with other code, creating unexpected states. View CWE-362 on MITRE CWE →