# CVE-2022-50049: ASoC: DPCM: Don't pick up BE without substream

- 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.20%, higher than 10% of CVEs (2026-12-01)
- Published: 2025-06-18T11:01:49.810Z
- Modified: 2026-06-17T05:22:38.423Z
- Weaknesses: CWE-476
- Assigned by: Linux

## Description

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

ASoC: DPCM: Don't pick up BE without substream

When DPCM tries to add valid BE connections at dpcm_add_paths(), it
doesn't check whether the picked BE actually supports for the given
stream direction.  Due to that, when an asymmetric BE stream is
present, it picks up wrongly and this may result in a NULL dereference
at a later point where the code assumes the existence of a
corresponding BE substream.

This patch adds the check for the presence of the substream for the
target BE for avoiding the problem above.

Note that we have already some fix for non-existing BE substream at
commit 6246f283d5e0 ("ASoC: dpcm: skip missing substream while
applying symmetry").  But the code path we've hit recently is rather
happening before the previous fix.  So this patch tries to fix at
picking up a BE instead of parsing BE lists.

(As written by CVE List.)

## Affected

- Linux Linux: from c474bb800000d1a93624f6d060e2bba16edf6820 before aa803e6ecac78e93b24ebefa17c207d6392d8ad4; from bbf7d3b1c4f40eb02dd1dffb500ba00b0bff0303 before 6a840e8ef6b6c56d1b7e6a555adc31135e517875; from bbf7d3b1c4f40eb02dd1dffb500ba00b0bff0303 before 754590651ccbbcc74a7c20907be4bb15d642bde3; 5.17 (not affected: before 5.17; from 5.19.4 up to 5.19.*; from 6.0 up to *)
- linux linux_kernel: from 5.17 before 5.19.4; 6.0

## References

- <https://git.kernel.org/stable/c/aa803e6ecac78e93b24ebefa17c207d6392d8ad4> (patch)
- <https://git.kernel.org/stable/c/6a840e8ef6b6c56d1b7e6a555adc31135e517875> (patch)
- <https://git.kernel.org/stable/c/754590651ccbbcc74a7c20907be4bb15d642bde3> (patch)

## Sources

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

---

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