# CVE-2023-52868: thermal: core: prevent potential string overflow

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 15% of CVEs (2026-12-02)
- Published: 2024-05-21T15:31:58.530Z
- Modified: 2026-06-17T06:43:46.650Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 203d3d4aa482339b4816f131f713e1b8ee37f6dd before b55f0a9f865be75ca1019aad331f3225f7b50ce8; from 203d3d4aa482339b4816f131f713e1b8ee37f6dd before 6ad1bf47fbe5750c4d5d8e41337665e193e2c521; from 203d3d4aa482339b4816f131f713e1b8ee37f6dd before 3091ab943dfc7b2578599b0fe203350286fab5bb; from 203d3d4aa482339b4816f131f713e1b8ee37f6dd before 3f795fb35c2d8a637efe76b4518216c9319b998c; from 203d3d4aa482339b4816f131f713e1b8ee37f6dd before 3a8f4e58e1ee707b4f46a1000b40b86ea3dd509c; from 203d3d4aa482339b4816f131f713e1b8ee37f6dd before 77ff34a56b695e228e6daf30ee30be747973d6e8; from 203d3d4aa482339b4816f131f713e1b8ee37f6dd before 0f6b3be28c4d62ef6498133959c72266629bea97; from 203d3d4aa482339b4816f131f713e1b8ee37f6dd before edbd6bbe40ac524a8f2273ffacc53edf14f3c686; from 203d3d4aa482339b4816f131f713e1b8ee37f6dd before c99626092efca3061b387043d4a7399bf75fbdd5; 2.6.25 (not affected: before 2.6.25; from 4.14.330 up to 4.14.*; from 4.19.299 up to 4.19.*; from 5.4.261 up to 5.4.*; from 5.10.201 up to 5.10.*; from 5.15.139 up to 5.15.*; from 6.1.63 up to 6.1.*; from 6.5.12 up to 6.5.*; from 6.6.2 up to 6.6.*; from 6.7 up to *)
- linux linux_kernel: from 2.6.25 before 4.14.330; from 4.15 before 4.19.299; from 4.20 before 5.4.261; from 5.5 before 5.10.201; from 5.11 before 5.15.139; from 5.16 before 6.1.63; from 6.2 before 6.5.12; from 6.6 before 6.6.2

## References

- <https://git.kernel.org/stable/c/b55f0a9f865be75ca1019aad331f3225f7b50ce8> (patch)
- <https://git.kernel.org/stable/c/6ad1bf47fbe5750c4d5d8e41337665e193e2c521> (patch)
- <https://git.kernel.org/stable/c/3091ab943dfc7b2578599b0fe203350286fab5bb> (patch)
- <https://git.kernel.org/stable/c/3f795fb35c2d8a637efe76b4518216c9319b998c> (patch)
- <https://git.kernel.org/stable/c/3a8f4e58e1ee707b4f46a1000b40b86ea3dd509c> (patch)
- <https://git.kernel.org/stable/c/77ff34a56b695e228e6daf30ee30be747973d6e8> (patch)
- <https://git.kernel.org/stable/c/0f6b3be28c4d62ef6498133959c72266629bea97> (patch)
- <https://git.kernel.org/stable/c/edbd6bbe40ac524a8f2273ffacc53edf14f3c686> (patch)
- <https://git.kernel.org/stable/c/c99626092efca3061b387043d4a7399bf75fbdd5> (patch)

## Sources

- CVE List: [CVE-2023-52868](https://www.cve.org/CVERecord?id=CVE-2023-52868), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2023-52868](https://nvd.nist.gov/vuln/detail/CVE-2023-52868), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-52868 · Whole record: https://cve.day/CVE-2023-52868.json · Rebuilt by cve.day 2026-11-25T22:58:34.063Z
