← Back to team overview

kernel-packages team mailing list archive

[Bug 1332420] Re: IPv6 multicast broken in kernel

 

Dear all,

thanks for fixing the issue. After installing the latest kernel
(3.13.0-32.56) from -proposed, I have verified that the issue is now
fixed.

As confirmed by the tcpdump:
root@ubuntu1404:~# tcpdump -n -i eth0 '(ip6)&&((udp port 546)||(udp port 547))'
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 65535 bytes

17:37:31.335849 IP6 fe80::5054:ff:fe8a:ebd8.546 > ff02::1:2.547: dhcp6 solicit
17:37:32.273181 IP6 fe80::5db7:61bc:4714:1899.546 > ff02::1:2.547: dhcp6 renew
17:37:34.625153 IP6 fe80::8049:8ef0:8637:6924.546 > ff02::1:2.547: dhcp6 renew
17:37:42.273485 IP6 fe80::5db7:61bc:4714:1899.546 > ff02::1:2.547: dhcp6 renew
17:37:42.369194 IP6 fe80::e48a:3505:cf50:bb27.546 > ff02::1:2.547: dhcp6 solicit
17:37:42.370918 IP6 fe80::5054:ff:fe8a:ebd8.547 > fe80::e48a:3505:cf50:bb27.546: dhcp6 advertise
17:37:42.428535 IP6 fe80::e48a:3505:cf50:bb27.546 > ff02::1:2.547: dhcp6 solicit
17:37:42.429915 IP6 fe80::5054:ff:fe8a:ebd8.547 > fe80::e48a:3505:cf50:bb27.546: dhcp6 advertise
17:37:43.443381 IP6 fe80::e48a:3505:cf50:bb27.546 > ff02::1:2.547: dhcp6 solicit
17:37:43.445060 IP6 fe80::5054:ff:fe8a:ebd8.547 > fe80::e48a:3505:cf50:bb27.546: dhcp6 advertise
17:37:45.458971 IP6 fe80::e48a:3505:cf50:bb27.546 > ff02::1:2.547: dhcp6 solicit
17:37:45.460225 IP6 fe80::5054:ff:fe8a:ebd8.547 > fe80::e48a:3505:cf50:bb27.546: dhcp6 advertise
17:37:49.459003 IP6 fe80::e48a:3505:cf50:bb27.546 > ff02::1:2.547: dhcp6 solicit
17:37:49.459348 IP6 fe80::5054:ff:fe8a:ebd8.547 > fe80::e48a:3505:cf50:bb27.546: dhcp6 advertise
^C
14 packets captured
14 packets received by filter
0 packets dropped by kernel

root@ubuntu1404:~# dpkg --list|grep 0.32
ii  linux-headers-3.13.0-32             3.13.0-32.56                  all          Header files related to Linux kernel version 3.13.0
ii  linux-headers-3.13.0-32-generic     3.13.0-32.56                  amd64        Linux kernel headers for version 3.13.0 on 64 bit x86 SMP
ii  linux-image-3.13.0-32-generic       3.13.0-32.56                  amd64        Linux kernel image for version 3.13.0 on 64 bit x86 SMP
ii  linux-image-extra-3.13.0-32-generic 3.13.0-32.56                  amd64        Linux kernel extra modules for version 3.13.0 on 64 bit x86 SMP

The bug can be closed now.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1332420

Title:
  IPv6 multicast broken in kernel

Status in “linux” package in Ubuntu:
  Fix Released
Status in “linux” source package in Trusty:
  Fix Committed
Status in “linux” source package in Utopic:
  Fix Released

