# CVE-2025-38229: media: cxusb: no longer judge rbuf when the write fails

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2025-07-04T13:37:43.321Z
- Modified: 2026-11-05T21:18:22.500Z
- Weaknesses: CWE-908
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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

(As written by CVE List.)

## Affected

- Linux Linux: from 22c6d93a73105fddd58796d7cb10f5f90ee2a338 before 77829a5f5a74026b888b0529628475b29750cef4; from 22c6d93a73105fddd58796d7cb10f5f90ee2a338 before 390b864e3281802109dfe56e508396683e125653; from 22c6d93a73105fddd58796d7cb10f5f90ee2a338 before 41807a5f67420464ac8ee7741504f6b5decb3b7c; from 22c6d93a73105fddd58796d7cb10f5f90ee2a338 before 84eca597baa346f09b30accdaeca10ced3eeba2d; from 22c6d93a73105fddd58796d7cb10f5f90ee2a338 before 04354c529c8246a38ae28f713fd6bfdc028113bc; from 22c6d93a73105fddd58796d7cb10f5f90ee2a338 before 9bff888c92f5c25effbb876d22a793c2388c1ccc; from 22c6d93a73105fddd58796d7cb10f5f90ee2a338 before 8b35b50b7e98d8e9a0a27257c8424448afae10de; from 22c6d93a73105fddd58796d7cb10f5f90ee2a338 before 73fb3b92da84637e3817580fa205d48065924e15; 2.6.13 (not affected: before 2.6.13; from 5.4.296 up to 5.4.*; from 5.10.239 up to 5.10.*; from 5.15.186 up to 5.15.*; from 6.1.142 up to 6.1.*; from 6.6.95 up to 6.6.*; from 6.12.35 up to 6.12.*; from 6.15.4 up to 6.15.*; from 6.16 up to *)
- linux linux_kernel: from 2.6.14 before 5.4.296; from 5.5 before 5.10.239; from 5.11 before 5.15.186; from 5.16 before 6.1.142; from 6.2 before 6.6.95; from 6.7 before 6.12.35; from 6.13 before 6.15.4; 2.6.13
- debian debian_linux: 11.0

## References

- <https://git.kernel.org/stable/c/77829a5f5a74026b888b0529628475b29750cef4> (patch)
- <https://git.kernel.org/stable/c/390b864e3281802109dfe56e508396683e125653> (patch)
- <https://git.kernel.org/stable/c/41807a5f67420464ac8ee7741504f6b5decb3b7c> (patch)
- <https://git.kernel.org/stable/c/84eca597baa346f09b30accdaeca10ced3eeba2d> (patch)
- <https://git.kernel.org/stable/c/04354c529c8246a38ae28f713fd6bfdc028113bc> (patch)
- <https://git.kernel.org/stable/c/9bff888c92f5c25effbb876d22a793c2388c1ccc> (patch)
- <https://git.kernel.org/stable/c/8b35b50b7e98d8e9a0a27257c8424448afae10de> (patch)
- <https://git.kernel.org/stable/c/73fb3b92da84637e3817580fa205d48065924e15> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html> (mailing-list, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html> (mailing-list, third-party-advisory)

## Sources

- CVE List: [CVE-2025-38229](https://www.cve.org/CVERecord?id=CVE-2025-38229), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2025-38229](https://nvd.nist.gov/vuln/detail/CVE-2025-38229), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2025-38229 · Whole record: https://cve.day/CVE-2025-38229.json · Rebuilt by cve.day 2026-11-25T22:59:00.659Z
