# CVE-2022-50383: media: mediatek: vcodec: Can't set dst buffer to done when lat decode error

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `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.16%, higher than 5% of CVEs (2026-12-01)
- Published: 2025-09-18T13:33:04.969Z
- Modified: 2026-06-17T05:23:23.737Z
- Weaknesses: CWE-476
- 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: mediatek: vcodec: Can't set dst buffer to done when lat decode error

Core thread will call v4l2_m2m_buf_done to set dst buffer done for
lat architecture. If lat call v4l2_m2m_buf_done_and_job_finish to
free dst buffer when lat decode error, core thread will access kernel
NULL pointer dereference, then crash.

(As written by CVE List.)

## Affected

- Linux Linux: from 7b182b8d9c852343fb34923a2d1b4e61421b37c7 before eeb090420f3477eb5011586709409fc655c2b16c; from 7b182b8d9c852343fb34923a2d1b4e61421b37c7 before 66d26ed30056e7d2da3e9c14125ffe6049a4f907; from 7b182b8d9c852343fb34923a2d1b4e61421b37c7 before 3568ecd3f3a6d133ab7feffbba34955c8c79bbc4; 5.19 (not affected: before 5.19; from 6.0.16 up to 6.0.*; from 6.1.2 up to 6.1.*; from 6.2 up to *)
- linux linux_kernel: from 5.16 before 6.0.16; from 6.1 before 6.1.2

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/eeb090420f3477eb5011586709409fc655c2b16c> (patch)
- <https://git.kernel.org/stable/c/66d26ed30056e7d2da3e9c14125ffe6049a4f907> (patch)
- <https://git.kernel.org/stable/c/3568ecd3f3a6d133ab7feffbba34955c8c79bbc4> (patch)

## Sources

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

---

Page: https://cve.day/CVE-2022-50383 · Whole record: https://cve.day/CVE-2022-50383.json · Rebuilt by cve.day 2026-11-25T22:58:21.191Z
