PM / devfreq: Fix buffer overflow in trans_stat_show
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 5.10.216, 5.15.149, 6.1.76, 6.6.15, 6.7.3
- CVEs
- CVE-2023-52614
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 19:57 UTC · Revision 1
Source evidence
PM / devfreq: Fix buffer overflow in trans_stat_show
core-osv · Original sourcePublished 18 Mar 2024, 10:14 UTC
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.
osv:CVE-2023-52614
Kernel
Fixed versions: 5.10.216, 5.15.149, 6.1.76, 6.6.15, 6.7.3
Complete source record
{
"id": "97bf3501debf3718724dab1c626d26fa3ffed06baeefdf4c03eed017a1902c6d",
"url": "https://osv.dev/vulnerability/CVE-2023-52614",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "PM / devfreq: Fix buffer overflow in trans_stat_show",
"summary": "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.",
"evidence": "osv:CVE-2023-52614",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.10.216",
"evidence": "/affected/1/ranges"
},
{
"value": "5.15.149",
"evidence": "/affected/1/ranges"
},
{
"value": "6.1.76",
"evidence": "/affected/1/ranges"
},
{
"value": "6.6.15",
"evidence": "/affected/1/ranges"
},
{
"value": "6.7.3",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "CVE-2023-52614",
"aliases": [
"CVE-2023-52614"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "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"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "3.8.0"
},
{
"fixed": "5.10.216"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.11.0"
},
{
"fixed": "5.15.149"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.16.0"
},
{
"fixed": "6.1.76"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.6.15"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.7.3"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-52614.json"
}
}
],
"modified": "2026-10-28T02:30:32.126440969Z",
"provider": "osv",
"references": [
"https://cert-portal.siemens.com/productcert/html/ssa-265688.html",
"https://git.kernel.org/stable/c/087de000e4f8c878c81d9dd3725f00a1d292980c",
"https://git.kernel.org/stable/c/08e23d05fa6dc4fc13da0ccf09defdd4bbc92ff4",
"https://git.kernel.org/stable/c/796d3fad8c35ee9df9027899fb90ceaeb41b958f",
"https://git.kernel.org/stable/c/8a7729cda2dd276d7a3994638038fb89035b6f2c",
"https://git.kernel.org/stable/c/a979f56aa4b93579cf0e4265ae04d7e9300fd3e8",
"https://git.kernel.org/stable/c/eaef4650fa2050147ca25fd7ee43bc0082e03c87",
"https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52614.json",
"https://nvd.nist.gov/vuln/detail/CVE-2023-52614",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52614.json"
}
},
"related_cves": [
{
"value": "CVE-2023-52614",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 498842,
"published_at": "2024-03-18T10:14:44.929+00:00"
}