CVE-2024-56618

Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
27/12/2024
Last modified:
01/10/2025

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> pmdomain: imx: gpcv2: Adjust delay after power up handshake<br /> <br /> The udelay(5) is not enough, sometimes below kernel panic<br /> still be triggered:<br /> <br /> [ 4.012973] Kernel panic - not syncing: Asynchronous SError Interrupt<br /> [ 4.012976] CPU: 2 UID: 0 PID: 186 Comm: (udev-worker) Not tainted 6.12.0-rc2-0.0.0-devel-00004-g8b1b79e88956 #1<br /> [ 4.012982] Hardware name: Toradex Verdin iMX8M Plus WB on Dahlia Board (DT)<br /> [ 4.012985] Call trace:<br /> [...]<br /> [ 4.013029] arm64_serror_panic+0x64/0x70<br /> [ 4.013034] do_serror+0x3c/0x70<br /> [ 4.013039] el1h_64_error_handler+0x30/0x54<br /> [ 4.013046] el1h_64_error+0x64/0x68<br /> [ 4.013050] clk_imx8mp_audiomix_runtime_resume+0x38/0x48<br /> [ 4.013059] __genpd_runtime_resume+0x30/0x80<br /> [ 4.013066] genpd_runtime_resume+0x114/0x29c<br /> [ 4.013073] __rpm_callback+0x48/0x1e0<br /> [ 4.013079] rpm_callback+0x68/0x80<br /> [ 4.013084] rpm_resume+0x3bc/0x6a0<br /> [ 4.013089] __pm_runtime_resume+0x50/0x9c<br /> [ 4.013095] pm_runtime_get_suppliers+0x60/0x8c<br /> [ 4.013101] __driver_probe_device+0x4c/0x14c<br /> [ 4.013108] driver_probe_device+0x3c/0x120<br /> [ 4.013114] __driver_attach+0xc4/0x200<br /> [ 4.013119] bus_for_each_dev+0x7c/0xe0<br /> [ 4.013125] driver_attach+0x24/0x30<br /> [ 4.013130] bus_add_driver+0x110/0x240<br /> [ 4.013135] driver_register+0x68/0x124<br /> [ 4.013142] __platform_driver_register+0x24/0x30<br /> [ 4.013149] sdma_driver_init+0x20/0x1000 [imx_sdma]<br /> [ 4.013163] do_one_initcall+0x60/0x1e0<br /> [ 4.013168] do_init_module+0x5c/0x21c<br /> [ 4.013175] load_module+0x1a98/0x205c<br /> [ 4.013181] init_module_from_file+0x88/0xd4<br /> [ 4.013187] __arm64_sys_finit_module+0x258/0x350<br /> [ 4.013194] invoke_syscall.constprop.0+0x50/0xe0<br /> [ 4.013202] do_el0_svc+0xa8/0xe0<br /> [ 4.013208] el0_svc+0x3c/0x140<br /> [ 4.013215] el0t_64_sync_handler+0x120/0x12c<br /> [ 4.013222] el0t_64_sync+0x190/0x194<br /> [ 4.013228] SMP: stopping secondary CPUs<br /> <br /> The correct way is to wait handshake, but it needs BUS clock of<br /> BLK-CTL be enabled, which is in separate driver. So delay is the<br /> only option here. The udelay(10) is a data got by experiment.

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.10 (including) 6.12.5 (excluding)
cpe:2.3:o:linux:linux_kernel:6.13:rc1:*:*:*:*:*:*