# CVE-2025-38227: media: vidtv: Terminating the subsequent process of initialization failure

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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; 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-416
- **Published:** 2025-07-04T13:37:41.922Z
- **Modified:** 2026-08-05T12:00:30.091Z

## Who should check

- Anyone running Linux \>= 3be8037960bccd13052cfdeba8805ad785041d70, \< e1d72ff111eceea6b28dccb7ca4e8f4900b11729; \>= 3be8037960bccd13052cfdeba8805ad785041d70, \< 7e62be1f3b241bc9faee547864bb39332955509b; \>= 3be8037960bccd13052cfdeba8805ad785041d70, \< 685c18bc5a36f823ee725e85aac1303ef5f535ba; \>= 3be8037960bccd13052cfdeba8805ad785041d70, \< 9824e1732a163e005aa84e12ec439493ebd4f097; \>= 3be8037960bccd13052cfdeba8805ad785041d70, \< 72541cae73d0809a6416bfcd2ee6473046a0013a; \>= 3be8037960bccd13052cfdeba8805ad785041d70, \< f8c2483be6e8bb6c2148315b4a924c65bb442b5e; \>= 3be8037960bccd13052cfdeba8805ad785041d70, \< 1d5f88f053480326873115092bc116b7d14916ba
- Anyone running Linux 5.10

## Description

In the Linux kernel, the following vulnerability has been resolved:

media: vidtv: Terminating the subsequent process of initialization failure

syzbot reported a slab-use-after-free Read in vidtv\_mux\_init. \[1\]

After PSI initialization fails, the si member is accessed again, resulting
in this uaf.

After si initialization fails, the subsequent process needs to be exited.

\[1\]
BUG: KASAN: slab-use-after-free in vidtv\_mux\_pid\_ctx\_init drivers/media/test-drivers/vidtv/vidtv\_mux.c:78 \[inline\]
BUG: KASAN: slab-use-after-free in vidtv\_mux\_init+0xac2/0xbe0 drivers/media/test-drivers/vidtv/vidtv\_mux.c:524
Read of size 8 at addr ffff88802fa42acc by task syz.2.37/6059

CPU: 0 UID: 0 PID: 6059 Comm: syz.2.37 Not tainted 6.14.0-rc5-syzkaller \#0
Hardware name: Google Compute Engine, BIOS Google 02/12/2025
Call Trace:
\<TASK\>
\_\_dump\_stack lib/dump\_stack.c:94 \[inline\]
dump\_stack\_lvl+0x116/0x1f0 lib/dump\_stack.c:120
print\_address\_description mm/kasan/report.c:408 \[inline\]
print\_report+0xc3/0x670 mm/kasan/report.c:521
kasan\_report+0xd9/0x110 mm/kasan/report.c:634
vidtv\_mux\_pid\_ctx\_init drivers/media/test-drivers/vidtv/vidtv\_mux.c:78
vidtv\_mux\_init+0xac2/0xbe0 drivers/media/test-drivers/vidtv/vidtv\_mux.c:524
vidtv\_start\_streaming drivers/media/test-drivers/vidtv/vidtv\_bridge.c:194
vidtv\_start\_feed drivers/media/test-drivers/vidtv/vidtv\_bridge.c:239
dmx\_section\_feed\_start\_filtering drivers/media/dvb-core/dvb\_demux.c:973
dvb\_dmxdev\_feed\_start drivers/media/dvb-core/dmxdev.c:508 \[inline\]
dvb\_dmxdev\_feed\_restart.isra.0 drivers/media/dvb-core/dmxdev.c:537
dvb\_dmxdev\_filter\_stop+0x2b4/0x3a0 drivers/media/dvb-core/dmxdev.c:564
dvb\_dmxdev\_filter\_free drivers/media/dvb-core/dmxdev.c:840 \[inline\]
dvb\_demux\_release+0x92/0x550 drivers/media/dvb-core/dmxdev.c:1246
\_\_fput+0x3ff/0xb70 fs/file\_table.c:464
task\_work\_run+0x14e/0x250 kernel/task\_work.c:227
exit\_task\_work include/linux/task\_work.h:40 \[inline\]
do\_exit+0xad8/0x2d70 kernel/exit.c:938
do\_group\_exit+0xd3/0x2a0 kernel/exit.c:1087
\_\_do\_sys\_exit\_group kernel/exit.c:1098 \[inline\]
\_\_se\_sys\_exit\_group kernel/exit.c:1096 \[inline\]
\_\_x64\_sys\_exit\_group+0x3e/0x50 kernel/exit.c:1096
x64\_sys\_call+0x151f/0x1720 arch/x86/include/generated/asm/syscalls\_64.h:232
do\_syscall\_x64 arch/x86/entry/common.c:52 \[inline\]
do\_syscall\_64+0xcd/0x250 arch/x86/entry/common.c:83
entry\_SYSCALL\_64\_after\_hwframe+0x77/0x7f
RIP: 0033:0x7f871d58d169
Code: Unable to access opcode bytes at 0x7f871d58d13f.
RSP: 002b:00007fff4b19a788 EFLAGS: 00000246 ORIG\_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f871d58d169
RDX: 0000000000000064 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 00007fff4b19a7ec R08: 0000000b4b19a87f R09: 00000000000927c0
R10: 0000000000000001 R11: 0000000000000246 R12: 0000000000000003
R13: 00000000000927c0 R14: 000000000001d553 R15: 00007fff4b19a840
 \</TASK\>

