CVE-2022-49498

ALSA: pcm: Check for null pointer of pointer substream before dereferencing it

State
Published
Severity
5.5 Medium
Published
Feb 26, 2025
Updated
May 11, 2026
Reserved
Feb 26, 2025

Read the record on cve.org

Description

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

ALSA: pcm: Check for null pointer of pointer substream before dereferencing it

Pointer substream is being dereferenced on the assignment of pointer card before substream is being null checked with the macro PCM_RUNTIME_CHECK. Although PCM_RUNTIME_CHECK calls BUG_ON, it still is useful to perform the the pointer check before card is assigned.

Scores

CVSSScoreVectorSource
3.15.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP

Weaknesses

Affected Products

ProductVersions
LinuxLinux
  • 95b30a4312545f2dde9db12bf6a425f35d5a0d77 to before b2421a196cb0911ea95aec1050a0b830464c8fa6Affected
  • d4cfb30fce03093ad944e0b44bd8f40bdad5330e to before f2c68c52898f623fe84518da4606538d193b0ccaAffected
  • d4cfb30fce03093ad944e0b44bd8f40bdad5330e to before 7784d22f81a29df2ec57ca90d54f93a35cbcd1a2Affected
  • d4cfb30fce03093ad944e0b44bd8f40bdad5330e to before 1f2e28857be1e5c7db39bbc221332215fc5467e3Affected
  • d4cfb30fce03093ad944e0b44bd8f40bdad5330e to before b41ef7ad9238c22aa2e142f5ce4ce1a1a0d48123Affected
  • d4cfb30fce03093ad944e0b44bd8f40bdad5330e to before 011b559be832194f992f73d6c0d5485f5925a10bAffected
LinuxLinux
  • 5.6Affected
  • before 5.6Not affected
  • 5.10.121 through 5.10.*Not affected
  • 5.15.46 through 5.15.*Not affected
  • 5.17.14 through 5.17.*Not affected
  • 5.18.3 through 5.18.*Not affected
  • 5.19 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.