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

Published Oct 21, 2024
·
Updated

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

ALSA: seq: Fix function prototype mismatch in sndseqexpandvarevent

With clang's kernel control flow integrity (kCFI, CONFIGCFICLANG), 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.

seqcopyinuser() and seqcopyinkernel() did not have prototypes matching sndseqdumpfunct. 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.

Affected Software

14 affected componentsFixes available
Linux Linux kernel<4.9.336
Linux Linux kernel>=4.10<4.14.302
Linux Linux kernel>=4.15<4.19.269
Linux Linux kernel>=4.20<5.4.227
Linux Linux kernel>=5.5<5.10.159
Linux Linux kernel>=5.11<5.15.83
Linux Linux kernel>=5.16<6.0.13
Linux Linux kernel=6.1-rc1
Linux Linux kernel=6.1-rc2
Linux Linux kernel=6.1-rc3
Linux Linux kernel=6.1-rc4
Linux Linux kernel=6.1-rc5
Linux Linux kernel=6.1-rc6
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.27-1

Event History

Oct 21, 2024
CVE Published
via MITRE·08:06 PM
Data Sourced
via MITRE·08:06 PM
Description
Apr 26, 2025
Data Sourced
via Ubuntu·03:52 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2022-48994?

CVE-2022-48994 has a medium severity rating due to its impact on the ALSA subsystem of the Linux kernel.

2

How do I fix CVE-2022-48994?

To fix CVE-2022-48994, update your Linux kernel to a version that includes the patch for this vulnerability.

3

What versions of the Linux kernel are affected by CVE-2022-48994?

CVE-2022-48994 affects Linux kernel versions prior to 6.1-rc1 and multiple versions within certain ranges up to that point.

4

What are the potential impacts of CVE-2022-48994?

The potential impacts of CVE-2022-48994 include exploitation that could lead to information disclosure or system compromise.

5

Is CVE-2022-48994 a local or remote vulnerability?

CVE-2022-48994 is considered a local vulnerability, as it requires local access to exploit.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203