All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dmitry Mishin <dim@openvz.org>
To: "David S. Miller" <davem@davemloft.net>
Cc: linux-kernel@vger.kernel.org,
	netfilter-devel@lists.netfilter.org, rusty@rustcorp.com.au,
	devel@openvz.org
Subject: [NET][IA64] Unaligned access in sk_run_filter
Date: Mon, 20 Feb 2006 18:28:28 +0300	[thread overview]
Message-ID: <200602201828.29098.dim@openvz.org> (raw)

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@node1 ~]# tcpdump -i eth0 'ip[1:2]=0'

Could you advise how to fix this?

-- 
Thanks,
Dmitry.

             reply	other threads:[~2006-02-20 15:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-20 15:28 Dmitry Mishin [this message]
2006-02-20 15:43 ` [NET][IA64] Unaligned access in sk_run_filter Jes Sorensen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200602201828.29098.dim@openvz.org \
    --to=dim@openvz.org \
    --cc=davem@davemloft.net \
    --cc=devel@openvz.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netfilter-devel@lists.netfilter.org \
    --cc=rusty@rustcorp.com.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.