HighFix available
drm/log: Fix out-of-bounds read on empty message length
Type: advisorySources: OSV
In the Linux kernel, the following vulnerability has been resolved: drm/log: Fix out-of-bounds read on empty message length drm_log_draw_kmsg_record() accesses s[len - 1] to strip the trailing newline, but len is unsigned int. If len is 0, the subtraction wraps to UINT_MAX, causing an out-of-bounds read. Add an early return when len is 0.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.18.46, 7.1.10
- CVEs
- CVE-2026-80741
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 03:52 UTC · Revision 1
Source evidence
drm/log: Fix out-of-bounds read on empty message length
core-osv · Original sourcePublished 3 Sept 2026, 08:26 UTC
In the Linux kernel, the following vulnerability has been resolved: drm/log: Fix out-of-bounds read on empty message length drm_log_draw_kmsg_record() accesses s[len - 1] to strip the trailing newline, but len is unsigned int. If len is 0, the subtraction wraps to UINT_MAX, causing an out-of-bounds read. Add an early return when len is 0.
osv:CVE-2026-80741
Kernel
Fixed versions: 6.18.46, 7.1.10
Complete source record
{
"id": "7e1ba5663c04d862ef4b975ae9616a81fb03dea60abe174fd567a2cac635ce0e",
"url": "https://osv.dev/vulnerability/CVE-2026-80741",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "drm/log: Fix out-of-bounds read on empty message length",
"summary": "In the Linux kernel, the following vulnerability has been resolved: drm/log: Fix out-of-bounds read on empty message length drm_log_draw_kmsg_record() accesses s[len - 1] to strip the trailing newline, but len is unsigned int. If len is 0, the subtraction wraps to UINT_MAX, causing an out-of-bounds read. Add an early return when len is 0.",
"evidence": "osv:CVE-2026-80741",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.18.46",
"evidence": "/affected/1/ranges"
},
{
"value": "7.1.10",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "CVE-2026-80741",
"aliases": [
"CVE-2026-80741"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "25e2c2a3eff55683bbe77b108db2a7e389246666"
},
{
"fixed": "16a2716910ecf7d31bf3c033ee7c506a0b00b2ee"
},
{
"fixed": "16bcea56f4205314ec2aa04a7ec74e5261d253c7"
},
{
"fixed": "60baa179ed1333535f6e2da4133511db55278ee4"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80741.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.14.0"
},
{
"fixed": "6.18.46"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.19.0"
},
{
"fixed": "7.1.10"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80741.json"
}
}
],
"modified": "2026-10-28T02:30:32.856913506Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/16a2716910ecf7d31bf3c033ee7c506a0b00b2ee",
"https://git.kernel.org/stable/c/16bcea56f4205314ec2aa04a7ec74e5261d253c7",
"https://git.kernel.org/stable/c/60baa179ed1333535f6e2da4133511db55278ee4",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80741.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-80741",
"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/80xxx/CVE-2026-80741.json"
}
},
"related_cves": [
{
"value": "CVE-2026-80741",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 500146,
"published_at": "2026-09-03T08:26:25.322+00:00"
}