[kernel] r16465 - in dists/sid/linux-2.6/debian: . patches/bugfix/all patches/series

Dann Frazier dannf at alioth.debian.org
Tue Oct 19 19:27:56 UTC 2010


Author: dannf
Date: Tue Oct 19 19:27:49 2010
New Revision: 16465

Log:
v4l: disable dangerous buggy compat function (CVE-2010-2963)

Added:
   dists/sid/linux-2.6/debian/patches/bugfix/all/v4l-disable-dangerous-buggy-compat-function.patch
Modified:
   dists/sid/linux-2.6/debian/changelog
   dists/sid/linux-2.6/debian/patches/series/26

Modified: dists/sid/linux-2.6/debian/changelog
==============================================================================
--- dists/sid/linux-2.6/debian/changelog	Tue Oct 19 19:27:33 2010	(r16464)
+++ dists/sid/linux-2.6/debian/changelog	Tue Oct 19 19:27:49 2010	(r16465)
@@ -27,6 +27,7 @@
   [ dann frazier ]
   * Force enable DMA on MBP w/ MCP 7,1
   * RDS sockets: remove unsafe kmap_atomic optimization (CVE-2010-3904)
+  * v4l: disable dangerous buggy compat function (CVE-2010-2963)
 
  -- dann frazier <dannf at debian.org>  Fri, 15 Oct 2010 16:03:12 +0100
 

Added: dists/sid/linux-2.6/debian/patches/bugfix/all/v4l-disable-dangerous-buggy-compat-function.patch
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ dists/sid/linux-2.6/debian/patches/bugfix/all/v4l-disable-dangerous-buggy-compat-function.patch	Tue Oct 19 19:27:49 2010	(r16465)
@@ -0,0 +1,11 @@
+diff -urpN a/drivers/media/video/v4l2-compat-ioctl32.c b/drivers/media/video/v4l2-compat-ioctl32.c
+--- a/drivers/media/video/v4l2-compat-ioctl32.c	2009-12-02 20:51:21.000000000 -0700
++++ b/drivers/media/video/v4l2-compat-ioctl32.c	2010-10-18 20:50:09.824588592 -0600
+@@ -198,6 +198,7 @@ struct video_code32 {
+ 
+ static int get_microcode32(struct video_code *kp, struct video_code32 __user *up)
+ {
++	return -EFAULT;
+ 	if (!access_ok(VERIFY_READ, up, sizeof(struct video_code32)) ||
+ 		copy_from_user(kp->loadwhat, up->loadwhat, sizeof(up->loadwhat)) ||
+ 		get_user(kp->datasize, &up->datasize) ||

Modified: dists/sid/linux-2.6/debian/patches/series/26
==============================================================================
--- dists/sid/linux-2.6/debian/patches/series/26	Tue Oct 19 19:27:33 2010	(r16464)
+++ dists/sid/linux-2.6/debian/patches/series/26	Tue Oct 19 19:27:49 2010	(r16465)
@@ -10,3 +10,4 @@
 + bugfix/all/r6040-fix-r6040_multicast_list.patch
 + bugfix/all/r6040-Fix-multicast-list-iteration.patch
 + bugfix/all/net-rds-remove-kmap_atomic-optimization.patch
++ bugfix/all/v4l-disable-dangerous-buggy-compat-function.patch



More information about the Kernel-svn-changes mailing list