The irda_recvmsg_dgram function in net/irda/af_irda.c in the Linux kernel before 3.9-rc7 does not initialize a certain length variable which allows local users to obtain sensitive information from kernel stack memory via a crafted recvmsg or recvfrom system call.