Bug 127131 - Kernel bug with IPv6 SSM multicast
Kernel bug with IPv6 SSM multicast
Product: Fedora
Classification: Fedora
Component: kernel (Show other bugs)
i386 Linux
medium Severity high
: ---
: ---
Assigned To: David Miller
Brian Brock
Depends On:
  Show dependency treegraph
Reported: 2004-07-02 09:16 EDT by Nick Lamb
Modified: 2007-11-30 17:10 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-08-04 10:46:21 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Crashlog from kernel 2.6.6-1.435.2.3 (3.08 KB, text/plain)
2004-07-02 09:17 EDT, Nick Lamb
no flags Details

  None (edit)
Description Nick Lamb 2004-07-02 09:16:39 EDT
Description of problem:
Kernel bug with SSM multicast in IPv6. Ordinary userspace application
sending to IPv6 SSM range causes kernel BUG at net/core/skbuff.c:104!
message and (of course) application terminates.

Version-Release number of selected component (if applicable):
New to 2.6.6-1.453, and then reproduced in all available FC2 kernels
up to 2.6.6-1.453.2.3, reverting to FC2 release kernel (2.6.5)
eliminates the crash.

How reproducible:
100% reproducible for SSM range only on several machines

Steps to Reproduce:
1. Get appropriate FC2 & kernel, enable IPv6 on your primary Ethernet
adaptor (eth0) if necessary.
2. Install MAD-FLUTE software from site in bug URL, should build
out-of-box on FC2 systems.
3. You will need a test file, "test.file" any small-ish file (say
3. Run command described below, try both variations
flute -S -a:IP6 -m:ff05::beef:6181 -p:4000 -t:2  -F:test.file

[does not crash, should tran]

flute -S -a:IP6 -m:ff35::beef:6181 -p:4000 -t:2  -F:test.file

[crashes, kernel log attached]

Additional information:
The difference between ff05::beef:6181 and ff35::beef:6181 is that the
latter is in the SSM address range reserved by an IETF RFC. It's not
clear why the kernel cares about this, it's really of importance only
for routers but it seems to make all the difference here. It's
possible that MAD-FLUTE itself behaves differently in this case, but
I'm not sufficiently familiar with the code to be sure.

You should probably be able to reproduce this bug, and test the fix
even without globally routeable IPv6 capability of any kind, just so
long as you have an Ethernet LAN.
Comment 1 Nick Lamb 2004-07-02 09:17:32 EDT
Created attachment 101596 [details]
Crashlog from kernel 2.6.6-1.435.2.3
Comment 2 Nick Lamb 2004-07-02 09:18:38 EDT
This is identical to the crash I reported in bug 126021 since the
original bug reported there is (apparently) fixed, but this persists.
Comment 3 Nick Lamb 2004-07-13 14:14:02 EDT
This is definitely fragmentation related. FLUTE works by sending IPv6
UDP packets to a multicast address. It appears that MAD-FLUTE v1.0
sends packets which get fragmented, and that's when the kernel bug is

Limiting the packet size to e.g. 1000 bytes with -l:1000 sidesteps the
crash on 2.6.6-1.435.2.3, this is a sufficient workaround for my
immediate purpose, but of course that doesn't fix the bug.

Is it worth me trying to narrow down the problem, perhaps to a short
code segment that can be tested anywhere? I'd be more encouraged if
I'd seen any kind of response to this bug in the 11 days since it was
Comment 4 David Miller 2004-07-22 17:20:53 EDT
Well, part of this is that I've been away at a networking conference
trip all last week. :-)

Yes, please try to put together a small test case.  When it requires
a larger or non-trivial program to be setup, such as flute, it makes
it more difficult to work on the bug.
Comment 5 Nick Lamb 2004-08-04 10:03:34 EDT
Newly released kernel 2.6.7-1.494.2.2 seems to eliminate the kernel
oops or crash/hang seen previously. Thanks.

I've been too busy fighting very different but equally annoying bugs
in FreeBSD to create a testcase, sorry. The fragmentation itself still
happens for default settings on flute, but I will get feedback from
core flute developers before deciding whether that's a Linux bug.
Presumably you'd prefer to CLOSE this bug as RAWHIDE or whatever the
modern equivalent is, and if the frags do turn out to be a kernel bug
either we'd re-open it with a lower severity or file a new bug (your

Note You need to log in before you can comment on or make changes to this bug.