CVE-2024-26784
Severity CVSS v4.0:
Pending analysis
Type:
CWE-476
NULL Pointer Dereference
Publication date:
04/04/2024
Last modified:
20/12/2024
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
pmdomain: arm: Fix NULL dereference on scmi_perf_domain removal<br />
<br />
On unloading of the scmi_perf_domain module got the below splat, when in<br />
the DT provided to the system under test the &#39;#power-domain-cells&#39; property<br />
was missing. Indeed, this particular setup causes the probe to bail out<br />
early without giving any error, which leads to the ->remove() callback gets<br />
to run too, but without all the expected initialized structures in place.<br />
<br />
Add a check and bail out early on remove too.<br />
<br />
Call trace:<br />
scmi_perf_domain_remove+0x28/0x70 [scmi_perf_domain]<br />
scmi_dev_remove+0x28/0x40 [scmi_core]<br />
device_remove+0x54/0x90<br />
device_release_driver_internal+0x1dc/0x240<br />
driver_detach+0x58/0xa8<br />
bus_remove_driver+0x78/0x108<br />
driver_unregister+0x38/0x70<br />
scmi_driver_unregister+0x28/0x180 [scmi_core]<br />
scmi_perf_domain_driver_exit+0x18/0xb78 [scmi_perf_domain]<br />
__arm64_sys_delete_module+0x1a8/0x2c0<br />
invoke_syscall+0x50/0x128<br />
el0_svc_common.constprop.0+0x48/0xf0<br />
do_el0_svc+0x24/0x38<br />
el0_svc+0x34/0xb8<br />
el0t_64_sync_handler+0x100/0x130<br />
el0t_64_sync+0x190/0x198<br />
Code: a90153f3 f9403c14 f9414800 955f8a05 (b9400a80)<br />
---[ end trace 0000000000000000 ]---
Impact
Base Score 3.x
5.50
Severity 3.x
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.7 (including) | 6.7.9 (excluding) |
| cpe:2.3:o:linux:linux_kernel:6.8:rc1:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.8:rc2:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.8:rc3:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.8:rc4:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.8:rc5:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.8:rc6:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page



