Menu

Star on GitHub · 3.2k

CVE-2022-49515

7.1 · HIGH

In the Linux kernel, the following vulnerability has been resolved: ASoC: cs35l41: Fix an out-of-bounds access in otp_packed_element_t The CS35L41_NUM_OTP_ELEM is 100, but only 99 entries are def…

Published Feb 26, 2025CWE-125EPSS 0.27%

Overview

CVE-2022-49515 is a high-severity vulnerability. It was published on February 26, 2025 and has a CVSS 3.1 base score of 7.1 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.1, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical description

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

ASoC: cs35l41: Fix an out-of-bounds access in otp_packed_element_t

The CS35L41_NUM_OTP_ELEM is 100, but only 99 entries are defined in

the array otp_map_1/2[CS35L41_NUM_OTP_ELEM], this will trigger UBSAN

to report a shift-out-of-bounds warning in the cs35l41_otp_unpack()

since the last entry in the array will result in GENMASK(-1, 0).

UBSAN reports this problem:

UBSAN: shift-out-of-bounds in /home/hwang4/build/jammy/jammy/sound/soc/codecs/cs35l41-lib.c:836:8

shift exponent 64 is too large for 64-bit type 'long unsigned int'

CPU: 10 PID: 595 Comm: systemd-udevd Not tainted 5.15.0-23-generic #23

Hardware name: LENOVO \x02MFG_IN_GO/\x02MFG_IN_GO, BIOS N3GET19W (1.00 ) 03/11/2022

Call Trace:

<TASK>

show_stack+0x52/0x58

dump_stack_lvl+0x4a/0x5f

dump_stack+0x10/0x12

ubsan_epilogue+0x9/0x45

__ubsan_handle_shift_out_of_bounds.cold+0x61/0xef

? regmap_unlock_mutex+0xe/0x10

cs35l41_otp_unpack.cold+0x1c6/0x

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2022-49515?

CVE-2022-49515 is a high-severity vulnerability. It was published on February 26, 2025 and has a CVSS 3.1 base score of 7.1 (HIGH).

How severe is CVE-2022-49515?

This vulnerability has a CVSS 3.1 base score of 7.1, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2022-49515?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2022-49515?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2022-49515 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related HIGH CVEs from 2022

View all