Allocated by task 6059:
 kasan\_save\_stack+0x33/0x60 mm/kasan/common.c:47
 kasan\_save\_track+0x14/0x30 mm/kasan/common.c:68
 poison\_kmalloc\_redzone mm/kasan/common.c:377 \[inline\]
 \_\_kasan\_kmalloc+0xaa/0xb0 mm/kasan/common.c:394
 kmalloc\_noprof include/linux/slab.h:901 \[inline\]
 kzalloc\_noprof include/linux/slab.h:1037 \[inline\]
 vidtv\_psi\_pat\_table\_init drivers/media/test-drivers/vidtv/vidtv\_psi.c:970
 vidtv\_channel\_si\_init drivers/media/test-drivers/vidtv/vidtv\_channel.c:423
 vidtv\_mux\_init drivers/media/test-drivers/vidtv/vidtv\_mux.c:519
 vidtv\_start\_streaming drivers/media/test-drivers/vidtv/vidtv\_bridge.c:194
 vidtv\_start\_feed drivers/media/test-drivers/vidtv/vidtv\_bridge.c:239
 dmx\_section\_feed\_start\_filtering drivers/media/dvb-core/dvb\_demux.c:973
 dvb\_dmxdev\_feed\_start drivers/media/dvb-core/dmxdev.c:508 \[inline\]
 dvb\_dmxdev\_feed\_restart.isra.0 drivers/media/dvb-core/dmxdev.c:537
 dvb\_dmxdev\_filter\_stop+0x2b4/0x3a0 drivers/media/dvb-core/dmxdev.c:564
 dvb\_dmxdev\_filter\_free drivers/media/dvb-core/dmxdev.c:840 \[inline\]
 dvb\_demux\_release+0x92/0x550 drivers/media/dvb-core/dmxdev.c:1246
 \_\_fput+0x3ff/0xb70 fs/file\_tabl
---truncated---

## Affected and fixed versions

