Cyber Resilience

CVE-2022-49518

High

Published: 26 February 2025

Published
26 February 2025
Modified
21 October 2025
KEV Added
Patch
CVSS Score v3.1 7.1 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
EPSS Score 0.0012 31.1th percentile
Risk Priority 14 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2022-49518 is a high-severity Out-of-bounds Read (CWE-125) vulnerability in Linux Linux Kernel. Its CVSS base score is 7.1 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Data from Local System (T1005); ranked at the 31.1th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified are NIST 800-53 SI-2 (Flaw Remediation) and SI-10 (Information Input Validation).

Deeper analysis

CVE-2022-49518 is a vulnerability in the Linux kernel's ASoC (ALSA System on Chip) SOF (Sound Open Firmware) ipc3-topology component. The issue stems from an out-of-bounds read (CWE-125) in the sof_get_control_data() function, which assumes payloads are of bytes type but can be invoked for other control types. This allows crafted topologies to trigger invalid memory access, as the function incorrectly stores pointers to sof_abi_hdr in sof_widget_data for non-bytes payloads and performs flawed parsing.

A local attacker with low privileges (AV:L/PR:L) can exploit this vulnerability with low complexity and no user interaction required. Successful exploitation leads to high-impact confidentiality loss through arbitrary reads and high-impact availability disruption, such as kernel crashes, but without integrity modification (CVSS 3.1 score: 7.1 High).

The provided patch references detail the mitigation via kernel stable commits. The fixes include counting non-bytes controls separately, storing pointers directly to the data (chanv array for non-bytes) with a new size member, and correcting bytes handling by removing an invalid NULL check on cdata->data, which always points to valid data at the struct's end. Security practitioners should apply these updates from the Linux kernel stable trees.

EU & UK References

Vulnerability details

In the Linux kernel, the following vulnerability has been resolved: ASoC: SOF: ipc3-topology: Correct get_control_data for non bytes payload It is possible to craft a topology where sof_get_control_data() would do out of bounds access because it expects that it is…

more

only called when the payload is bytes type. Confusingly it also handles other types of controls, but the payload parsing implementation is only valid for bytes. Fix the code to count the non bytes controls and instead of storing a pointer to sof_abi_hdr in sof_widget_data (which is only valid for bytes), store the pointer to the data itself and add a new member to save the size of the data. In case of non bytes controls we store the pointer to the chanv itself, which is just an array of values at the end. In case of bytes control, drop the wrong cdata->data (wdata[i].pdata) check against NULL since it is incorrect and invalid in this context. The data is pointing to the end of cdata struct, so it should never be null.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise TechniquesAI

T1005 Data from Local System Collection
Adversaries may search local system sources, such as file systems, configuration files, local databases, virtual machine files, or process memory, to find files of interest and sensitive data prior to Exfiltration.
T1212 Exploitation for Credential Access Credential Access
Adversaries may exploit software vulnerabilities in an attempt to collect credentials.
Why these techniques?

OOB read enables local arbitrary memory reads (T1005) and credential access via kernel info disclosure (T1212); no direct priv esc or exec due to lack of integrity impact.

Confidence: MEDIUM · MITRE ATT&CK Enterprise v18.1

CVEs Like This One

CVE-2026-31464Same product: Linux Linux Kernel
CVE-2022-49251Same product: Linux Linux Kernel
CVE-2025-71201Same product: Linux Linux Kernel
CVE-2025-71116Same product: Linux Linux Kernel
CVE-2022-49623Same product: Linux Linux Kernel
CVE-2026-31513Same product: Linux Linux Kernel
CVE-2022-49368Same product: Linux Linux Kernel
CVE-2025-21743Same product: Linux Linux Kernel
CVE-2022-49738Same product: Linux Linux Kernel
CVE-2026-31614Same product: Linux Linux Kernel

Affected Assets

linux
linux kernel
5.18 — 5.18.3

Mitigating Controls

Mitigating Controls (NIST 800-53 r5) AI

prevent

Directly requires timely patching of the Linux kernel to remediate the out-of-bounds read in sof_get_control_data() caused by mishandling non-bytes payloads.

prevent

Enforces validation of crafted topology inputs to the SOF ipc3-topology component to prevent invalid payload types from triggering out-of-bounds access.

prevent

Ensures graceful error handling in kernel parsing logic, addressing the incorrect assumptions and NULL checks that enable the vulnerability.

References