Bug description:
  Dear all,

  a regression has been introduced in Linux Kernels by patch
  https://github.com/torvalds/linux/commit/efe4208f47f907

  The regression behaves in a way that when there are multiple IPv6
  sockets created with multicast/link-local addresses on the same
  interface, handling of the packets is broken. (Reported e. g. on
  http://www.spinics.net/lists/netdev/msg286344.html)

  This can be reproduced by
  1. installing Ubuntu 14.04 with default kernel
  2. installing dibbler-server and configuring with basic dhcpv6 settings (hand out one subnet), for example:
  /etc/dibbler/server.conf:
  log-level 8
  preference 0
  iface <IFACE> {
   t1 1800-2000
   t2 2700-3000
   prefered-lifetime 3600
   valid-lifetime 7200
   subnet 2001:db8:abcd::/64
   class {
      pool 2001:db8:abcd::1000-2001:db8:abcd::1fff
   }
   ta-class {
      pool 2001:db8:abcd::2000-2001:db8:abcd::2fff
   }
   option dns-server 2001:db8:abcd::1
  }

  3. get a DHCPv6 client and request addresses from the server
  4. view the packets on the interface affected, use e.g.: tcpdump -i <IFACE> '(udp port 546)||(udp port 547)' -n
  There will be multicast DHCPv6 solicits, however no DHCPv6 responses, as Dibbler creates two  sockets on the same interface (multicast socket first, link-local socket next).

  There is a patch available in the upstream, that will be probably
  merged to 3.15.2 kernel (it is not present in current 3.15.1 vanilla
  kernel) - http://patchwork.ozlabs.org/patch/352246/

  When applying this patch to trusty-proposed linux-
  image-3.13.0-30-generic_3.13.0-30.54 from Git repositories at git
  clone git://kernel.ubuntu.com/ubuntu/ubuntu-trusty.git and recompiling
  the kernel, everything starts to work as expected.

  Please apply this patch ASAP to fix IPv6 multicast, there is more and more IPv6 in the wild and this bug is a serious one.
  --- 
  ApportVersion: 2.14.1-0ubuntu3.2
  Architecture: amd64
  AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
  DistroRelease: Ubuntu 14.04
  InstallationDate: Installed on 2012-04-24 (786 days ago)
  InstallationMedia: Ubuntu-Server 12.04 LTS "Precise Pangolin" - Beta amd64 (20120327)
  MachineType: Gigabyte Technology Co., Ltd. To be filled by O.E.M.
  Package: linux (not installed)
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-30-generic root=/dev/md1 ro nosplash nosplash nomdmonddf nomdmonisw
  ProcVersionSignature: Ubuntu 3.13.0-30.54-generic 3.13.11.2
  PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
  RelatedPackageVersions:
   linux-restricted-modules-3.13.0-30-generic N/A
   linux-backports-modules-3.13.0-30-generic  N/A
   linux-firmware                             1.127.2
  RfKill:
   0: hci0: Bluetooth
   	Soft blocked: no
   	Hard blocked: no
  Tags:  trusty
  Uname: Linux 3.13.0-30-generic x86_64
  UpgradeStatus: Upgraded to trusty on 2014-04-24 (56 days ago)
  UserGroups:
   
  _MarkForUpload: True
  dmi.bios.date: 08/23/2012
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: F2
  dmi.board.asset.tag: To be filled by O.E.M.
  dmi.board.name: H77N-WIFI
  dmi.board.vendor: Gigabyte Technology Co., Ltd.
  dmi.board.version: x.x
  dmi.chassis.asset.tag: To Be Filled By O.E.M.
  dmi.chassis.type: 3
  dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
  dmi.chassis.version: To Be Filled By O.E.M.
  dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrF2:bd08/23/2012:svnGigabyteTechnologyCo.,Ltd.:pnTobefilledbyO.E.M.:pvrTobefilledbyO.E.M.:rvnGigabyteTechnologyCo.,Ltd.:rnH77N-WIFI:rvrx.x:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvrToBeFilledByO.E.M.:
  dmi.product.name: To be filled by O.E.M.
  dmi.product.version: To be filled by O.E.M.
  dmi.sys.vendor: Gigabyte Technology Co., Ltd.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1332420/+subscriptions


References