[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5334ED77.4080601@lab.ntt.co.jp>
Date: Fri, 28 Mar 2014 12:33:11 +0900
From: Toshiaki Makita <makita.toshiaki@....ntt.co.jp>
To: Vlad Yasevich <vyasevic@...hat.com>, netdev@...r.kernel.org
CC: bridge@...ts.linux-foundation.org
Subject: Re: [PATCH v2] bridge: Fix crash with vlan filtering and tcpdump
(2014/03/28 10:51), Vlad Yasevich wrote:
> When the vlan filtering is enabled on the bridge, but
> the filter is not configured on the bridge device itself,
> running tcpdump on the bridge device will result in a
> an Oops with NULL pointer dereference. The reason
> is that br_pass_frame_up() will bypass the vlan
> check because promisc flag is set. It will then try
> to get the table pointer and process the packet based
> on the table. Since the table pointer is NULL, we oops.
> Catch this special condition in br_handle_vlan().
>
> Reported-by: Toshiaki Makita <makita.toshiaki@....ntt.co.jp>
> CC: Toshiaki Makita <makita.toshiaki@....ntt.co.jp>
> Signed-off-by: Vlad Yasevich <vyasevic@...hat.com>
Thanks,
Acked-by: Toshiaki Makita <makita.toshiaki@....ntt.co.jp>
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists