]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[PATCH] sysfs: zero terminate sysfs write buffers (CVE-2006-1055)
authorGreg Kroah-Hartman <gregkh@suse.de>
Fri, 31 Mar 2006 23:37:06 +0000 (15:37 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 7 Apr 2006 16:44:26 +0000 (09:44 -0700)
commit4a80b29d91bc7a598a7d65b2500493a9fc3cb322
treec8c0bfc0eea6722d3dcbb22001fcc7fd300614fc
parent91011e696c0483c778a1c07a77eb92d0d95aed7c
[PATCH] 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>
fs/sysfs/file.c