CVE-2025-38229

media: cxusb: no longer judge rbuf when the write fails

MEDIUM
5.5
CVSS Score
Published: July 4, 2025 at 01:37 PM UTC
Updated: June 17, 2026 at 09:16 AM UTC
2 products affected across 2 vendorsLinux KernelDebian Linux

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%

Description

In the Linux kernel, the following vulnerability has been resolved: media: cxusb: no longer judge rbuf when the write fails syzbot reported a uninit-value in cxusb_i2c_xfer. [1] Only when the write operation of usb_bulk_msg() in dvb_usb_generic_rw() succeeds and rlen is greater than 0, the read operation of usb_bulk_msg() will be executed to read rlen bytes of data from the dvb device into the rbuf. In this case, although rlen is 1, the write operation failed which resulted in the dvb read operation not being executed, and ultimately variable i was not initialized. [1] BUG: KMSAN: uninit-value in cxusb_gpio_tuner drivers/media/usb/dvb-usb/cxusb.c:124 [inline] BUG: KMSAN: uninit-value in cxusb_i2c_xfer+0x153a/0x1a60 drivers/media/usb/dvb-usb/cxusb.c:196 cxusb_gpio_tuner drivers/media/usb/dvb-usb/cxusb.c:124 [inline] cxusb_i2c_xfer+0x153a/0x1a60 drivers/media/usb/dvb-usb/cxusb.c:196 __i2c_transfer+0xe25/0x3150 drivers/i2c/i2c-core-base.c:-1 i2c_transfer+0x317/0x4a0 drivers/i2c/i2c-core-base.c:2315 i2c_transfer_buffer_flags+0x125/0x1e0 drivers/i2c/i2c-core-base.c:2343 i2c_master_send include/linux/i2c.h:109 [inline] i2cdev_write+0x210/0x280 drivers/i2c/i2c-dev.c:183 do_loop_readv_writev fs/read_write.c:848 [inline] vfs_writev+0x963/0x14e0 fs/read_write.c:1057 do_writev+0x247/0x5c0 fs/read_write.c:1101 __do_sys_writev fs/read_write.c:1169 [inline] __se_sys_writev fs/read_write.c:1166 [inline] __x64_sys_writev+0x98/0xe0 fs/read_write.c:1166 x64_sys_call+0x2229/0x3c80 arch/x86/include/generated/asm/syscalls_64.h:21 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0x1e0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

2.6.13 ≤ v < 5.10.2392.6.13 ≤ v < 5.15.1862.6.13 ≤ v < 5.4.2962.6.13 ≤ v < 6.1.1422.6.13 ≤ v < 6.12.352.6.13 ≤ v < 6.15.42.6.13 ≤ v < 6.162.6.13 ≤ v < 6.6.952.6.14 ≤ v < 5.4.2965.11 ≤ v < 5.15.1865.16 ≤ v < 6.1.1425.5 ≤ v < 5.10.2396.13 ≤ v < 6.15.46.2 ≤ v < 6.6.956.7 ≤ v < 6.12.352.6.132.6.13 rc32.6.13 rc42.6.13 rc52.6.13 rc62.6.13 rc722c6d93a73105fddd58796d7cb10f5f90ee2a338
Vendor states this is fixed in 04354c529c8246a38ae28f713fd6bfdc028113bc (fixed)
Vendor states this is fixed in 390b864e3281802109dfe56e508396683e125653 (fixed)
Vendor states this is fixed in 41807a5f67420464ac8ee7741504f6b5decb3b7c (fixed)
Vendor states this is fixed in 73fb3b92da84637e3817580fa205d48065924e15 (fixed)
Vendor states this is fixed in 77829a5f5a74026b888b0529628475b29750cef4 (fixed)
Vendor states this is fixed in 84eca597baa346f09b30accdaeca10ced3eeba2d (fixed)
Vendor states this is fixed in 8b35b50b7e98d8e9a0a27257c8424448afae10de (fixed)
Vendor states this is fixed in 9bff888c92f5c25effbb876d22a793c2388c1ccc (fixed)
Vendor states this is fixed in 2.6.13 (unaffected)
Vendor states this is fixed in 5.10.239 (unaffected)
Vendor states this is fixed in 5.15.186 (unaffected)
Vendor states this is fixed in 5.4.296 (unaffected)
Vendor states this is fixed in 6.1.142 (unaffected)
Vendor states this is fixed in 6.12.35 (unaffected)
Vendor states this is fixed in 6.15.4 (unaffected)
Vendor states this is fixed in 6.16 (unaffected)
Vendor states this is fixed in 6.6.95 (unaffected)

References (10)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/04354c529c8246a38ae28f713fd6bfdc028113bc
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/390b864e3281802109dfe56e508396683e125653
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/41807a5f67420464ac8ee7741504f6b5decb3b7c
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/73fb3b92da84637e3817580fa205d48065924e15
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/77829a5f5a74026b888b0529628475b29750cef4
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/84eca597baa346f09b30accdaeca10ced3eeba2d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/8b35b50b7e98d8e9a0a27257c8424448afae10de
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/9bff888c92f5c25effbb876d22a793c2388c1ccc

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-908

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card