{"id":"CVE-2023-52614","summary":"PM / devfreq: Fix buffer overflow in trans_stat_show","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nPM / devfreq: Fix buffer overflow in trans_stat_show\n\nFix buffer overflow in trans_stat_show().\n\nConvert simple snprintf to the more secure scnprintf with size of\nPAGE_SIZE.\n\nAdd condition checking if we are exceeding PAGE_SIZE and exit early from\nloop. Also add at the end a warning that we exceeded PAGE_SIZE and that\nstats is disabled.\n\nReturn -EFBIG in the case where we don't have enough space to write the\nfull transition table.\n\nAlso document in the ABI that this function can return -EFBIG error.","modified":"2026-04-02T09:43:07.533570Z","published":"2024-03-18T10:14:44.929Z","related":["SUSE-SU-2024:1643-1","SUSE-SU-2024:1644-1","SUSE-SU-2024:1646-1","SUSE-SU-2024:1659-1","SUSE-SU-2024:1663-1","SUSE-SU-2024:1870-1","USN-6818-2","USN-6819-2"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52614.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/087de000e4f8c878c81d9dd3725f00a1d292980c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/08e23d05fa6dc4fc13da0ccf09defdd4bbc92ff4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/796d3fad8c35ee9df9027899fb90ceaeb41b958f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8a7729cda2dd276d7a3994638038fb89035b6f2c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a979f56aa4b93579cf0e4265ae04d7e9300fd3e8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/eaef4650fa2050147ca25fd7ee43bc0082e03c87"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52614.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-52614"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"e552bbaf5b987f57c43e6981a452b8a3c700b1ae"},{"fixed":"087de000e4f8c878c81d9dd3725f00a1d292980c"},{"fixed":"796d3fad8c35ee9df9027899fb90ceaeb41b958f"},{"fixed":"8a7729cda2dd276d7a3994638038fb89035b6f2c"},{"fixed":"a979f56aa4b93579cf0e4265ae04d7e9300fd3e8"},{"fixed":"eaef4650fa2050147ca25fd7ee43bc0082e03c87"},{"fixed":"08e23d05fa6dc4fc13da0ccf09defdd4bbc92ff4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-52614.json"}}],"schema_version":"1.7.5"}