Description
Integer signedness error in the fw_ioctl (FW_IOCTL) function in the FireWire (IEEE-1394) drivers (dev/firewire/fwdev.c) in various BSD kernels, including DragonFlyBSD, FreeBSD 5.5, MidnightBSD 0.1-CURRENT before 20061115, NetBSD-current before 20061116, NetBSD-4 before 20061203, and TrustedBSD, allows local users to read arbitrary memory contents via certain negative values of crom_buf->len in an FW_GCROM command. NOTE: this issue has been labeled as an integer overflow, but it is more like an integer signedness error.
Affected products
- dragonflybsd / dragonflybsd
- FreeBSD / FreeBSD5.5 – 5.5
- midnightbsd / midnightbsd0.1-current – 0.1-current
- NetBSD / netbsd2.0.4 – 2.0.4
- trustedbsd / trustedbsd
References
- MISChttp://www.securityfocus.com/archive/1/451861/100/0/threaded
- MISChttp://securitytracker.com/id?1017344
- MISChttp://archives.neohapsis.com/archives/fulldisclosure/2006-11/0261.html
- MISChttp://www.securityfocus.com/archive/1/451637/100/0/threaded
- MISChttp://mail-index.netbsd.org/tech-security/2006/11/16/0001.html
- VENDOR_ADVISORYhttp://security.freebsd.org/advisories/FreeBSD-SA-06:25.kmem.asc
- MISChttps://exchange.xforce.ibmcloud.com/vulnerabilities/30347
- MISChttp://www.securityfocus.com/archive/1/452264/100/0/threaded
- MISChttp://www.securityfocus.com/archive/1/452331/100/0/threaded
- MISChttp://www.securityfocus.com/archive/1/452124/100/0/threaded
- MISChttp://mail-index.netbsd.org/tech-security/2006/12/14/0002.html
- MISChttp://www.dragonflybsd.org/cvsweb/src/sys/bus/firewire/fwdev.c
- MISChttp://www.securityfocus.com/bid/21089
- VENDOR_ADVISORYhttp://secunia.com/advisories/22917
- MISChttp://www.securityfocus.com/archive/1/451698/100/0/threaded
- MISChttp://cvsweb.netbsd.org/bsdweb.cgi/src/sys/dev/ieee1394/fwdev.c
- MISChttp://www.securityfocus.com/archive/1/451677/100/0/threaded
- MISChttp://www.securityfocus.com/archive/1/451629/100/0/threaded
- MISChttp://www.kernelhacking.com/bsdadv1.txt