CVE-2022-48994

Source
https://cve.org/CVERecord?id=CVE-2022-48994
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-48994.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-48994
Downstream
Related
Published
2024-10-21T20:06:10.814Z
Modified
2026-03-12T03:24:24.560177Z
Summary
ALSA: seq: Fix function prototype mismatch in snd_seq_expand_var_event
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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48994.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2
Fixed
b38486e82ecb9f3046e0184205f6b61408fc40c9
Fixed
e385360705a0b346bdb57ce938249175d0613b8a
Fixed
2f46e95bf344abc4e74f8158901d32a869e0adb6
Fixed
63badfed200219ca656968725f1a43df293ac936
Fixed
15c42ab8d43acb73e2eba361ad05822c0af0ecfa
Fixed
fccd454129f6a0739651f7f58307cdb631fd6e89
Fixed
13ee8fb5410b740c8dd2867d3557c7662f7dda2d
Fixed
05530ef7cf7c7d700f6753f058999b1b5099a026

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-48994.json"