CVE-2024-38627Published Jun 21, 2024 · Jun 21Updated 3d ago
stm class: Fix a double free in stm_register_device()
Linux
High7.8Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 389b6699a2aa0b457aa69986e9ddf39f3b4030fd · < 370c480410f60b90ba3e96abe73ead21ec827b20| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
stm class: Fix a double free in stm_register_device()
The put_device(&stm->dev) call will trigger stm_device_release() which frees "stm" so the vfree(stm) on the next line is a double free.
From the CVE record · Linux
The Linux kernel's stm_register_device() can free the same memory twice: put_device(&stm->dev) frees stm, and a subsequent vfree(stm) frees it again. The input does not establish what an attacker could do or whether exploitation requires network access, local access, authentication, or user interaction.
Engineers running the Linux kernel should check their versions; affected versions are not specified.