The udf_encode_fh function in fs/udf/namei.c in the Linux kernel before 3.6 does not initialize a certain structure member which allows local users to obtain sensitive information from kernel heap memory via a crafted application.