CVE-2026-98495 PUBLISHED

net: arp: terminate device name before lookup

Assigner: Linux
Reserved: 25.09.2026 Published: 18.10.2026 Updated: 18.10.2026

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.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 36fbf1e52bd3ff8a5cb604955eedfc9350c2e6cc to ae6d704dbf9542b0a0830ec91a2db4f30307e7d8 (excl.)
  • affected from 36fbf1e52bd3ff8a5cb604955eedfc9350c2e6cc to 47107491b48ceef0a2faa7a010cfa961f211ef9f (excl.)
  • affected from 36fbf1e52bd3ff8a5cb604955eedfc9350c2e6cc to 7389757d88f54237951d7497d9c4dae7cc6d64be (excl.)
  • affected from 36fbf1e52bd3ff8a5cb604955eedfc9350c2e6cc to 1b08c5c3ac27c9ff91c5309f4a32b4e91ce2263b (excl.)
  • affected from 36fbf1e52bd3ff8a5cb604955eedfc9350c2e6cc to 414bbad9928598904313299ac9e037a73f520be1 (excl.)
  • affected from 36fbf1e52bd3ff8a5cb604955eedfc9350c2e6cc to ba664d83638640cf454b65167339cbf20dfd6f10 (excl.)
  • affected from 36fbf1e52bd3ff8a5cb604955eedfc9350c2e6cc to 35e716a70733472ede300540082d64c33bf3b4c9 (excl.)
  • affected from 36fbf1e52bd3ff8a5cb604955eedfc9350c2e6cc to d8b6529e80bcb4fb8177121404cbb3377acaebd2 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 5.5 is affected
  • unaffected from 0 to 5.5 (excl.)
  • unaffected from 5.10.271 to 5.10.* (incl.)
  • unaffected from 5.15.222 to 5.15.* (incl.)
  • unaffected from 6.1.189 to 6.1.* (incl.)
  • unaffected from 6.6.158 to 6.6.* (incl.)
  • unaffected from 6.12.112 to 6.12.* (incl.)
  • unaffected from 6.18.55 to 6.18.* (incl.)
  • unaffected from 7.2.9 to 7.2.* (incl.)
  • unaffected from 7.3-rc5 to * (incl.)

References