- Linux: \>= 3be8037960bccd13052cfdeba8805ad785041d70, \< e1d72ff111eceea6b28dccb7ca4e8f4900b11729; \>= 3be8037960bccd13052cfdeba8805ad785041d70, \< 7e62be1f3b241bc9faee547864bb39332955509b; \>= 3be8037960bccd13052cfdeba8805ad785041d70, \< 685c18bc5a36f823ee725e85aac1303ef5f535ba; \>= 3be8037960bccd13052cfdeba8805ad785041d70, \< 9824e1732a163e005aa84e12ec439493ebd4f097; \>= 3be8037960bccd13052cfdeba8805ad785041d70, \< 72541cae73d0809a6416bfcd2ee6473046a0013a; \>= 3be8037960bccd13052cfdeba8805ad785041d70, \< f8c2483be6e8bb6c2148315b4a924c65bb442b5e; \>= 3be8037960bccd13052cfdeba8805ad785041d70, \< 1d5f88f053480326873115092bc116b7d14916ba (cvelist)
- Linux: 5.10 (cvelist)

## Mitigation

- Upgrade Linux to 1d5f88f053480326873115092bc116b7d14916ba 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-38227. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-38227.md
Affected: Linux >= 3be8037960bccd13052cfdeba8805ad785041d70, < e1d72ff111eceea6b28dccb7ca4e8f4900b11729; >= 3be8037960bccd13052cfdeba8805ad785041d70, < 7e62be1f3b241bc9faee547864bb39332955509b; >= 3be8037960bccd13052cfdeba8805ad785041d70, < 685c18bc5a36f823ee725e85aac1303ef5f535ba; >= 3be8037960bccd13052cfde…
Fixed in: Linux 7e62be1f3b241bc9faee547864bb39332955509b, Linux 685c18bc5a36f823ee725e85aac1303ef5f535ba, Linux 9824e1732a163e005aa84e12ec439493ebd4f097, Linux 72541cae73d0809a6416bfcd2ee6473046a0013a, Linux 1d5f88f053480326873115092bc116b7d14916ba

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-38227 being exploited?

There is no confirmed exploitation: CVE-2025-38227 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-38227?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= 3be8037960bccd13052cfdeba8805ad785041d70, \< e1d72ff111eceea6b28dccb7ca4e8f4900b11729; \>= 3be8037960bccd13052cfdeba8805ad785041d70, \< 7e62be1f3b241bc9faee547864bb39332955509b; \>= 3be8037960bccd13052cfdeba8805ad785041d70, \< 685c18bc5a36f823ee725e85aac1303ef5f535ba; \>= 3be8037960bccd13052cfdeba8805ad785041d70, \< 9824e1732a163e005aa84e12ec439493ebd4f097; \>= 3be8037960bccd13052cfdeba8805ad785041d70, \< 72541cae73d0809a6416bfcd2ee6473046a0013a; \>= 3be8037960bccd13052cfdeba8805ad785041d70, \< f8c2483be6e8bb6c2148315b4a924c65bb442b5e; \>= 3be8037960bccd13052cfdeba8805ad785041d70, \< 1d5f88f053480326873115092bc116b7d14916ba; Linux 5.10.

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

Yes. Fixed in Linux 7e62be1f3b241bc9faee547864bb39332955509b, Linux 685c18bc5a36f823ee725e85aac1303ef5f535ba, Linux 9824e1732a163e005aa84e12ec439493ebd4f097, Linux 72541cae73d0809a6416bfcd2ee6473046a0013a, Linux 1d5f88f053480326873115092bc116b7d14916ba. Upgrade Linux to 1d5f88f053480326873115092bc116b7d14916ba or later.

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

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/e1d72ff111eceea6b28dccb7ca4e8f4900b11729>
- patch: <https://git.kernel.org/stable/c/7e62be1f3b241bc9faee547864bb39332955509b>
- patch: <https://git.kernel.org/stable/c/685c18bc5a36f823ee725e85aac1303ef5f535ba>
- patch: <https://git.kernel.org/stable/c/9824e1732a163e005aa84e12ec439493ebd4f097>
- patch: <https://git.kernel.org/stable/c/72541cae73d0809a6416bfcd2ee6473046a0013a>
- patch: <https://git.kernel.org/stable/c/f8c2483be6e8bb6c2148315b4a924c65bb442b5e>
- patch: <https://git.kernel.org/stable/c/1d5f88f053480326873115092bc116b7d14916ba>
- 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-38227>

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