CVE Catalog

CVE-2024-46849

High
Published: Translated: NVD NIST

Summary

A 'use-after-free' vulnerability in the ASoC module for the axg sound card has been fixed in the Linux kernel. The issue was due to improper initialization of the 'pad' pointer after memory was reallocated in the 'meson_card_reallocate_links()' function.

Risk Assessment

This vulnerability could lead to unpredictable system behavior, including crashes or potential execution of malicious code, posing a threat to system stability and security.

Recommendation

It is recommended to update the Linux kernel to the latest version to eliminate this vulnerability and to monitor the system for unauthorized activities.

Related vulnerabilities

Original NVD description (English source)

In the Linux kernel, the following vulnerability has been resolved: ASoC: meson: axg-card: fix 'use-after-free' Buffer 'card->dai_link' is reallocated in 'meson_card_reallocate_links()', so move 'pad' pointer initialization after this function when memory is already reallocated. Kasan bug report: ================================================================== BUG: KASAN: slab-use-after-free in axg_card_add_link+0x76c/0x9bc Read of size 8 at addr ffff000000e8b260 by task modprobe/356 CPU: 0 PID: 356 Comm: modprobe Tainted: G O 6.9.12-sdkernel #1 Call trace: dump_backtrace+0x94/0xec show_stack+0x18/0x24 dump_stack_lvl+0x78/0x90 print_report+0xfc/0x5c0 kasan_report+0xb8/0xfc __asan_load8+0x9c/0xb8 axg_card_add_link+0x76c/0x9bc [snd_soc_meson_axg_sound_card] meson_card_probe+0x344/0x3b8 [snd_soc_meson_card_utils] platform_probe+0x8c/0xf4 really_probe+0x110/0x39c __driver_probe_device+0xb8/0x18c driver_probe_device+0x108/0x1d8 __driver_attach+0xd0/0x25c bus_for_each_de

Vulnerability data from NVD (NIST) · CISA KEV · EPSS