Fix with made, I've put the the module into a Hardy LiveCD initrd and given it a test in VMWare - I managed to install sudo from the hardy-proposed repo without the segfault or the kernel Oops. The bug was due to the stacked nature of the unionfs with 2 or more hardlinks when dealing with a suid file attribute being modified by a chown32() system call and the attribute handling code in unionfs not clearing the ATTR_MODE bit appropriately. Nice corner case.
Fix with made, I've put the the module into a Hardy LiveCD initrd and given it a test in VMWare - I managed to install sudo from the hardy-proposed repo without the segfault or the kernel Oops. The bug was due to the stacked nature of the unionfs with 2 or more hardlinks when dealing with a suid file attribute being modified by a chown32() system call and the attribute handling code in unionfs not clearing the ATTR_MODE bit appropriately. Nice corner case.