Ralph Loader
fe6c700ff3
V4L/DVB (9053): fix buffer overflow in uvc-video
...
There is a buffer overflow in drivers/media/video/uvc/uvc_ctrl.c:
INFO: 0xf2c5ce08-0xf2c5ce0b. First byte 0xa1 instead of 0xcc
INFO: Allocated in uvc_query_v4l2_ctrl+0x3c/0x239 [uvcvideo] age=13 cpu=1 pid=4975
...
A fixed size 8-byte buffer is allocated, and a variable size field is read
into it; there is no particular bound on the size of the field (it is
dependent on hardware and configuration) and it can overflow [also
verified by inserting printk's.]
The patch attempts to size the buffer to the correctly.
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Acked-by: Laurent Pinchart <laurent.pinchart@skynet.be>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-10-04 23:04:32 -03:00
..
2008-09-03 18:37:21 -03:00
2008-10-04 22:38:12 -03:00
2008-09-29 08:26:10 -03:00
2008-10-04 22:27:16 -03:00
2008-09-29 11:31:19 -03:00
2008-09-03 18:37:21 -03:00
2008-09-03 18:37:21 -03:00
2008-10-04 22:43:41 -03:00
2008-09-04 18:27:35 -03:00
2008-10-04 22:34:20 -03:00
2008-09-03 18:36:25 -03:00
2008-07-20 07:18:34 -03:00
2008-09-29 08:27:25 -03:00
2008-09-03 18:37:13 -03:00
2008-07-27 12:24:37 -03:00
2008-09-04 18:27:35 -03:00
2008-09-03 18:37:17 -03:00
2008-07-27 11:07:10 -03:00
2008-10-04 23:04:32 -03:00
2008-09-04 18:27:35 -03:00
2008-04-24 13:42:20 -03:00
2008-04-24 13:42:20 -03:00
2008-08-06 06:57:07 -03:00
2008-07-20 07:24:26 -03:00
2008-04-24 13:42:20 -03:00
2007-12-13 17:58:05 -02:00
2008-09-03 18:37:13 -03:00
2008-09-03 18:37:13 -03:00
2008-09-03 18:37:17 -03:00
2008-09-03 18:37:17 -03:00
2007-05-22 16:16:27 -03:00
2008-10-04 22:40:18 -03:00
2008-07-23 19:00:22 -03:00
2007-05-08 11:15:07 -07:00
2008-04-24 14:07:59 -03:00
2008-09-03 18:37:17 -03:00
2008-07-23 19:00:17 -03:00
2008-08-01 12:46:41 -07:00
2008-08-01 12:46:41 -07:00
2008-07-20 07:28:07 -03:00
2008-09-03 18:37:55 -03:00
2008-04-24 13:42:20 -03:00
2008-04-24 13:42:20 -03:00
2008-04-24 13:42:20 -03:00
2008-02-03 17:18:59 +02:00
2008-07-20 07:29:03 -03:00
2008-08-06 06:57:03 -03:00
2008-09-03 18:37:13 -03:00
2008-07-26 13:11:36 -03:00
2008-09-03 18:37:07 -03:00
2008-09-03 18:37:10 -03:00
2007-10-19 23:21:04 +02:00
2008-07-26 13:11:36 -03:00
2007-04-27 15:43:50 -03:00
2008-07-26 13:11:36 -03:00
2008-07-23 16:42:49 -03:00
2008-08-01 12:46:41 -07:00
2008-09-03 18:37:13 -03:00
2008-09-29 11:32:32 -03:00
2008-07-23 19:00:17 -03:00
2008-07-20 07:28:27 -03:00
2008-09-03 18:37:09 -03:00
2008-08-08 19:18:18 +01:00
2008-10-04 22:42:58 -03:00
2006-09-26 12:30:34 -03:00
2008-07-26 13:11:36 -03:00
2008-07-27 11:07:10 -03:00
2007-02-21 13:35:16 -02:00
2008-07-27 11:07:10 -03:00
2008-07-20 07:17:52 -03:00
2008-04-24 13:42:20 -03:00
2008-04-24 13:42:20 -03:00
2008-04-24 13:42:20 -03:00
2008-09-03 18:37:18 -03:00
2008-07-20 07:28:17 -03:00
2008-04-24 13:42:20 -03:00
2007-09-14 13:13:42 -03:00
2008-09-03 18:37:17 -03:00
2008-07-23 19:00:17 -03:00
2008-08-06 06:57:30 -03:00
2008-08-06 06:57:30 -03:00
2008-08-06 06:57:32 -03:00
2008-02-18 11:15:08 -03:00
2008-07-27 11:07:10 -03:00
2008-02-18 11:15:08 -03:00
2008-07-27 11:07:10 -03:00
2008-09-03 18:37:17 -03:00
2008-07-20 07:06:01 -03:00
2008-07-20 07:06:01 -03:00
2008-07-26 13:11:36 -03:00
2008-07-20 07:17:52 -03:00
2008-07-26 13:11:36 -03:00
2008-07-20 07:17:52 -03:00
2008-07-20 07:17:52 -03:00
2008-07-26 13:11:36 -03:00
2008-07-23 19:00:17 -03:00
2008-07-20 07:18:38 -03:00
2008-07-26 13:11:36 -03:00
2008-07-26 13:11:36 -03:00
2008-05-18 20:49:40 +02:00
2008-05-18 20:49:40 +02:00
2008-07-23 19:00:17 -03:00
2008-07-26 13:11:36 -03:00
2008-09-03 18:37:11 -03:00
2008-04-01 19:35:47 -03:00
2008-09-03 18:36:41 -03:00
2008-07-24 10:47:21 -07:00
2008-07-23 08:09:21 -03:00
2008-07-20 07:25:32 -03:00
2008-07-20 07:17:52 -03:00
2008-07-27 11:07:13 -03:00
2008-04-24 14:09:40 -03:00
2008-08-06 06:57:08 -03:00
2008-09-03 18:37:53 -03:00
2008-07-26 13:11:36 -03:00
2008-07-26 13:18:11 -03:00
2008-09-03 18:37:17 -03:00
2008-09-29 08:24:57 -03:00
2008-07-26 13:11:36 -03:00
2008-09-10 23:18:32 -03:00
2008-07-26 13:11:36 -03:00
2008-10-04 22:38:39 -03:00
2008-07-26 13:18:27 -03:00
2008-06-05 06:35:52 -03:00
2006-10-05 15:10:12 +01:00
2008-10-04 22:40:33 -03:00
2008-04-29 08:06:22 -07:00
2008-06-05 06:35:52 -03:00
2008-07-27 11:07:10 -03:00
2008-04-24 13:42:20 -03:00
2008-04-24 13:42:20 -03:00
2008-04-24 13:42:20 -03:00