As Andrew mentioned[1], ecryptfs_miscdev_write() should do better sanitization of the write count. While adding that, I ran into a few other needed improvements. The first patch is intended to go to stable (which is why it continues the trend of using magic numbers), while the other two are less important and I'll only target them for only 3.3-rc1. Tyler [1] https://lkml.org/lkml/2012/1/11/394 -- To unsubscribe from this list: send the line "unsubscribe ecryptfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html