Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 36fbf1e52bd3ff8a5cb604955eedfc9350c2e6cc before ae6d704dbf9542b0a0830ec91a2db4f30307e7d8; affected 36fbf1e52bd3ff8a5cb604955eedfc9350c2e6cc before 47107491b48ceef0a2faa7a010cfa961f211ef9f; affected 36fbf1e52bd3ff8a5cb604955eedfc9350c2e6cc before 7389757d88f54237951d7497d9c4dae7cc6d64be; affected 36fbf1e52bd3ff8a5cb604955eedfc9350c2e6cc before 1b08c5c3ac27c9ff91c5309f4a32b4e91ce2263b; affected 36fbf1e52bd3ff8a5cb604955eedfc9350c2e6cc before 414bbad9928598904313299ac9e037a73f520be1; affected 36fbf1e52bd3ff8a5cb604955eedfc9350c2e6cc before ba664d83638640cf454b65167339cbf20dfd6f10; affected 36fbf1e52bd3ff8a5cb604955eedfc9350c2e6cc before 35e716a70733472ede300540082d64c33bf3b4c9; affected 36fbf1e52bd3ff8a5cb604955eedfc9350c2e6cc before d8b6529e80bcb4fb8177121404cbb3377acaebd2 |
| Linux / Linux | affected 5.5; unaffected 0 before 5.5; unaffected 5.10.271 through 5.10.*; unaffected 5.15.222 through 5.15.*; unaffected 6.1.189 through 6.1.*; unaffected 6.6.158 through 6.6.*; unaffected 6.12.112 through 6.12.*; unaffected 6.18.55 through 6.18.*; unaffected 7.2.9 through 7.2.*; unaffected 7.3 through * |
CWE
No CWE identifiers supplied.
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