CVE-2022-49733

Source
https://cve.org/CVERecord?id=CVE-2022-49733
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49733.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-49733
Downstream
Related
Published
2025-03-02T14:30:02.838Z
Modified
2026-03-20T11:47:11.501780Z
Severity
  • 4.7 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
ALSA: pcm: oss: Fix race at SNDCTL_DSP_SYNC
Details

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

ALSA: pcm: oss: Fix race at SNDCTLDSPSYNC

There is a small race window at sndpcmosssync() that is called from OSS PCM SNDCTLDSPSYNC ioctl; namely the function calls sndpcmossmakeready() at first, then takes the paramslock 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 sndpcmossmakeready() call into the same paramslock mutex with sndpcmossmakereadylocked() variant.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49733.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
e3a5d59a17e9a42e3f3e0e37342b2679bab2ff43
Fixed
4051324a6dafd7053c74c475e80b3ba10ae672b0
Fixed
fce793a056c604b41a298317cf704dae255f1b36
Fixed
8015ef9e8a0ee5cecfd0cb6805834d007ab26f86
Fixed
723ac5ab2891b6c10dd6cc78ef5456af593490eb
Fixed
8423f0b6d513b259fdab9c9bf4aaa6188d054c2d

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49733.json"