CVE-2023-52869Published May 21, 2024 · May 21Updated Oct 28
pstore/platform: Add check for kstrdup
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 563ca40ddf400dbf8c6254077f9b6887101d0f08 · < a19d48f7c5d57c0f0405a7d4334d1d38fe9d3c1c| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
pstore/platform: Add check for kstrdup
Add check for the return value of kstrdup() and return the error if it fails in order to avoid NULL pointer dereference.
From the CVE record · Linux
The Linux kernel's pstore/platform code does not check whether kstrdup() fails. A failed allocation can lead to a NULL pointer dereference. The input does not specify an attack path, authentication requirements, or user interaction.
Engineers running the Linux kernel should check their versions; affected versions are not specified.