Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2022-49292

published high CVSS 3.1 · 7.8

ALSA: oss: Fix PCM OSS buffer allocation overflow

Published
26 Feb 2025, 01:56:28 UTC
Updated
05 Aug 2026, 08:54:40 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < a63af1baf0a5e11827db60e3127f87e437cab6e5 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 0c4190b41a69990666b4000999e27f8f1b2a426b · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 5ce74ff7059341d8b2f4d01c3383491df63d1898 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 7a40cbf3579a8e14849ba7ce46309c1992658d2b · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < fb08bf99195a87c798bc8ae1357337a981faeade · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < e74a069c6a7bb505f3ade141dddf85f4b0b5145a · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < efb6402c3c4a7c26d97c92d70186424097b6e366 · Other versions: unaffected Affected Not stated Linux
Linux — Linux2.6.12 (affected) · 0 to < 2.6.12 (unaffected · semver) · 4.19.237 through 4.19.* (unaffected · semver) · 5.4.188 through 5.4.* (unaffected · semver) · 5.10.109 through 5.10.* (unaffected · semver) · 5.15.32 through 5.15.* (unaffected · semver) · 5.16.18 through 5.16.* (unaffected · semver) · 5.17.1 through 5.17.* (unaffected · semver) · 5.18 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected; No Fix Planned Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Red Hat Enterprise Linux RHEL-8 bpftoolaarch64 Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 bpftoolppc64le Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 bpftools390x Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 bpftoolx86_64 Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfoaarch64 Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfoppc64le Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfos390x Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfox86_64 Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernelaarch64 Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernelppc64le Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernels390x Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernelsrc Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernelx86_64 Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-abi-stablelistsnoarch Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-coreaarch64 Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-coreppc64le Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-cores390x Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-corex86_64 Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-debugaarch64 Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-debugppc64le Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-debugs390x Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-debugx86_64 Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-debug-coreaarch64 Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-debug-coreppc64le Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-debug-cores390x Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-debug-corex86_64 Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfoaarch64 Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfoppc64le Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfos390x Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfox86_64 Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-debug-develaarch64 Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-debug-develppc64le Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-debug-devels390x Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-debug-develx86_64 Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-debug-modulesaarch64 Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-debug-modulesppc64le Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-debug-moduless390x Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-debug-modulesx86_64 Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-debug-modules-extraaarch64 Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-debug-modules-extrappc64le Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-debug-modules-extras390x Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-debug-modules-extrax86_64 Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-debuginfoaarch64 Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-debuginfoppc64le Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-debuginfos390x Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-debuginfox86_64 Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-debuginfo-common-aarch64aarch64 Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-debuginfo-common-ppc64leppc64le Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-debuginfo-common-s390xs390x Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-debuginfo-common-x86_64x86_64 Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-develaarch64 Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-develppc64le Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-devels390x Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-develx86_64 Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-docnoarch Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-modulesaarch64 Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-modulesppc64le Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-moduless390x Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-modulesx86_64 Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-modules-extraaarch64 Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-modules-extrappc64le Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-modules-extras390x Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-modules-extrax86_64 Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-toolsaarch64 Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-toolsppc64le Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-toolss390x Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-toolsx86_64 Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-tools-debuginfoaarch64 Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-tools-debuginfoppc64le Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-tools-debuginfos390x Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-tools-debuginfox86_64 Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-tools-libsaarch64 Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-tools-libsppc64le Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-tools-libsx86_64 Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-zfcpdumps390x Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-zfcpdump-cores390x Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-zfcpdump-debuginfos390x Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-zfcpdump-devels390x Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-zfcpdump-moduless390x Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-zfcpdump-modules-extras390x Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 perfaarch64 Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 perfppc64le Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 perfs390x Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 perfx86_64 Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 perf-debuginfoaarch64 Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 perf-debuginfoppc64le Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 perf-debuginfos390x Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 perf-debuginfox86_64 Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 python3-perfaarch64 Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 python3-perfppc64le Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 python3-perfs390x Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 python3-perfx86_64 Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 python3-perf-debuginfoaarch64 Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 python3-perf-debuginfoppc64le Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 python3-perf-debuginfos390x Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 python3-perf-debuginfox86_64 Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-9 bpftoolaarch64 Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 bpftoolppc64le Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 bpftools390x Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 bpftoolx86_64 Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

