{"id":"CVE-2023-52614","aliases":["CVE-2023-52614"],"related":[],"kind":"vulnerability","state":"published","title":"PM / devfreq: Fix buffer overflow in trans_stat_show","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux se ha resuelto la siguiente vulnerabilidad: PM / devfreq: Arreglar desbordamiento de búfer en trans_stat_show Arreglar desbordamiento de búfer en trans_stat_show(). Convierta snprintf simple en scnprintf más seguro con un tamaño de PAGE_SIZE. Agregue verificación de condiciones si excedemos PAGE_SIZE y salga temprano del ciclo. También agregue al final una advertencia de que excedimos PAGE_SIZE y que las estadísticas están deshabilitadas. Devuelve -EFBIG en el caso de que no tengamos suficiente espacio para escribir la tabla de transición completa. También documente en la ABI que esta función puede devolver el error -EFBIG.","source":"nvd"}],"published":"2024-03-18T10:14:44.929Z","modified":"2026-10-15T01:17:14.730Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-120"],"affected":[{"ranges":[{"type":"git","introduced":"e552bbaf5b987f57c43e6981a452b8a3c700b1ae","fixed":"087de000e4f8c878c81d9dd3725f00a1d292980c","status":"affected"},{"type":"git","introduced":"e552bbaf5b987f57c43e6981a452b8a3c700b1ae","fixed":"796d3fad8c35ee9df9027899fb90ceaeb41b958f","status":"affected"},{"type":"git","introduced":"e552bbaf5b987f57c43e6981a452b8a3c700b1ae","fixed":"8a7729cda2dd276d7a3994638038fb89035b6f2c","status":"affected"},{"type":"git","introduced":"e552bbaf5b987f57c43e6981a452b8a3c700b1ae","fixed":"a979f56aa4b93579cf0e4265ae04d7e9300fd3e8","status":"affected"},{"type":"git","introduced":"e552bbaf5b987f57c43e6981a452b8a3c700b1ae","fixed":"eaef4650fa2050147ca25fd7ee43bc0082e03c87","status":"affected"},{"type":"git","introduced":"e552bbaf5b987f57c43e6981a452b8a3c700b1ae","fixed":"08e23d05fa6dc4fc13da0ccf09defdd4bbc92ff4","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.8","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.8","status":"unaffected"},{"type":"semver","introduced":"5.10.216","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.149","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.76","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.15","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.7.3","lastAffected":"6.7.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.8","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"3.8","fixed":"5.10.216"},{"status":"affected","introduced":"5.11","fixed":"5.15.149"},{"status":"affected","introduced":"5.16","fixed":"6.1.76"},{"status":"affected","introduced":"6.2","fixed":"6.6.15"},{"status":"affected","introduced":"6.7","fixed":"6.7.3"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/087de000e4f8c878c81d9dd3725f00a1d292980c","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/796d3fad8c35ee9df9027899fb90ceaeb41b958f","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8a7729cda2dd276d7a3994638038fb89035b6f2c","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a979f56aa4b93579cf0e4265ae04d7e9300fd3e8","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/eaef4650fa2050147ca25fd7ee43bc0082e03c87","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/08e23d05fa6dc4fc13da0ccf09defdd4bbc92ff4","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-265688.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-03-18T15:34:29.560Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-52614","url":"https://www.cve.org/CVERecord?id=CVE-2023-52614","licence":"CVE Terms of Use","modified":"2026-10-15T00:17:03.190Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-52614","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-52614","licence":"Public domain","modified":"2026-10-15T01:17:14.730Z"}],"updatedAt":"2026-11-25T22:58:33.357Z","epss":{"score":0.00261,"percentile":0.19155,"date":"2026-12-01T12:00:22.000Z"}}