{"id":"CVE-2022-49733","aliases":["CVE-2022-49733"],"related":[],"kind":"vulnerability","state":"published","title":"ALSA: pcm: oss: Fix race at SNDCTL_DSP_SYNC","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: pcm: oss: Fix race at SNDCTL_DSP_SYNC\n\nThere is a small race window at snd_pcm_oss_sync() that is called from\nOSS PCM SNDCTL_DSP_SYNC ioctl; namely the function calls\nsnd_pcm_oss_make_ready() at first, then takes the params_lock mutex\nfor the rest.  When the stream is set up again by another thread\nbetween them, it leads to inconsistency, and may result in unexpected\nresults such as NULL dereference of OSS buffer as a fuzzer spotted\nrecently.\n\nThe fix is simply to cover snd_pcm_oss_make_ready() call into the same\nparams_lock mutex with snd_pcm_oss_make_ready_locked() variant.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: pcm: oss: Fix race at SNDCTL_DSP_SYNC\n\nThere is a small race window at snd_pcm_oss_sync() that is called from\nOSS PCM SNDCTL_DSP_SYNC ioctl; namely the function calls\nsnd_pcm_oss_make_ready() at first, then takes the params_lock mutex\nfor the rest.  When the stream is set up again by another thread\nbetween them, it leads to inconsistency, and may result in unexpected\nresults such as NULL dereference of OSS buffer as a fuzzer spotted\nrecently.\n\nThe fix is simply to cover snd_pcm_oss_make_ready() call into the same\nparams_lock mutex with snd_pcm_oss_make_ready_locked() variant.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: ALSA: pcm: oss: Corregir ejecución en SNDCTL_DSP_SYNC Hay una pequeña ventana de ejecución en snd_pcm_oss_sync() que se llama desde IOctl SNDCTL_DSP_SYNC PCM de OSS; es decir, la función llama a snd_pcm_oss_make_ready() primero, luego toma el mutex params_lock para el resto. Cuando otro hilo configura nuevamente la secuencia entre ellos, esto genera inconsistencia y puede dar como resultado resultados inesperados como la desreferencia NULL del búfer OSS como un fuzzer detectado recientemente. La solución es simplemente cubrir la llamada a snd_pcm_oss_make_ready() en el mismo mutex params_lock con la variante snd_pcm_oss_make_ready_locked().","source":"nvd"}],"published":"2025-03-02T14:30:02.838Z","modified":"2026-08-05T08:56:09.069Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","score":4.7,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","score":4.7,"rating":"MEDIUM"}],"cwes":["CWE-362","CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"e3a5d59a17e9a42e3f3e0e37342b2679bab2ff43","fixed":"4051324a6dafd7053c74c475e80b3ba10ae672b0","status":"affected"},{"type":"git","introduced":"e3a5d59a17e9a42e3f3e0e37342b2679bab2ff43","fixed":"fce793a056c604b41a298317cf704dae255f1b36","status":"affected"},{"type":"git","introduced":"e3a5d59a17e9a42e3f3e0e37342b2679bab2ff43","fixed":"8015ef9e8a0ee5cecfd0cb6805834d007ab26f86","status":"affected"},{"type":"git","introduced":"e3a5d59a17e9a42e3f3e0e37342b2679bab2ff43","fixed":"723ac5ab2891b6c10dd6cc78ef5456af593490eb","status":"affected"},{"type":"git","introduced":"e3a5d59a17e9a42e3f3e0e37342b2679bab2ff43","fixed":"8423f0b6d513b259fdab9c9bf4aaa6188d054c2d","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.20","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.20","status":"unaffected"},{"type":"semver","introduced":"5.4.215","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.148","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.68","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"5.19.9","lastAffected":"5.19.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.0","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":"5.4.215"},{"status":"affected","introduced":"5.5","fixed":"5.10.148"},{"status":"affected","introduced":"5.11","fixed":"5.15.68"},{"status":"affected","introduced":"5.16","fixed":"5.19.9"},{"status":"affected","version":"6.0"},{"status":"affected","version":"6.0"},{"status":"affected","version":"6.0"},{"status":"affected","version":"6.0"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/4051324a6dafd7053c74c475e80b3ba10ae672b0","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fce793a056c604b41a298317cf704dae255f1b36","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8015ef9e8a0ee5cecfd0cb6805834d007ab26f86","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/723ac5ab2891b6c10dd6cc78ef5456af593490eb","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8423f0b6d513b259fdab9c9bf4aaa6188d054c2d","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-10-01T19:28:32.574Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-49733","url":"https://www.cve.org/CVERecord?id=CVE-2022-49733","licence":"CVE Terms of Use","modified":"2026-08-05T08:56:09.069Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-49733","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49733","licence":"Public domain","modified":"2026-08-04T10:17:54.840Z"}],"updatedAt":"2026-11-25T22:58:20.832Z","epss":{"score":0.00156,"percentile":0.05054,"date":"2026-12-01T12:00:22.000Z"}}