{"id":"CVE-2022-48994","published":"2024-10-21T20:06:10Z","modified":"2026-05-11T18:51:09Z","title":"ALSA: seq: Fix function prototype mismatch in snd_seq_expand_var_event","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: seq: Fix function prototype mismatch in snd_seq_expand_var_event\n\nWith clang's kernel control flow integrity (kCFI, CONFIG_CFI_CLANG),\nindirect call targets are validated against the expected function\npointer prototype to make sure the call target is valid to help mitigate\nROP attacks. If they are not identical, there is a failure at run time,\nwhich manifests as either a kernel panic or thread getting killed.\n\nseq_copy_in_user() and seq_copy_in_kernel() did not have prototypes\nmatching snd_seq_dump_func_t. Adjust this and remove the casts. There\nare not resulting binary output differences.\n\nThis was found as a result of Clang's new -Wcast-function-type-strict\nflag, which is more sensitive than the simpler -Wcast-function-type,\nwhich only checks for type width mismatches.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00236,"percentile":0.14852,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/b38486e82ecb9f3046e0184205f6b61408fc40c9","tags":[]},{"url":"https://git.kernel.org/stable/c/e385360705a0b346bdb57ce938249175d0613b8a","tags":[]},{"url":"https://git.kernel.org/stable/c/2f46e95bf344abc4e74f8158901d32a869e0adb6","tags":[]},{"url":"https://git.kernel.org/stable/c/63badfed200219ca656968725f1a43df293ac936","tags":[]},{"url":"https://git.kernel.org/stable/c/15c42ab8d43acb73e2eba361ad05822c0af0ecfa","tags":[]},{"url":"https://git.kernel.org/stable/c/fccd454129f6a0739651f7f58307cdb631fd6e89","tags":[]},{"url":"https://git.kernel.org/stable/c/13ee8fb5410b740c8dd2867d3557c7662f7dda2d","tags":[]},{"url":"https://git.kernel.org/stable/c/05530ef7cf7c7d700f6753f058999b1b5099a026","tags":[]}],"priority":{"score":3.0,"factors":[{"name":"EPSS percentile","points":2.97}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < b38486e82ecb9f3046e0184205f6b61408fc40c9",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < e385360705a0b346bdb57ce938249175d0613b8a",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 2f46e95bf344abc4e74f8158901d32a869e0adb6",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 63badfed200219ca656968725f1a43df293ac936",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 15c42ab8d43acb73e2eba361ad05822c0af0ecfa",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < fccd454129f6a0739651f7f58307cdb631fd6e89",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 13ee8fb5410b740c8dd2867d3557c7662f7dda2d",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 05530ef7cf7c7d700f6753f058999b1b5099a026"]},{"vendor":"Linux","product":"Linux","versions":["2.6.12"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-10-22T13:16:04.929869Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2022-53873","exploited":false,"provenance":"source"}}