CVE-2022-49733CWE-362CWE-476

CVE-2022-49733

High · published March 2, 2025

CVSS v3.1
7.8
EPSS
0%
Percentile
4.4
In the wild
Unconfirmed
What it is

In the Linux kernel, the following vulnerability has been resolved:

ALSA: pcm: oss: Fix race at SNDCTL_DSP_SYNC

There is a small race window at snd_pcm_oss_sync() that is called from

OSS PCM SNDCTL_DSP_SYNC ioctl; namely the function calls

snd_pcm_oss_make_ready() at first, then takes the params_lock mutex

for the rest. When the stream is set up again by another thread

between them, it leads to inconsistency, and may result in unexpected

results such as NULL dereference of OSS buffer as a fuzzer spotted

recently.

The fix is simply to cover snd_pcm_oss_make_ready() call into the same

params_lock mutex with snd_pcm_oss_make_ready_locked() variant.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00156 · 4.4th percentile
Weaknesses
CWE-362 · Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition'); CWE-476 · NULL Pointer Dereference
Published
2025-03-02T20:15Z
Affected products (8)
ProductVersionsFixed in
linux/linux_kernel< 5.4.2155.4.215
linux/linux_kernel≥ 5.5, < 5.10.1485.10.148
linux/linux_kernel≥ 5.11, < 5.15.685.15.68
linux/linux_kernel≥ 5.16, < 5.19.95.19.9
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (5)
EPSS history
Timeline
  • 02 MAR 14:30Z
    ALSA: pcm: oss: Fix race at SNDCTL_DSP_SYNC
    cvelistv5