# CVE-2022-50725: media: vidtv: Fix use-after-free in vidtv\_bridge\_dvb\_init()

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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.28% (percentile 13, 2026-11-26)
- **Published:** 2025-12-24T12:22:46.939Z
- **Modified:** 2026-11-10T12:10:00.177Z

## Who should check

- Anyone running Linux \>= f90cf6079bf67988f8b1ad1ade70fc89d0080905, \< 0369af6fe33d4053899b121b32e91f870b2cf0ae; \>= f90cf6079bf67988f8b1ad1ade70fc89d0080905, \< c290aa527fd832d278c6388a3ba53a9890fbd74a; \>= f90cf6079bf67988f8b1ad1ade70fc89d0080905, \< 06398ce69571a43a8a0dd0f1bfe35d221f726a6a; \>= f90cf6079bf67988f8b1ad1ade70fc89d0080905, \< 8a204a0b4a0d105229735222c515759ea2b126c1; \>= f90cf6079bf67988f8b1ad1ade70fc89d0080905, \< ba8d9405935097e296bcf7a942c3a01df0edb865
- Anyone running Linux 5.10

## Description

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

media: vidtv: Fix use-after-free in vidtv\_bridge\_dvb\_init()

KASAN reports a use-after-free:
BUG: KASAN: use-after-free in dvb\_dmxdev\_release+0x4d5/0x5d0 \[dvb\_core\]
Call Trace:
 ...
 dvb\_dmxdev\_release+0x4d5/0x5d0 \[dvb\_core\]
 vidtv\_bridge\_probe+0x7bf/0xa40 \[dvb\_vidtv\_bridge\]
 platform\_probe+0xb6/0x170
 ...
Allocated by task 1238:
 ...
 dvb\_register\_device+0x1a7/0xa70 \[dvb\_core\]
 dvb\_dmxdev\_init+0x2af/0x4a0 \[dvb\_core\]
 vidtv\_bridge\_probe+0x766/0xa40 \[dvb\_vidtv\_bridge\]
 ...
Freed by task 1238:
 dvb\_register\_device+0x6d2/0xa70 \[dvb\_core\]
 dvb\_dmxdev\_init+0x2af/0x4a0 \[dvb\_core\]
 vidtv\_bridge\_probe+0x766/0xa40 \[dvb\_vidtv\_bridge\]
 ...

It is because the error handling in vidtv\_bridge\_dvb\_init() is wrong.

First, vidtv\_bridge\_dmx(dev)\_init() will clean themselves when fail, but
goto fail\_dmx(\_dev): calls release functions again, which causes
use-after-free.

Also, in fail\_fe, fail\_tuner\_probe and fail\_demod\_probe, j = i will cause
out-of-bound when i finished its loop (i == NUM\_FE). And the loop
releasing is wrong, although now NUM\_FE is 1 so it won't cause problem.

Fix this by correctly releasing everything.

## Affected and fixed versions

- Linux: \>= f90cf6079bf67988f8b1ad1ade70fc89d0080905, \< 0369af6fe33d4053899b121b32e91f870b2cf0ae; \>= f90cf6079bf67988f8b1ad1ade70fc89d0080905, \< c290aa527fd832d278c6388a3ba53a9890fbd74a; \>= f90cf6079bf67988f8b1ad1ade70fc89d0080905, \< 06398ce69571a43a8a0dd0f1bfe35d221f726a6a; \>= f90cf6079bf67988f8b1ad1ade70fc89d0080905, \< 8a204a0b4a0d105229735222c515759ea2b126c1; \>= f90cf6079bf67988f8b1ad1ade70fc89d0080905, \< ba8d9405935097e296bcf7a942c3a01df0edb865 (cvelist)
- Linux: 5.10 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2022-50725.md
Affected: Linux >= f90cf6079bf67988f8b1ad1ade70fc89d0080905, < 0369af6fe33d4053899b121b32e91f870b2cf0ae; >= f90cf6079bf67988f8b1ad1ade70fc89d0080905, < c290aa527fd832d278c6388a3ba53a9890fbd74a; >= f90cf6079bf67988f8b1ad1ade70fc89d0080905, < 06398ce69571a43a8a0dd0f1bfe35d221f726a6a; >= f90cf6079bf67988f8b1ad1…
Fixed in: Linux 0369af6fe33d4053899b121b32e91f870b2cf0ae, Linux 06398ce69571a43a8a0dd0f1bfe35d221f726a6a, Linux 8a204a0b4a0d105229735222c515759ea2b126c1

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-2022-50725 being exploited?

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

### How serious is CVE-2022-50725?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2022-50725?

Linux \>= f90cf6079bf67988f8b1ad1ade70fc89d0080905, \< 0369af6fe33d4053899b121b32e91f870b2cf0ae; \>= f90cf6079bf67988f8b1ad1ade70fc89d0080905, \< c290aa527fd832d278c6388a3ba53a9890fbd74a; \>= f90cf6079bf67988f8b1ad1ade70fc89d0080905, \< 06398ce69571a43a8a0dd0f1bfe35d221f726a6a; \>= f90cf6079bf67988f8b1ad1ade70fc89d0080905, \< 8a204a0b4a0d105229735222c515759ea2b126c1; \>= f90cf6079bf67988f8b1ad1ade70fc89d0080905, \< ba8d9405935097e296bcf7a942c3a01df0edb865; Linux 5.10.

### Is there a fix for CVE-2022-50725?

Yes. Fixed in Linux 0369af6fe33d4053899b121b32e91f870b2cf0ae, Linux 06398ce69571a43a8a0dd0f1bfe35d221f726a6a, Linux 8a204a0b4a0d105229735222c515759ea2b126c1. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2022-50725?

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

- other: <https://git.kernel.org/stable/c/0369af6fe33d4053899b121b32e91f870b2cf0ae>
- other: <https://git.kernel.org/stable/c/c290aa527fd832d278c6388a3ba53a9890fbd74a>
- other: <https://git.kernel.org/stable/c/06398ce69571a43a8a0dd0f1bfe35d221f726a6a>
- other: <https://git.kernel.org/stable/c/8a204a0b4a0d105229735222c515759ea2b126c1>
- other: <https://git.kernel.org/stable/c/ba8d9405935097e296bcf7a942c3a01df0edb865>

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

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