CVE-2024-42292Published Aug 17, 2024 · Aug 17Updated Oct 28
kobject_uevent: Fix OOB access within zap_modalias_env()
Linux
High7.1Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 9b3fa47d4a76b1d606a396455f9bbeee083ef008 · < 57fe01d3d04276875c7e3a6dc763517fc05b8762| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
kobject_uevent: Fix OOB access within zap_modalias_env()
zap_modalias_env() wrongly calculates size of memory block to move, so will cause OOB memory access issue if variable MODALIAS is not the last one within its @env parameter, fixed by correcting size to memmove.
From the CVE record · Linux
The Linux kernel’s zap_modalias_env() calculates the wrong size for a memory move. This can cause out-of-bounds memory access when MODALIAS is not the last variable in its environment parameter. The input does not specify attacker access requirements or user interaction.
Engineers running the Linux kernel should check their deployments; affected versions are not specified.