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-14 17:41:06 -07:00
2006-04-18 21:04:48 +10:00
2006-03-26 19:18:07 +02:00
2006-02-03 23:49:49 +01:00
2006-04-19 09:13:52 -07:00
2005-12-15 10:04:31 -08:00
2006-03-31 17:26:57 +02:00
2006-03-24 07:33:29 -08:00
2006-03-25 08:22:55 -08:00
2006-04-02 18:52:01 +02:00
2006-01-01 22:21:50 +01:00
2006-03-23 07:38:16 -08:00
2006-04-11 06:18:46 -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-11-07 07:54:02 -08:00
2005-04-16 15:20:36 -07:00
2006-01-10 08:01:24 -08:00
2006-02-03 08:32:09 -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-09-07 16:57:20 -07:00
2005-04-16 15:20:36 -07:00
2005-09-07 16:57:20 -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-06-25 16:24:57 -07:00
2006-01-12 09:09:04 -08:00
2006-04-11 06:18:41 -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-09-16 10:38:10 -07:00
2005-04-16 15:20:36 -07:00
2006-02-14 10:01:39 -08:00
2006-03-28 23:15:54 +11:00
2006-03-23 07:38:14 -08:00
2005-04-16 15:20:36 -07:00
2006-02-01 08:53:24 -08:00
2006-02-14 16:09:34 -08:00
2006-03-28 16:45:26 +11:00
2006-03-28 16:45:26 +11:00
2006-03-28 16:45:28 +11:00
2006-03-28 16:45:26 +11:00
2006-04-01 22:36:57 +11:00
2006-01-10 08:01:56 -08:00
2006-03-03 21:05:58 -05:00
2005-11-12 11:42:32 -08:00
2005-04-16 15:20:36 -07:00
2006-01-10 08:02:01 -08:00
2006-03-31 12:18:56 -08:00
2005-04-16 15:20:36 -07:00
2006-04-11 06:18:47 -07:00
2006-04-02 00:10:28 -05:00
2005-10-29 19:30:42 +01:00
2005-10-29 19:30:42 +01:00
2005-10-28 09:52:52 -07:00
2006-04-11 06:18:47 -07:00
2005-10-04 09:39:18 -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-07 15:27:59 -08:00
2006-01-10 09:45:36 -08:00
2006-03-25 08:22:52 -08:00
2006-03-28 09:16:08 -08:00
2006-01-10 08:02:00 -08:00
2006-01-10 08:01:59 -08:00
2006-03-23 07:38:11 -08:00
2006-01-10 08:01:56 -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-03-25 08:22:53 -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
2006-04-09 22:29:17 -07:00
2006-03-23 07:38:10 -08: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
2005-06-25 16:25:04 -07:00
2006-02-03 08:31:59 -08:00
2005-04-16 15:20:36 -07:00
2006-01-11 18:42:10 -08:00
2006-03-20 13:42:57 -08: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
2006-03-23 07:38:14 -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-14 10:41:42 -08:00
2006-03-23 07:38:15 -08:00
2006-03-23 07:38:15 -08:00
2006-01-26 13:32:26 -08:00
2006-01-08 20:14:03 -08:00
2005-04-16 15:20:36 -07:00
2006-01-14 10:41:42 -08:00
2006-03-31 12:18:56 -08:00
2006-03-23 07:38:14 -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-28 09:16:02 -08: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-03-22 07:53:56 -08:00
2006-02-11 21:41:13 -08:00
2006-04-11 06:18:43 -07:00
2006-03-24 07:33:19 -08:00
2006-04-19 09:13:51 -07:00
2005-06-28 21:20:34 -07:00
2005-12-29 10:19:21 -08:00
2006-01-12 20:09:29 +11:00
2005-11-09 07:55:57 -08:00
2006-03-23 07:38:14 -08:00
2006-03-22 07:53:56 -08:00
2005-11-07 07:53:39 -08:00
2006-03-31 12:18:56 -08:00