net: arp: terminate device name before lookup
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.10.271, 5.15.222, 6.1.189, 6.6.158, 6.12.112, and 2 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 36fbf1e52bd3ff8a5cb604955eedfc9350c2e6cc · fixed in ae6d704dbf9542b0a0830ec91a2db4f30307e7d8; From 36fbf1e52bd3ff8a5cb604955eedfc9350c2e6cc · fixed in 47107491b48ceef0a2faa7a010cfa961f211ef9f; From 36fbf1e52bd3ff8a5cb604955eedfc9350c2e6cc · fixed in 7389757d88f54237951d7497d9c4dae7cc6d64be; From 36fbf1e52bd3ff8a5cb604955eedfc9350c2e6cc · fixed in 1b08c5c3ac27c9ff91c5309f4a32b4e91ce2263b; From 36fbf1e52bd3ff8a5cb604955eedfc9350c2e6cc · fixed in 414bbad9928598904313299ac9e037a73f520be1; From 36fbf1e52bd3ff8a5cb604955eedfc9350c2e6cc · fixed in ba664d83638640cf454b65167339cbf20dfd6f10; From 36fbf1e52bd3ff8a5cb604955eedfc9350c2e6cc · fixed in 35e716a70733472ede300540082d64c33bf3b4c9; From 36fbf1e52bd3ff8a5cb604955eedfc9350c2e6cc · fixed in d8b6529e80bcb4fb8177121404cbb3377acaebd2
- Linux Linux
5.5
- KernelLinux
From 5.5.0 · fixed in 5.10.271; From 5.11.0 · fixed in 5.15.222; From 5.16.0 · fixed in 6.1.189; From 6.2.0 · fixed in 6.6.158; From 6.7.0 · fixed in 6.12.112; From 6.13.0 · fixed in 6.18.55; From 6.19.0 · fixed in 7.2.9
References 8
git.kernel.org
- stable/c/ae6d704dbf9542b0a0830ec91a2db4f30307e7d8
- stable/c/47107491b48ceef0a2faa7a010cfa961f211ef9f
- stable/c/7389757d88f54237951d7497d9c4dae7cc6d64be
- stable/c/1b08c5c3ac27c9ff91c5309f4a32b4e91ce2263b
- stable/c/414bbad9928598904313299ac9e037a73f520be1
- stable/c/ba664d83638640cf454b65167339cbf20dfd6f10
- stable/c/35e716a70733472ede300540082d64c33bf3b4c9
- stable/c/d8b6529e80bcb4fb8177121404cbb3377acaebd2