[Devel] [NET][IA64] Unaligned access in sk_run_filter

Dmitry Mishin dim at openvz.org
Mon Feb 20 07:28:28 PST 2006


Hello,

We have an issue on ia64 box. It is easy triggerable 'kernel unaligned access' 
in sk_run_filter:
         ptr = load_pointer(skb, k, 4, &tmp);
         if (ptr != NULL) {
                  A = ntohl(*(u32 *)ptr); << here
                  continue;
         }

due to 'k' is coming from userspace it can be easy triggered, e.g.:
[root at node1 ~]# tcpdump -i eth0 'ip[1:2]=0'

Could you advise how to fix this?

-- 
Thanks,
Dmitry.




More information about the Devel mailing list