Description
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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
36fbf1e52bd3ff8a5cb604955eedfc9350c2e6cc to < ae6d704dbf9542b0a0830ec91a2db4f30307e7d8affected36fbf1e52bd3ff8a5cb604955eedfc9350c2e6cc to < 47107491b48ceef0a2faa7a010cfa961f211ef9faffected36fbf1e52bd3ff8a5cb604955eedfc9350c2e6cc to < 7389757d88f54237951d7497d9c4dae7cc6d64beaffected36fbf1e52bd3ff8a5cb604955eedfc9350c2e6cc to < 1b08c5c3ac27c9ff91c5309f4a32b4e91ce2263baffected36fbf1e52bd3ff8a5cb604955eedfc9350c2e6cc to < 414bbad9928598904313299ac9e037a73f520be1affected36fbf1e52bd3ff8a5cb604955eedfc9350c2e6cc to < ba664d83638640cf454b65167339cbf20dfd6f10affected36fbf1e52bd3ff8a5cb604955eedfc9350c2e6cc to < 35e716a70733472ede300540082d64c33bf3b4c9affected36fbf1e52bd3ff8a5cb604955eedfc9350c2e6cc to < d8b6529e80bcb4fb8177121404cbb3377acaebd2affected
Linux Linux
Default version status: affected
5.5affected0 to < 5.5unaffected5.10.271 to ≤ 5.10.*unaffected5.15.222 to ≤ 5.15.*unaffected6.1.189 to ≤ 6.1.*unaffected6.6.158 to ≤ 6.6.*unaffected6.12.112 to ≤ 6.12.*unaffected6.18.55 to ≤ 6.18.*unaffected7.2.9 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/ae6d704dbf9542b0a0830ec91a2db4f30307e7d8 ↗
- https://git.kernel.org/stable/c/47107491b48ceef0a2faa7a010cfa961f211ef9f ↗
- https://git.kernel.org/stable/c/7389757d88f54237951d7497d9c4dae7cc6d64be ↗
- https://git.kernel.org/stable/c/1b08c5c3ac27c9ff91c5309f4a32b4e91ce2263b ↗
- https://git.kernel.org/stable/c/414bbad9928598904313299ac9e037a73f520be1 ↗
- https://git.kernel.org/stable/c/ba664d83638640cf454b65167339cbf20dfd6f10 ↗
- https://git.kernel.org/stable/c/35e716a70733472ede300540082d64c33bf3b4c9 ↗
- https://git.kernel.org/stable/c/d8b6529e80bcb4fb8177121404cbb3377acaebd2 ↗