In the Linux kernel, the following vulnerability has been resolved: ALSA: oss: Fix PCM OSS buffer allocation overflow We've got syzbot reports hitting INT_MAX overflow at vmalloc() allocation that is called from snd_pcm_plug_alloc(). Although we apply the restrictions to input parameters, it's based only on the hw_params of the underlying PCM device. Since the PCM OSS layer allocates a temporary buffer for the data conversion, the size may become unexpectedly large when more channels or higher rates is given; in the reported case, it went over INT_MAX, hence it hits WARN_ON(). This patch is an attempt to avoid such an overflow and an allocation for too large buffers. First off, it adds the limit of 1MB as the upper bound for period bytes. This must be large enough for all use cases, and we really don't want to handle a larger temporary buffer than this size. The size check is performed at two places, where the original period bytes is calculated and where the plugin buffer size is calculated. In addition, the driver uses array_size() and array3_size() for multiplications to catch overflows for the converted period size and buffer bytes.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

12

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The vulnerability is reached via open/ioctl/read/write on the local OSS PCM device nodes (/dev/dsp*), not via network packets or adjacent-link protocols. AC:L - An attacker who can open the OSS PCM device can reliably set high rates/channels/fragment parameters through SNDCTL_DSP_* ioctls and trigger snd_pcm_oss_change_params → snd_pcm_plug_alloc without depending on races or external state. PR:L - Exploitation requires only an unprivileged local account able to open the OSS PCM device (typically audio-group access); the open/ioctl path performs no capability checks and does not require root. UI:N - The attacker triggers the bug entirely through their own open/ioctl/I/O operations; no separate victim action is required. S:U - Impact is confined to the host kernel's memory/availability; this is standard local kernel memory corruption/DoS, not a VM/IOMMU/sandbox boundary crossing. C:H - Integer overflow in snd_pcm_plugin_alloc can wrap the allocation size so kvzalloc returns an undersized plugin buffer while buf_frames stays large, enabling heap out-of-bounds access that can be leveraged for arbitrary kernel memory disclosure. I:H - The same undersized plugin/OSS conversion buffer is written during format/rate/channel plugin transfers, producing a heap out-of-bounds write primitive that can be abused for corruption and code execution. A:H - Oversized non-wrapping sizes hit WARN_ON_ONCE(size > INT_MAX) in kvmalloc_node (panic_on_warn → crash), and the heap corruption path can also oops/panic the kernel.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < a63af1baf0a5e11827db60e3127f87e437cab6e5 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 0c4190b41a69990666b4000999e27f8f1b2a426b (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 5ce74ff7059341d8b2f4d01c3383491df63d1898 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 7a40cbf3579a8e14849ba7ce46309c1992658d2b (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < fb08bf99195a87c798bc8ae1357337a981faeade (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < e74a069c6a7bb505f3ade141dddf85f4b0b5145a (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < efb6402c3c4a7c26d97c92d70186424097b6e366 (affected · git)Default: unaffected Linux · cna
Linux Linux 2.6.12 (affected)0 to < 2.6.12 (unaffected · semver)4.19.237 through 4.19.* (unaffected · semver)5.4.188 through 5.4.* (unaffected · semver)5.10.109 through 5.10.* (unaffected · semver)5.15.32 through 5.15.* (unaffected · semver)5.16.18 through 5.16.* (unaffected · semver)5.17.1 through 5.17.* (unaffected · semver)5.18 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

7

Provider assertions

1

Linux · cna

ALSA: oss: Fix PCM OSS buffer allocation overflow

Provenance

Schema
5.2
Searchable
yes
Content hash
17b214536fe4fe634be6bc0a32048da504d844539ccb7e8b4542628ca88868d3
Ingested
23 Sep 2026, 08:04:12 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected