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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.30% (percentile 15, 2026-11-26)
- **CWE:** CWE-908
- **Published:** 2025-07-04T13:37:43.321Z
- **Modified:** 2026-11-05T21:18:22.500Z

## Who should check

- Anyone running Linux \>= 22c6d93a73105fddd58796d7cb10f5f90ee2a338, \< 77829a5f5a74026b888b0529628475b29750cef4; \>= 22c6d93a73105fddd58796d7cb10f5f90ee2a338, \< 390b864e3281802109dfe56e508396683e125653; \>= 22c6d93a73105fddd58796d7cb10f5f90ee2a338, \< 41807a5f67420464ac8ee7741504f6b5decb3b7c; \>= 22c6d93a73105fddd58796d7cb10f5f90ee2a338, \< 84eca597baa346f09b30accdaeca10ced3eeba2d; \>= 22c6d93a73105fddd58796d7cb10f5f90ee2a338, \< 04354c529c8246a38ae28f713fd6bfdc028113bc; \>= 22c6d93a73105fddd58796d7cb10f5f90ee2a338, \< 9bff888c92f5c25effbb876d22a793c2388c1ccc; \>= 22c6d93a73105fddd58796d7cb10f5f90ee2a338, \< 8b35b50b7e98d8e9a0a27257c8424448afae10de; \>= 22c6d93a73105fddd58796d7cb10f5f90ee2a338, \< 73fb3b92da84637e3817580fa205d48065924e15
- Anyone running Linux 2.6.13

## 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 and fixed versions

- Linux: \>= 22c6d93a73105fddd58796d7cb10f5f90ee2a338, \< 77829a5f5a74026b888b0529628475b29750cef4; \>= 22c6d93a73105fddd58796d7cb10f5f90ee2a338, \< 390b864e3281802109dfe56e508396683e125653; \>= 22c6d93a73105fddd58796d7cb10f5f90ee2a338, \< 41807a5f67420464ac8ee7741504f6b5decb3b7c; \>= 22c6d93a73105fddd58796d7cb10f5f90ee2a338, \< 84eca597baa346f09b30accdaeca10ced3eeba2d; \>= 22c6d93a73105fddd58796d7cb10f5f90ee2a338, \< 04354c529c8246a38ae28f713fd6bfdc028113bc; \>= 22c6d93a73105fddd58796d7cb10f5f90ee2a338, \< 9bff888c92f5c25effbb876d22a793c2388c1ccc; \>= 22c6d93a73105fddd58796d7cb10f5f90ee2a338, \< 8b35b50b7e98d8e9a0a27257c8424448afae10de; \>= 22c6d93a73105fddd58796d7cb10f5f90ee2a338, \< 73fb3b92da84637e3817580fa205d48065924e15 (cvelist)
- Linux: 2.6.13 (cvelist)

## Mitigation

- Upgrade Linux to 73fb3b92da84637e3817580fa205d48065924e15 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-38229. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-38229.md
Affected: Linux >= 22c6d93a73105fddd58796d7cb10f5f90ee2a338, < 77829a5f5a74026b888b0529628475b29750cef4; >= 22c6d93a73105fddd58796d7cb10f5f90ee2a338, < 390b864e3281802109dfe56e508396683e125653; >= 22c6d93a73105fddd58796d7cb10f5f90ee2a338, < 41807a5f67420464ac8ee7741504f6b5decb3b7c; >= 22c6d93a73105fddd58796d…
Fixed in: Linux 77829a5f5a74026b888b0529628475b29750cef4, Linux 390b864e3281802109dfe56e508396683e125653, Linux 41807a5f67420464ac8ee7741504f6b5decb3b7c, Linux 84eca597baa346f09b30accdaeca10ced3eeba2d, Linux 04354c529c8246a38ae28f713fd6bfdc028113bc, Linux 9bff888c92f5c25effbb876d22a793c2388c1ccc, Linux 8b35b…

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.
```

## FAQ

### Is CVE-2025-38229 being exploited?

There is no confirmed exploitation: CVE-2025-38229 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-38229?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2025-38229?

Linux \>= 22c6d93a73105fddd58796d7cb10f5f90ee2a338, \< 77829a5f5a74026b888b0529628475b29750cef4; \>= 22c6d93a73105fddd58796d7cb10f5f90ee2a338, \< 390b864e3281802109dfe56e508396683e125653; \>= 22c6d93a73105fddd58796d7cb10f5f90ee2a338, \< 41807a5f67420464ac8ee7741504f6b5decb3b7c; \>= 22c6d93a73105fddd58796d7cb10f5f90ee2a338, \< 84eca597baa346f09b30accdaeca10ced3eeba2d; \>= 22c6d93a73105fddd58796d7cb10f5f90ee2a338, \< 04354c529c8246a38ae28f713fd6bfdc028113bc; \>= 22c6d93a73105fddd58796d7cb10f5f90ee2a338, \< 9bff888c92f5c25effbb876d22a793c2388c1ccc; \>= 22c6d93a73105fddd58796d7cb10f5f90ee2a338, \< 8b35b50b7e98d8e9a0a27257c8424448afae10de; \>= 22c6d93a73105fddd58796d7cb10f5f90ee2a338, \< 73fb3b92da84637e3817580fa205d48065924e15; Linux 2.6.13.

### Is there a fix for CVE-2025-38229?

Yes. Fixed in Linux 77829a5f5a74026b888b0529628475b29750cef4, Linux 390b864e3281802109dfe56e508396683e125653, Linux 41807a5f67420464ac8ee7741504f6b5decb3b7c, Linux 84eca597baa346f09b30accdaeca10ced3eeba2d, Linux 04354c529c8246a38ae28f713fd6bfdc028113bc, Linux 9bff888c92f5c25effbb876d22a793c2388c1ccc, Linux 8b35b50b7e98d8e9a0a27257c8424448afae10de, Linux 73fb3b92da84637e3817580fa205d48065924e15. Upgrade Linux to 73fb3b92da84637e3817580fa205d48065924e15 or later.

### How do I check if I'm affected by CVE-2025-38229?

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.

## References

- patch: <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>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-38229>

HTML: <https://flawdb.com/CVE-2025-38229> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-38229>
