Heikki Orsila 3fb0cb5d0f [PATCH] Open IPMI BT overflow
I was looking into random driver code and found a suspicious looking
memcpy() in drivers/char/ipmi/ipmi_bt_sm.c on 2.6.17-rc1:

	if ((size < 2) || (size > IPMI_MAX_MSG_LENGTH))
		return -1;
	...
	memcpy(bt->write_data + 3, data + 1, size - 1);

where sizeof bt->write_data is IPMI_MAX_MSG_LENGTH.  It looks like the
memcpy would overflow by 2 bytes if size == IPMI_MAX_MSG_LENGTH.  A patch
attached to limit size to (IPMI_MAX_LENGTH - 2).

Cc: Corey Minyard <minyard@acm.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-04-19 09:13:52 -07:00
..
2006-04-19 09:13:52 -07:00
2006-03-25 08:22:55 -08:00
2006-01-01 22:21:50 +01:00
2006-03-23 07:38:16 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-03-26 18:17:21 +02:00
2005-04-16 15:20:36 -07:00
2006-02-14 10:01:39 -08:00
2005-04-16 15:20:36 -07:00
2006-03-28 16:45:26 +11:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-04-11 06:18:47 -07:00
2005-10-29 19:30:42 +01:00
2005-10-29 19:30:42 +01:00
2006-04-11 06:18:47 -07:00
2005-05-04 07:33:13 -07:00
2006-03-28 09:16:05 -08:00
2006-03-28 09:16:05 -08:00
2006-03-25 08:22:52 -08:00
2006-03-28 09:16:08 -08:00
2006-01-10 08:01:59 -08:00
2006-03-23 07:38:11 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-03-23 07:38:11 -08:00
2006-01-10 08:01:59 -08:00
2005-10-29 19:30:55 +01:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-03-25 08:22:52 -08:00
2005-04-16 15:20:36 -07:00
2006-02-03 08:31:59 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-01-12 09:09:00 -08:00
2005-04-16 15:20:36 -07:00
2006-01-10 08:01:59 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-03-23 07:38:15 -08:00
2006-03-23 07:38:15 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-03-28 09:16:08 -08:00
2006-03-24 07:33:24 -08:00
2006-03-25 08:22:52 -08:00
2006-02-11 21:41:13 -08:00
2006-04-19 09:13:51 -07:00
2006-03-31 12:18:56 -08:00