From: Greg Kroah-Hartman Date: Sat, 1 Apr 2006 14:30:27 +0000 (-0800) Subject: added CVE number to sysfs patch X-Git-Tag: v2.6.16.2~9 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0786b190dab436a95e951624d294d866507c7b98;p=thirdparty%2Fkernel%2Fstable-queue.git added CVE number to sysfs patch --- diff --git a/queue-2.6.16/sysfs-off-by-one.patch b/queue-2.6.16/sysfs-off-by-one.patch index 3e9949f4b85..4aa90597cb3 100644 --- a/queue-2.6.16/sysfs-off-by-one.patch +++ b/queue-2.6.16/sysfs-off-by-one.patch @@ -1,13 +1,15 @@ From foo@baz Tue Apr 9 12:12:43 2002 Date: Fri, 31 Mar 2006 15:37:06 -0800 From: Greg Kroah-Hartman -Subject: sysfs: zero terminate sysfs write buffers +Subject: sysfs: zero terminate sysfs write buffers (CVE-2006-1055) No one should be writing a PAGE_SIZE worth of data to a normal sysfs file, so properly terminate the buffer. Thanks to Al Viro for pointing out my stupidity here. +CVE-2006-1055 has been assigned for this. + Signed-off-by: Greg Kroah-Hartman --- @@ -16,7 +18,7 @@ Signed-off-by: Greg Kroah-Hartman --- gregkh-2.6.orig/fs/sysfs/file.c +++ gregkh-2.6/fs/sysfs/file.c -@@ -192,7 +192,7 @@ fill_write_buffer(struct sysfs_buffer * +@@ -183,7 +183,7 @@ fill_write_buffer(struct sysfs_buffer * return -ENOMEM; if (count >= PAGE_SIZE)