# CVE-2022-48994: ALSA: seq: Fix function prototype mismatch in snd_seq_expand_var_event

- 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.24%, higher than 15% of CVEs (2026-12-01)
- Published: 2024-10-21T20:06:10.814Z
- Modified: 2026-06-17T05:16:48.127Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

ALSA: seq: Fix function prototype mismatch in snd_seq_expand_var_event

With clang's kernel control flow integrity (kCFI, CONFIG_CFI_CLANG),
indirect call targets are validated against the expected function
pointer prototype to make sure the call target is valid to help mitigate
ROP attacks. If they are not identical, there is a failure at run time,
which manifests as either a kernel panic or thread getting killed.

seq_copy_in_user() and seq_copy_in_kernel() did not have prototypes
matching snd_seq_dump_func_t. Adjust this and remove the casts. There
are not resulting binary output differences.

This was found as a result of Clang's new -Wcast-function-type-strict
flag, which is more sensitive than the simpler -Wcast-function-type,
which only checks for type width mismatches.

(As written by CVE List.)

## Affected

- Linux Linux: from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before b38486e82ecb9f3046e0184205f6b61408fc40c9; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before e385360705a0b346bdb57ce938249175d0613b8a; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 2f46e95bf344abc4e74f8158901d32a869e0adb6; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 63badfed200219ca656968725f1a43df293ac936; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 15c42ab8d43acb73e2eba361ad05822c0af0ecfa; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before fccd454129f6a0739651f7f58307cdb631fd6e89; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 13ee8fb5410b740c8dd2867d3557c7662f7dda2d; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 05530ef7cf7c7d700f6753f058999b1b5099a026; 2.6.12 (not affected: before 2.6.12; from 4.9.336 up to 4.9.*; from 4.14.302 up to 4.14.*; from 4.19.269 up to 4.19.*; from 5.4.227 up to 5.4.*; from 5.10.159 up to 5.10.*; from 5.15.83 up to 5.15.*; from 6.0.13 up to 6.0.*; from 6.1 up to *)
- linux linux_kernel: before 4.9.336; from 4.10 before 4.14.302; from 4.15 before 4.19.269; from 4.20 before 5.4.227; from 5.5 before 5.10.159; from 5.11 before 5.15.83; from 5.16 before 6.0.13; 6.1

## References

- <https://git.kernel.org/stable/c/b38486e82ecb9f3046e0184205f6b61408fc40c9> (patch)
- <https://git.kernel.org/stable/c/e385360705a0b346bdb57ce938249175d0613b8a> (patch)
- <https://git.kernel.org/stable/c/2f46e95bf344abc4e74f8158901d32a869e0adb6> (patch)
- <https://git.kernel.org/stable/c/63badfed200219ca656968725f1a43df293ac936> (patch)
- <https://git.kernel.org/stable/c/15c42ab8d43acb73e2eba361ad05822c0af0ecfa> (patch)
- <https://git.kernel.org/stable/c/fccd454129f6a0739651f7f58307cdb631fd6e89> (patch)
- <https://git.kernel.org/stable/c/13ee8fb5410b740c8dd2867d3557c7662f7dda2d> (patch)
- <https://git.kernel.org/stable/c/05530ef7cf7c7d700f6753f058999b1b5099a026> (patch)

## Sources

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

---

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