CVE-2023-52868
thermal: core: prevent potential string overflow
Description
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.
INFO
Published Date :
May 21, 2024, 4:15 p.m.
Last Modified :
Sept. 26, 2025, 4:17 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | HIGH | [email protected] |
Solution
- Update the affected Linux kernel packages.
- Reboot the system to apply the update.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2023-52868.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2023-52868 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2023-52868
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2023-52868 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2023-52868 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Sep. 26, 2025
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Added CWE CWE-787 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.6 up to (excluding) 6.6.2 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.5.12 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.63 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.139 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.5 up to (excluding) 5.10.201 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.20 up to (excluding) 5.4.261 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 2.6.25 up to (excluding) 4.14.330 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.15 up to (excluding) 4.19.299 Added Reference Type CVE: https://git.kernel.org/stable/c/0f6b3be28c4d62ef6498133959c72266629bea97 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/0f6b3be28c4d62ef6498133959c72266629bea97 Types: Patch Added Reference Type CVE: https://git.kernel.org/stable/c/3091ab943dfc7b2578599b0fe203350286fab5bb Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/3091ab943dfc7b2578599b0fe203350286fab5bb Types: Patch Added Reference Type CVE: https://git.kernel.org/stable/c/3a8f4e58e1ee707b4f46a1000b40b86ea3dd509c Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/3a8f4e58e1ee707b4f46a1000b40b86ea3dd509c Types: Patch Added Reference Type CVE: https://git.kernel.org/stable/c/3f795fb35c2d8a637efe76b4518216c9319b998c Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/3f795fb35c2d8a637efe76b4518216c9319b998c Types: Patch Added Reference Type CVE: https://git.kernel.org/stable/c/6ad1bf47fbe5750c4d5d8e41337665e193e2c521 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/6ad1bf47fbe5750c4d5d8e41337665e193e2c521 Types: Patch Added Reference Type CVE: https://git.kernel.org/stable/c/77ff34a56b695e228e6daf30ee30be747973d6e8 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/77ff34a56b695e228e6daf30ee30be747973d6e8 Types: Patch Added Reference Type CVE: https://git.kernel.org/stable/c/b55f0a9f865be75ca1019aad331f3225f7b50ce8 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/b55f0a9f865be75ca1019aad331f3225f7b50ce8 Types: Patch Added Reference Type CVE: https://git.kernel.org/stable/c/c99626092efca3061b387043d4a7399bf75fbdd5 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/c99626092efca3061b387043d4a7399bf75fbdd5 Types: Patch Added Reference Type CVE: https://git.kernel.org/stable/c/edbd6bbe40ac524a8f2273ffacc53edf14f3c686 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/edbd6bbe40ac524a8f2273ffacc53edf14f3c686 Types: Patch -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/0f6b3be28c4d62ef6498133959c72266629bea97 Added Reference https://git.kernel.org/stable/c/3091ab943dfc7b2578599b0fe203350286fab5bb Added Reference https://git.kernel.org/stable/c/3a8f4e58e1ee707b4f46a1000b40b86ea3dd509c Added Reference https://git.kernel.org/stable/c/3f795fb35c2d8a637efe76b4518216c9319b998c Added Reference https://git.kernel.org/stable/c/6ad1bf47fbe5750c4d5d8e41337665e193e2c521 Added Reference https://git.kernel.org/stable/c/77ff34a56b695e228e6daf30ee30be747973d6e8 Added Reference https://git.kernel.org/stable/c/b55f0a9f865be75ca1019aad331f3225f7b50ce8 Added Reference https://git.kernel.org/stable/c/c99626092efca3061b387043d4a7399bf75fbdd5 Added Reference https://git.kernel.org/stable/c/edbd6bbe40ac524a8f2273ffacc53edf14f3c686 -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 29, 2024
Action Type Old Value New Value -
CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 21, 2024
Action Type Old Value New Value Added Description 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. Added Reference kernel.org https://git.kernel.org/stable/c/b55f0a9f865be75ca1019aad331f3225f7b50ce8 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/6ad1bf47fbe5750c4d5d8e41337665e193e2c521 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/3091ab943dfc7b2578599b0fe203350286fab5bb [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/3f795fb35c2d8a637efe76b4518216c9319b998c [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/3a8f4e58e1ee707b4f46a1000b40b86ea3dd509c [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/77ff34a56b695e228e6daf30ee30be747973d6e8 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/0f6b3be28c4d62ef6498133959c72266629bea97 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/edbd6bbe40ac524a8f2273ffacc53edf14f3c686 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/c99626092efca3061b387043d4a7399bf75fbdd5 [No types assigned]