net: arp: terminate device name before lookup
In the Linux kernel, the following vulnerability has been resolved: net: arp: terminate device name before lookup The ARP ioctl copies a user-provided struct arpreq into a stack object. Its arp_dev field may contain IFNAMSIZ bytes without a NUL terminator. Such input is passed to dev_get_by_name_rcu() or __dev_get_by_name(), where strcmp() can read past the end of the stack object when a matching alternative interface name exists. Terminate the field before the lookup to prevent the out-of-bounds read.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 5.10.271, 5.15.222, 6.1.189, 6.12.112, 6.18.55, 6.6.158, 7.2.9
- CVEs
- CVE-2026-98495
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 17:40 UTC · Revision 1
Source evidence
net: arp: terminate device name before lookup
core-osv · Original sourcePublished 18 Oct 2026, 15:16 UTC
In the Linux kernel, the following vulnerability has been resolved: net: arp: terminate device name before lookup The ARP ioctl copies a user-provided struct arpreq into a stack object. Its arp_dev field may contain IFNAMSIZ bytes without a NUL terminator. Such input is passed to dev_get_by_name_rcu() or __dev_get_by_name(), where strcmp() can read past the end of the stack object when a matching alternative interface name exists. Terminate the field before the lookup to prevent the out-of-bounds read.
osv:CVE-2026-98495
Kernel
Fixed versions: 5.10.271, 5.15.222, 6.1.189, 6.6.158, 6.12.112, 6.18.55, 7.2.9
Complete source record
{
"id": "cbdb39621686e89b0b4bb0c4087539075fde2883682d5a399aaaa2535030904b",
"url": "https://osv.dev/vulnerability/CVE-2026-98495",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "net: arp: terminate device name before lookup",
"summary": "In the Linux kernel, the following vulnerability has been resolved: net: arp: terminate device name before lookup The ARP ioctl copies a user-provided struct arpreq into a stack object. Its arp_dev field may contain IFNAMSIZ bytes without a NUL terminator. Such input is passed to dev_get_by_name_rcu() or __dev_get_by_name(), where strcmp() can read past the end of the stack object when a matching alternative interface name exists. Terminate the field before the lookup to prevent the out-of-bounds read.",
"evidence": "osv:CVE-2026-98495",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.10.271",
"evidence": "/affected/1/ranges"
},
{
"value": "5.15.222",
"evidence": "/affected/1/ranges"
},
{
"value": "6.1.189",
"evidence": "/affected/1/ranges"
},
{
"value": "6.6.158",
"evidence": "/affected/1/ranges"
},
{
"value": "6.12.112",
"evidence": "/affected/1/ranges"
},
{
"value": "6.18.55",
"evidence": "/affected/1/ranges"
},
{
"value": "7.2.9",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2026-98495",
"aliases": [
"CVE-2026-98495"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "36fbf1e52bd3ff8a5cb604955eedfc9350c2e6cc"
},
{
"fixed": "ae6d704dbf9542b0a0830ec91a2db4f30307e7d8"
},
{
"fixed": "47107491b48ceef0a2faa7a010cfa961f211ef9f"
},
{
"fixed": "7389757d88f54237951d7497d9c4dae7cc6d64be"
},
{
"fixed": "1b08c5c3ac27c9ff91c5309f4a32b4e91ce2263b"
},
{
"fixed": "414bbad9928598904313299ac9e037a73f520be1"
},
{
"fixed": "ba664d83638640cf454b65167339cbf20dfd6f10"
},
{
"fixed": "35e716a70733472ede300540082d64c33bf3b4c9"
},
{
"fixed": "d8b6529e80bcb4fb8177121404cbb3377acaebd2"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98495.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.5.0"
},
{
"fixed": "5.10.271"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.11.0"
},
{
"fixed": "5.15.222"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.16.0"
},
{
"fixed": "6.1.189"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.6.158"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.12.112"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.18.55"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.19.0"
},
{
"fixed": "7.2.9"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98495.json"
}
}
],
"modified": "2026-10-28T02:30:37.968445842Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/1b08c5c3ac27c9ff91c5309f4a32b4e91ce2263b",
"https://git.kernel.org/stable/c/35e716a70733472ede300540082d64c33bf3b4c9",
"https://git.kernel.org/stable/c/414bbad9928598904313299ac9e037a73f520be1",
"https://git.kernel.org/stable/c/47107491b48ceef0a2faa7a010cfa961f211ef9f",
"https://git.kernel.org/stable/c/7389757d88f54237951d7497d9c4dae7cc6d64be",
"https://git.kernel.org/stable/c/ae6d704dbf9542b0a0830ec91a2db4f30307e7d8",
"https://git.kernel.org/stable/c/ba664d83638640cf454b65167339cbf20dfd6f10",
"https://git.kernel.org/stable/c/d8b6529e80bcb4fb8177121404cbb3377acaebd2",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98495.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-98495",
"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/98xxx/CVE-2026-98495.json"
}
},
"related_cves": [
{
"value": "CVE-2026-98495",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 505415,
"published_at": "2026-10-18T15:16:24.81+00:00"
}