CVE-2022-48994

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-48994
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-48994.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-48994
Downstream
Related
Published
2024-10-21T20:15:11Z
Modified
2025-08-09T19:01:27Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages