]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
inet_diag: fix inet_diag_bc_audit()
authorEric Dumazet <eric.dumazet@gmail.com>
Fri, 17 Jun 2011 20:25:39 +0000 (16:25 -0400)
committerDavid S. Miller <davem@davemloft.net>
Fri, 17 Jun 2011 20:25:39 +0000 (16:25 -0400)
commiteeb1497277d6b1a0a34ed36b97e18f2bd7d6de0d
tree6bf39e1931999e49ef29b2bdcacc530044dcb1df
parent2f9381e98471837b631743270de988e78aad1f96
inet_diag: fix inet_diag_bc_audit()

A malicious user or buggy application can inject code and trigger an
infinite loop in inet_diag_bc_audit()

Also make sure each instruction is aligned on 4 bytes boundary, to avoid
unaligned accesses.

Reported-by: Dan Rosenberg <drosenberg@vsecurity.com>
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/inet_diag.c