Just in order to bring your attention! This is the patch patch for copy_user routine, you've discussed recently. I'm attached updated patch, in order to pass 'checkpatch.pl' tool process smoothly. Couple of extra whitespace has been removed and signed-off and acked-by lines added. Patch cleanly applies to current git tree. -Anton Vitaly Mayatskikh wrote: > Bug in copy_user can be used from userspace on RHEL-4 and other > distributions with similar kernel base (CVE-2008-0598). Patch with fixed > copy_user attached, it falls into byte copy loop on faults and returns > correct count for uncopied bytes. Patch also fixes incorrect passing of > zero flag in copy_to_user (%eax was used instead of %ecx). > > Also there's script for systemtap, it tests corner cases in both > copy_user realizations (unrolled and string). > > > > ------------------------------------------------------------------------ > >