# CVE-2023-52614: PM / devfreq: Fix buffer overflow in trans_stat_show

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `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.26%, higher than 19% of CVEs (2026-12-01)
- Published: 2024-03-18T10:14:44.929Z
- Modified: 2026-10-15T01:17:14.730Z
- Weaknesses: CWE-120
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

PM / devfreq: Fix buffer overflow in trans_stat_show

Fix buffer overflow in trans_stat_show().

Convert simple snprintf to the more secure scnprintf with size of
PAGE_SIZE.

Add condition checking if we are exceeding PAGE_SIZE and exit early from
loop. Also add at the end a warning that we exceeded PAGE_SIZE and that
stats is disabled.

Return -EFBIG in the case where we don't have enough space to write the
full transition table.

Also document in the ABI that this function can return -EFBIG error.

(As written by CVE List.)

## Affected

- Linux Linux: from e552bbaf5b987f57c43e6981a452b8a3c700b1ae before 087de000e4f8c878c81d9dd3725f00a1d292980c; from e552bbaf5b987f57c43e6981a452b8a3c700b1ae before 796d3fad8c35ee9df9027899fb90ceaeb41b958f; from e552bbaf5b987f57c43e6981a452b8a3c700b1ae before 8a7729cda2dd276d7a3994638038fb89035b6f2c; from e552bbaf5b987f57c43e6981a452b8a3c700b1ae before a979f56aa4b93579cf0e4265ae04d7e9300fd3e8; from e552bbaf5b987f57c43e6981a452b8a3c700b1ae before eaef4650fa2050147ca25fd7ee43bc0082e03c87; from e552bbaf5b987f57c43e6981a452b8a3c700b1ae before 08e23d05fa6dc4fc13da0ccf09defdd4bbc92ff4; 3.8 (not affected: before 3.8; from 5.10.216 up to 5.10.*; from 5.15.149 up to 5.15.*; from 6.1.76 up to 6.1.*; from 6.6.15 up to 6.6.*; from 6.7.3 up to 6.7.*; from 6.8 up to *)
- linux linux_kernel: from 3.8 before 5.10.216; from 5.11 before 5.15.149; from 5.16 before 6.1.76; from 6.2 before 6.6.15; from 6.7 before 6.7.3

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/087de000e4f8c878c81d9dd3725f00a1d292980c> (patch)
- <https://git.kernel.org/stable/c/796d3fad8c35ee9df9027899fb90ceaeb41b958f> (patch)
- <https://git.kernel.org/stable/c/8a7729cda2dd276d7a3994638038fb89035b6f2c> (patch)
- <https://git.kernel.org/stable/c/a979f56aa4b93579cf0e4265ae04d7e9300fd3e8> (patch)
- <https://git.kernel.org/stable/c/eaef4650fa2050147ca25fd7ee43bc0082e03c87> (patch)
- <https://git.kernel.org/stable/c/08e23d05fa6dc4fc13da0ccf09defdd4bbc92ff4> (patch)
- <https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html> (patch)
- <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>

## Sources

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

---

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