drm/rockchip: analogix_dp: fix unchecked bound endpoint name length
In the Linux kernel, the following vulnerability has been resolved: drm/rockchip: analogix_dp: fix unchecked bound endpoint name length rockchip_dp_drm_encoder_enable() uses sprintf() to format a device tree path into a 32-byte stack buffer. Device tree paths are not limited to this size, so a sufficiently long path can overflow the buffer. Use snprintf() with the destination size to truncate the generated name and keep the writes within bounds.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.18.53, 7.2.7
- CVEs
- CVE-2026-97621
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 2 Nov 2026, 18:46 UTC · Revision 1
Source evidence
drm/rockchip: analogix_dp: fix unchecked bound endpoint name length
core-osv · Original sourcePublished 25 Sept 2026, 10:22 UTC
In the Linux kernel, the following vulnerability has been resolved: drm/rockchip: analogix_dp: fix unchecked bound endpoint name length rockchip_dp_drm_encoder_enable() uses sprintf() to format a device tree path into a 32-byte stack buffer. Device tree paths are not limited to this size, so a sufficiently long path can overflow the buffer. Use snprintf() with the destination size to truncate the generated name and keep the writes within bounds.
osv:CVE-2026-97621
Kernel
Fixed versions: 6.18.53, 7.2.7
Complete source record
{
"id": "6ea1bc3febd6d93bdaae73dee5741fd08e6bcd1cfafbf5757efd3e4d9066505c",
"url": "https://osv.dev/vulnerability/CVE-2026-97621",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "drm/rockchip: analogix_dp: fix unchecked bound endpoint name length",
"summary": "In the Linux kernel, the following vulnerability has been resolved: drm/rockchip: analogix_dp: fix unchecked bound endpoint name length rockchip_dp_drm_encoder_enable() uses sprintf() to format a device tree path into a 32-byte stack buffer. Device tree paths are not limited to this size, so a sufficiently long path can overflow the buffer. Use snprintf() with the destination size to truncate the generated name and keep the writes within bounds.",
"evidence": "osv:CVE-2026-97621",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.18.53",
"evidence": "/affected/1/ranges"
},
{
"value": "7.2.7",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2026-97621",
"aliases": [
"CVE-2026-97621"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "729f8eefdcadaff98606931e691910f17d8d59d6"
},
{
"fixed": "49f5268f43a791dd0d9ff554cce25a3685c7250b"
},
{
"fixed": "2fcd112caa4ebc64fdcb509f0b26d8daa3fac950"
},
{
"fixed": "bc69439d983cc491cc86e01fafc1deb94e1bb85e"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-97621.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.16.0"
},
{
"fixed": "6.18.53"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.19.0"
},
{
"fixed": "7.2.7"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-97621.json"
}
}
],
"modified": "2026-10-28T02:30:22.243332781Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/2fcd112caa4ebc64fdcb509f0b26d8daa3fac950",
"https://git.kernel.org/stable/c/49f5268f43a791dd0d9ff554cce25a3685c7250b",
"https://git.kernel.org/stable/c/bc69439d983cc491cc86e01fafc1deb94e1bb85e",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/97xxx/CVE-2026-97621.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-97621",
"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/2026/97xxx/CVE-2026-97621.json"
}
},
"related_cves": [
{
"value": "CVE-2026-97621",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 488733,
"published_at": "2026-09-25T10:22:26.827+00:00"
}