]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
added CVE number to sysfs patch
authorGreg Kroah-Hartman <gregkh@suse.de>
Sat, 1 Apr 2006 14:30:27 +0000 (06:30 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sat, 1 Apr 2006 14:30:27 +0000 (06:30 -0800)
queue-2.6.16/sysfs-off-by-one.patch

index 3e9949f4b851cfd91c71ecc4d94c0d314ae4c44f..4aa90597cb3404ef7271aa054d6f6ccc7a7b119a 100644 (file)
@@ -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 <gregkh@suse.de>
-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 <gregkh@suse.de>
 
 ---
@@ -16,7 +18,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
 
 --- 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)