CVE-2022-48994
ALSA: seq: Fix function prototype mismatch in snd_seq_expand_var_event
- Published
- Updated
- Reserved
- 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.
Timeline
ID reserved
By Linux
- 2 months later
· 2 months later
Published
- 19 months later
· 19 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Analyzed | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.24% · top 85% of all CVEs (7 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.5.
Affected products
- affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – < b38486e82ecb9f3046e0184205f6b61408fc40c9
- affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – < e385360705a0b346bdb57ce938249175d0613b8a
- affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – < 2f46e95bf344abc4e74f8158901d32a869e0adb6
- affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – < 63badfed200219ca656968725f1a43df293ac936
- affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – < 15c42ab8d43acb73e2eba361ad05822c0af0ecfa
- affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – < fccd454129f6a0739651f7f58307cdb631fd6e89
- affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – < 13ee8fb5410b740c8dd2867d3557c7662f7dda2d
- affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – < 05530ef7cf7c7d700f6753f058999b1b5099a026
- affected 2.6.12
- unaffected < 2.6.12
- unaffected 4.9.336 – ≤ 4.9.*
- unaffected 4.14.302 – ≤ 4.14.*
- unaffected 4.19.269 – ≤ 4.19.*
- unaffected 5.4.227 – ≤ 5.4.*
- unaffected 5.10.159 – ≤ 5.10.*
- unaffected 5.15.83 – ≤ 5.15.*
- unaffected 6.0.13 – ≤ 6.0.*
- unaffected 6.1 – ≤ *
References (8)
- https://git.kernel.org/stable/c/b38486e82ecb9f3046e0184205f6b61408fc40c9 (opens in a new tab)
- https://git.kernel.org/stable/c/e385360705a0b346bdb57ce938249175d0613b8a (opens in a new tab)
- https://git.kernel.org/stable/c/2f46e95bf344abc4e74f8158901d32a869e0adb6 (opens in a new tab)
- https://git.kernel.org/stable/c/63badfed200219ca656968725f1a43df293ac936 (opens in a new tab)
- https://git.kernel.org/stable/c/15c42ab8d43acb73e2eba361ad05822c0af0ecfa (opens in a new tab)
- https://git.kernel.org/stable/c/fccd454129f6a0739651f7f58307cdb631fd6e89 (opens in a new tab)
- https://git.kernel.org/stable/c/13ee8fb5410b740c8dd2867d3557c7662f7dda2d (opens in a new tab)
- https://git.kernel.org/stable/c/05530ef7cf7c7d700f6753f058999b1b5099a026 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2022-48994)Record last updated .