{"id":"CVE-2022-48994","aliases":["CVE-2022-48994"],"related":[],"kind":"vulnerability","state":"published","title":"ALSA: seq: Fix function prototype mismatch in snd_seq_expand_var_event","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: ALSA: seq: Fix function prototipo desajuste en snd_seq_expand_var_event Con la integridad del flujo de control del kernel de clang (kCFI, CONFIG_CFI_CLANG), los objetivos de llamada indirecta se validan contra el prototipo de puntero de función esperado para asegurarse de que el objetivo de llamada sea válido para ayudar a mitigar los ataques ROP. Si no son idénticos, hay un error en el tiempo de ejecución, que se manifiesta como un pánico del kernel o la muerte del hilo. seq_copy_in_user() y seq_copy_in_kernel() no tenían prototipos que coincidieran con snd_seq_dump_func_t. Ajústelo y elimine las conversiones. No hay diferencias de salida binaria resultantes. Esto se encontró como resultado del nuevo indicador -Wcast-function-type-strict de Clang, que es más sensible que el más simple -Wcast-function-type, que solo verifica los desajustes de ancho de tipo.","source":"nvd"}],"published":"2024-10-21T20:06:10.814Z","modified":"2026-06-17T05:16:48.127Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"b38486e82ecb9f3046e0184205f6b61408fc40c9","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"e385360705a0b346bdb57ce938249175d0613b8a","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"2f46e95bf344abc4e74f8158901d32a869e0adb6","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"63badfed200219ca656968725f1a43df293ac936","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"15c42ab8d43acb73e2eba361ad05822c0af0ecfa","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"fccd454129f6a0739651f7f58307cdb631fd6e89","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"13ee8fb5410b740c8dd2867d3557c7662f7dda2d","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"05530ef7cf7c7d700f6753f058999b1b5099a026","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.12","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.12","status":"unaffected"},{"type":"semver","introduced":"4.9.336","lastAffected":"4.9.*","status":"unaffected"},{"type":"semver","introduced":"4.14.302","lastAffected":"4.14.*","status":"unaffected"},{"type":"semver","introduced":"4.19.269","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.227","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.159","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.83","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.0.13","lastAffected":"6.0.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"4.9.336"},{"status":"affected","introduced":"4.10","fixed":"4.14.302"},{"status":"affected","introduced":"4.15","fixed":"4.19.269"},{"status":"affected","introduced":"4.20","fixed":"5.4.227"},{"status":"affected","introduced":"5.5","fixed":"5.10.159"},{"status":"affected","introduced":"5.11","fixed":"5.15.83"},{"status":"affected","introduced":"5.16","fixed":"6.0.13"},{"status":"affected","version":"6.1"},{"status":"affected","version":"6.1"},{"status":"affected","version":"6.1"},{"status":"affected","version":"6.1"},{"status":"affected","version":"6.1"},{"status":"affected","version":"6.1"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/b38486e82ecb9f3046e0184205f6b61408fc40c9","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e385360705a0b346bdb57ce938249175d0613b8a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2f46e95bf344abc4e74f8158901d32a869e0adb6","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/63badfed200219ca656968725f1a43df293ac936","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/15c42ab8d43acb73e2eba361ad05822c0af0ecfa","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fccd454129f6a0739651f7f58307cdb631fd6e89","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/13ee8fb5410b740c8dd2867d3557c7662f7dda2d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/05530ef7cf7c7d700f6753f058999b1b5099a026","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-10-22T13:16:04.929Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-48994","url":"https://www.cve.org/CVERecord?id=CVE-2022-48994","licence":"CVE Terms of Use","modified":"2026-05-11T18:51:09.094Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-48994","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-48994","licence":"Public domain","modified":"2026-06-17T05:16:48.127Z"}],"updatedAt":"2026-11-25T22:58:20.021Z","epss":{"score":0.00236,"percentile":0.15587,"date":"2026-12-01T12:00:22.000Z"}}