CVE-2026-43223: media: pvrusb2: fix URB leak in pvr2_send_request_ex
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
media: pvrusb2: fix URB leak in pvr2_send_request_ex
When pvr2_send_request_ex() submits a write URB successfully but fails to submit the read URB (e.g. returns -ENOMEM), it returns immediately without waiting for the write URB to complete. Since the driver reuses the same URB structure, a subsequent call to pvr2_send_request_ex() attempts to submit the still-active write URB, triggering a 'URB submitted while active' warning in usb_submit_urb().
Fix this by ensuring the write URB is unlinked and waited upon if the read URB submission fails.
The Linux kernel CVE team has assigned CVE-2026-43223 to this issue.
Affected and fixed versions
===========================
Fixed in 5.10.252 with commit da524c939b1e5ba17f10db4bde4bdaf569ffcda6 Fixed in 5.15.202 with commit cf459d6ffa5e150ef3744b897f936ff24b52bd15 Fixed in 6.1.165 with commit 77a63f8efc434ddb04667ed632aade58301a2f13 Fixed in 6.6.128 with commit 4ba5c7a1aade7090172cbffd4d120bf4cf5ccbde Fixed in 6.12.75 with commit 58dd722b6c3debcddb4684fb256c90fee7f063e5 Fixed in 6.18.16 with commit 2011929f0e4cf6a0a34dd6205911b12276904453 Fixed in 6.19.6 with commit 5f3ac816861c3b8a5d1a3645b17dc3a99d668d94 Fixed in 7.0 with commit a8333c8262aed2aedf608c18edd39cf5342680a7
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-43223
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/media/usb/pvrusb2/pvrusb2-hdw.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/da524c939b1e5ba17f10db4bde4bdaf569ffcda6 https://git.kernel.org/stable/c/cf459d6ffa5e150ef3744b897f936ff24b52bd15 https://git.kernel.org/stable/c/77a63f8efc434ddb04667ed632aade58301a2f13 https://git.kernel.org/stable/c/4ba5c7a1aade7090172cbffd4d120bf4cf5ccbde https://git.kernel.org/stable/c/58dd722b6c3debcddb4684fb256c90fee7f063e5 https://git.kernel.org/stable/c/2011929f0e4cf6a0a34dd6205911b12276904453 https://git.kernel.org/stable/c/5f3ac816861c3b8a5d1a3645b17dc3a99d668d94 https://git.kernel.org/stable/c/a8333c8262aed2aedf608c18edd39cf5342680a7