lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-ID: <20100103101356.GA13023@bicker> Date: Sun, 3 Jan 2010 12:13:56 +0200 From: Dan Carpenter <error27@...il.com> To: Grant Grundler <grundler@...isc-linux.org> Cc: Kyle McMartin <kyle@...artin.ca>, netdev@...r.kernel.org Subject: potential overflow in de4x5.c Hi I found this using smatch (http://repo.or.cz/w/smatch.git). drivers/net/tulip/de4x5.c 4772 lp->active = *p++; 4773 if (MOTO_SROM_BUG) lp->active = 0; 4774 lp->phy[lp->active].gep = (*p ? p : NULL); p += (2 * (*p) + 1); lp->phy is an array of size 8. MOTO_SROM_BUG is defined like this. #define MOTO_SROM_BUG (lp->active == 8 && (get_unaligned_le32(dev->dev_addr) & 0x00ffffff) == 0x3e0008) If lp->active == 8 then we have a buffer overflow. regards, dan carpenter -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists