{"id":"CVE-2022-48994","state":"PUBLISHED","title":"ALSA: seq: Fix function prototype mismatch in snd_seq_expand_var_event","description":"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.","publishedAt":"2024-10-21T20:06:10.814Z","updatedAt":"2026-05-11T18:51:09.094Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","status":"affected","lessThan":"b38486e82ecb9f3046e0184205f6b61408fc40c9","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","status":"affected","lessThan":"e385360705a0b346bdb57ce938249175d0613b8a","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","status":"affected","lessThan":"2f46e95bf344abc4e74f8158901d32a869e0adb6","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","status":"affected","lessThan":"63badfed200219ca656968725f1a43df293ac936","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","status":"affected","lessThan":"15c42ab8d43acb73e2eba361ad05822c0af0ecfa","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","status":"affected","lessThan":"fccd454129f6a0739651f7f58307cdb631fd6e89","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","status":"affected","lessThan":"13ee8fb5410b740c8dd2867d3557c7662f7dda2d","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","status":"affected","lessThan":"05530ef7cf7c7d700f6753f058999b1b5099a026","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/core/seq/seq_memory.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.12","status":"affected"},{"version":"0","status":"unaffected","lessThan":"2.6.12","versionType":"semver"},{"version":"4.9.336","status":"unaffected","lessThanOrEqual":"4.9.*","versionType":"semver"},{"version":"4.14.302","status":"unaffected","lessThanOrEqual":"4.14.*","versionType":"semver"},{"version":"4.19.269","status":"unaffected","lessThanOrEqual":"4.19.*","versionType":"semver"},{"version":"5.4.227","status":"unaffected","lessThanOrEqual":"5.4.*","versionType":"semver"},{"version":"5.10.159","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.83","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.0.13","status":"unaffected","lessThanOrEqual":"6.0.*","versionType":"semver"},{"version":"6.1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/core/seq/seq_memory.c"]}],"references":["https://git.kernel.org/stable/c/b38486e82ecb9f3046e0184205f6b61408fc40c9","https://git.kernel.org/stable/c/e385360705a0b346bdb57ce938249175d0613b8a","https://git.kernel.org/stable/c/2f46e95bf344abc4e74f8158901d32a869e0adb6","https://git.kernel.org/stable/c/63badfed200219ca656968725f1a43df293ac936","https://git.kernel.org/stable/c/15c42ab8d43acb73e2eba361ad05822c0af0ecfa","https://git.kernel.org/stable/c/fccd454129f6a0739651f7f58307cdb631fd6e89","https://git.kernel.org/stable/c/13ee8fb5410b740c8dd2867d3557c7662f7dda2d","https://git.kernel.org/stable/c/05530ef7cf7c7d700f6753f058999b1b5099a026"],"weaknesses":[],"ingestedAt":"2026-10-29T20:05:26.763Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/48xxx/CVE-2022-48994.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2022-48994","state":"PUBLISHED","datePublished":"2024-10-21T20:06:10.814Z","dateUpdated":"2026-05-11T18:51:09.094Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-08-22T01:27:53.637Z"},"containers":{"cna":{"title":"ALSA: seq: Fix function prototype mismatch in snd_seq_expand_var_event","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","status":"affected","lessThan":"b38486e82ecb9f3046e0184205f6b61408fc40c9","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","status":"affected","lessThan":"e385360705a0b346bdb57ce938249175d0613b8a","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","status":"affected","lessThan":"2f46e95bf344abc4e74f8158901d32a869e0adb6","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","status":"affected","lessThan":"63badfed200219ca656968725f1a43df293ac936","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","status":"affected","lessThan":"15c42ab8d43acb73e2eba361ad05822c0af0ecfa","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","status":"affected","lessThan":"fccd454129f6a0739651f7f58307cdb631fd6e89","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","status":"affected","lessThan":"13ee8fb5410b740c8dd2867d3557c7662f7dda2d","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","status":"affected","lessThan":"05530ef7cf7c7d700f6753f058999b1b5099a026","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/core/seq/seq_memory.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.12","status":"affected"},{"version":"0","status":"unaffected","lessThan":"2.6.12","versionType":"semver"},{"version":"4.9.336","status":"unaffected","lessThanOrEqual":"4.9.*","versionType":"semver"},{"version":"4.14.302","status":"unaffected","lessThanOrEqual":"4.14.*","versionType":"semver"},{"version":"4.19.269","status":"unaffected","lessThanOrEqual":"4.19.*","versionType":"semver"},{"version":"5.4.227","status":"unaffected","lessThanOrEqual":"5.4.*","versionType":"semver"},{"version":"5.10.159","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.83","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.0.13","status":"unaffected","lessThanOrEqual":"6.0.*","versionType":"semver"},{"version":"6.1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/core/seq/seq_memory.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/b38486e82ecb9f3046e0184205f6b61408fc40c9"},{"url":"https://git.kernel.org/stable/c/e385360705a0b346bdb57ce938249175d0613b8a"},{"url":"https://git.kernel.org/stable/c/2f46e95bf344abc4e74f8158901d32a869e0adb6"},{"url":"https://git.kernel.org/stable/c/63badfed200219ca656968725f1a43df293ac936"},{"url":"https://git.kernel.org/stable/c/15c42ab8d43acb73e2eba361ad05822c0af0ecfa"},{"url":"https://git.kernel.org/stable/c/fccd454129f6a0739651f7f58307cdb631fd6e89"},{"url":"https://git.kernel.org/stable/c/13ee8fb5410b740c8dd2867d3557c7662f7dda2d"},{"url":"https://git.kernel.org/stable/c/05530ef7cf7c7d700f6753f058999b1b5099a026"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T18:51:09.094Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.12","versionEndExcluding":"4.9.336"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.12","versionEndExcluding":"4.14.302"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.12","versionEndExcluding":"4.19.269"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.12","versionEndExcluding":"5.4.227"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.12","versionEndExcluding":"5.10.159"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.12","versionEndExcluding":"5.15.83"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.12","versionEndExcluding":"6.0.13"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.12","versionEndExcluding":"6.1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2022-48994","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2024-10-22T13:16:04.929869Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-10-22T13:18:41.685Z"}}]}}}