Tyler, reduced it down to a one line fix. Tested with a 0.5GB, 2GB, 4GB, 8GB, 32GB test file with a sanity check on each byte. Patch attached below. Not yet tested with ecryptfs tests, but it looks like the root issue.
** Patch added: "potential fix" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1243636/+attachment/3889786/+files/0001-eCryptfs-fix-32-bit-corruption-issue-LP-1243636.patch -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1243636 Title: ecryptfs currupts files over 4GB size on i686 Status in eCryptfs: In Progress Status in “linux” package in Ubuntu: In Progress Bug description: on extracting files with extracted size >4 GB files are getting currupted. interestingly file gets currupted in the very moment the file size gets more than 4GB. ProblemType: Bug DistroRelease: Ubuntu 13.10 Package: linux-image-3.11.0-12-generic 3.11.0-12.19 ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3 Uname: Linux 3.11.0-12-generic i686 ApportVersion: 2.12.5-0ubuntu2 Architecture: i386 Date: Wed Oct 23 12:11:43 2013 EcryptfsInUse: Yes InstallationDate: Installed on 2013-07-20 (94 days ago) InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release i386 (20130424) MarkForUpload: True ProcEnviron: TERM=xterm PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=de_DE.UTF-8 SHELL=/bin/bash ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.11.0-12-generic root=UUID=e97431f7-60b7-4fbe-b22f-5ca3304f2d50 ro quiet splash vt.handoff=7 SourcePackage: linux UpgradeStatus: Upgraded to saucy on 2013-09-08 (45 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ecryptfs/+bug/1243636/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp