CVE-2022-48994
ALSA: seq: Fix function prototype mismatch in snd_seq_expand_var_event
Check your servers for CVE-2022-48994
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2022-48994 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.24%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 15.5% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 22 Oct 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before b38486e82ecb9f3046e0184205f6b61408fc40c9 affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before e385360705a0b346bdb57ce938249175d0613b8a affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 2f46e95bf344abc4e74f8158901d32a869e0adb6 affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 63badfed200219ca656968725f1a43df293ac936 affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 15c42ab8d43acb73e2eba361ad05822c0af0ecfa affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before fccd454129f6a0739651f7f58307cdb631fd6e89 affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 13ee8fb5410b740c8dd2867d3557c7662f7dda2d affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 05530ef7cf7c7d700f6753f058999b1b5099a026
Other versions: unaffected
|
| Linux |
affected 2.6.12 unaffected before 2.6.12 unaffected from 4.9.336 up to and including 4.9.* unaffected from 4.14.302 up to and including 4.14.* unaffected from 4.19.269 up to and including 4.19.* unaffected from 5.4.227 up to and including 5.4.* unaffected from 5.10.159 up to and including 5.10.* unaffected from 5.15.83 up to and including 5.15.* unaffected from 6.0.13 up to and including 6.0.* unaffected 6.1 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2022-48994 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-48994
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2022-48994
trivy image --scanners vuln IMAGE | grep CVE-2022-48994
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/b38486e82ecb9f3046e0184205f6b61408fc40c9 git.kernel.org
- https://git.kernel.org/stable/c/e385360705a0b346bdb57ce938249175d0613b8a git.kernel.org
- https://git.kernel.org/stable/c/2f46e95bf344abc4e74f8158901d32a869e0adb6 git.kernel.org
- https://git.kernel.org/stable/c/63badfed200219ca656968725f1a43df293ac936 git.kernel.org
- https://git.kernel.org/stable/c/15c42ab8d43acb73e2eba361ad05822c0af0ecfa git.kernel.org
- https://git.kernel.org/stable/c/fccd454129f6a0739651f7f58307cdb631fd6e89 git.kernel.org
- https://git.kernel.org/stable/c/13ee8fb5410b740c8dd2867d3557c7662f7dda2d git.kernel.org
- https://git.kernel.org/stable/c/05530ef7cf7c7d700f6753f058999b1b5099a026 git.kernel.org
Source: the record CVE-2022-48994 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse