CVE-2024-46769Published Sep 18, 2024 · Sep 18Updated Oct 28
spi: intel: Add check devm_kasprintf() returned value
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
spi: intel: Add check devm_kasprintf() returned value
intel_spi_populate_chip() use devm_kasprintf() to set pdata->name. This can return a NULL pointer on failure but this returned value is not checked.
From the CVE record · Linux
The Linux kernel's Intel SPI driver does not check whether devm_kasprintf() returns NULL when setting a chip name. This can lead to a null pointer dereference if the allocation fails. The input does not specify an attack path, authentication requirement, or user interaction.
Teams running the Linux kernel should check their kernel version; affected versions are not specified.