CVE-2023-52868Published May 21, 2024 · May 21Updated Oct 28
thermal: core: prevent potential string overflow
Linux
High7.8Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 203d3d4aa482339b4816f131f713e1b8ee37f6dd · < 77ff34a56b695e228e6daf30ee30be747973d6e8| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
thermal: core: prevent potential string overflow
The dev->id value comes from ida_alloc() so it's a number between zero and INT_MAX. If it's too high then these sprintf()s will overflow.
From the CVE record · Linux
The Linux kernel thermal core uses sprintf() with a dev->id value that can be as high as INT_MAX. If the value is too high, the string can overflow. The description does not establish whether an attacker can trigger this condition or what access or user interaction would be required.
Engineers running the Linux kernel should check their deployments; affected versions are not specified.