Bug#854348: ipv6: refcnt pb when removing a peer address
Package: src:linux
Version: 3.16.39-1
Severity: important
Tags: patch
Dear Maintainer,
Under some circumstances, when an ipv6 peer addresse is removed, there is a
refcnt problem:
kernel:[ 9614.220549] unregister_netdevice: waiting for lo to become free. Usage count = 2
This bug has been fixed by the following upstream patch:
f24062b07dda ipv6: fix a refcnt leak with peer addr
You may also consider backporting thoses patches:
e7478dfc4656 ipv6: use addrconf_get_prefix_route() to remove peer addr
8e3d5be73681 ipv6: Avoid double dst_free
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=f24062b07dda
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=e7478dfc4656f
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=8e3d5be736810
Regards,
Nicolas
-- Package-specific info:
** Version:
Linux version 3.16.0-4-amd64 (debian-kernel@lists.debian.org) (gcc version 4.8.4 (Debian 4.8.4-1) ) #1 SMP Debian 3.16.39-1 (2016-12-30)
** Command line:
BOOT_IMAGE=/boot/vmlinuz-3.16.0-4-amd64 root=/dev/mapper/6WIND-debian8 ro console=ttyS0,115200n8 quiet
** Not tainted
** Kernel log:
[ 5.658529] systemd[1]: Starting Root Slice.
[ 5.658541] systemd[1]: Created slice Root Slice.
[ 5.658545] systemd[1]: Starting User and Session Slice.
[ 5.658563] systemd[1]: Created slice User and Session Slice.
[ 5.658567] systemd[1]: Starting Delayed Shutdown Socket.
[ 5.658583] systemd[1]: Listening on Delayed Shutdown Socket.
[ 5.658587] systemd[1]: Starting /dev/initctl Compatibility Named Pipe.
[ 5.658601] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[ 5.658604] systemd[1]: Starting Journal Socket (/dev/log).
[ 5.658617] systemd[1]: Listening on Journal Socket (/dev/log).
[ 5.658621] systemd[1]: Starting Device-mapper event daemon FIFOs.
[ 5.658633] systemd[1]: Listening on Device-mapper event daemon FIFOs.
[ 5.658637] systemd[1]: Starting LVM2 metadata daemon socket.
[ 5.658647] systemd[1]: Listening on LVM2 metadata daemon socket.
[ 5.658652] systemd[1]: Starting udev Control Socket.
[ 5.658661] systemd[1]: Listening on udev Control Socket.
[ 5.658665] systemd[1]: Starting udev Kernel Socket.
[ 5.658674] systemd[1]: Listening on udev Kernel Socket.
[ 5.658679] systemd[1]: Starting Journal Socket.
[ 5.658692] systemd[1]: Listening on Journal Socket.
[ 5.658700] systemd[1]: Starting System Slice.
[ 5.658716] systemd[1]: Created slice System Slice.
[ 5.658729] systemd[1]: Started File System Check on Root Device.
[ 5.658733] systemd[1]: Starting system-getty.slice.
[ 5.658753] systemd[1]: Created slice system-getty.slice.
[ 5.658757] systemd[1]: Starting system-serial\x2dgetty.slice.
[ 5.658773] systemd[1]: Created slice system-serial\x2dgetty.slice.
[ 5.658784] systemd[1]: Starting Increase datagram queue length...
[ 5.659034] systemd[1]: Starting udev Coldplug all Devices...
[ 5.660743] systemd[1]: Starting Load Kernel Modules...
[ 5.660980] systemd[1]: Mounting Debug File System...
[ 5.661219] systemd[1]: Starting Create list of required static device nodes for the current kernel...
[ 5.661466] systemd[1]: Mounting Huge Pages File System...
[ 5.661690] systemd[1]: Mounting POSIX Message Queue File System...
[ 5.662588] systemd[1]: Started Set Up Additional Binary Formats.
[ 5.662614] systemd[1]: Starting Slices.
[ 5.662621] systemd[1]: Reached target Slices.
[ 5.677175] systemd[1]: Started udev Coldplug all Devices.
[ 5.677403] systemd[1]: Starting udev Wait for Complete Device Initialization...
[ 5.682434] fuse init (API version 7.23)
[ 5.683147] systemd[1]: Started Load Kernel Modules.
[ 5.683228] systemd[1]: Mounting FUSE Control File System...
[ 5.683979] systemd[1]: Mounted Configuration File System.
[ 5.683997] systemd[1]: Starting Apply Kernel Variables...
[ 5.703615] systemd[1]: Started Create list of required static device nodes for the current kernel.
[ 5.703732] systemd[1]: Starting Create Static Device Nodes in /dev...
[ 5.706318] systemd[1]: Started Apply Kernel Variables.
[ 5.720341] systemd[1]: Started Create Static Device Nodes in /dev.
[ 5.720404] systemd[1]: Starting udev Kernel Device Manager...
[ 5.726250] systemd-udevd[175]: starting version 215
[ 5.726330] systemd[1]: Started udev Kernel Device Manager.
[ 5.726369] systemd[1]: Starting LSB: Set preliminary keymap...
[ 5.726636] systemd[1]: Starting LSB: QEMU KVM module loading script...
[ 5.730573] systemd[1]: Started LSB: Set preliminary keymap.
[ 5.730630] systemd[1]: Starting Remount Root and Kernel File Systems...
[ 5.748910] systemd[1]: Started udev Wait for Complete Device Initialization.
[ 5.748996] systemd[1]: Starting Activation of LVM2 logical volumes...
[ 5.749310] systemd[1]: Starting Copy rules generated while the root was ro...
[ 5.751510] systemd[1]: Started Copy rules generated while the root was ro.
[ 5.769167] systemd[1]: Mounted Huge Pages File System.
[ 5.769188] systemd[1]: Mounted Debug File System.
[ 5.769196] systemd[1]: Mounted FUSE Control File System.
[ 5.769275] systemd[1]: Mounted POSIX Message Queue File System.
[ 5.769509] systemd[1]: Started Increase datagram queue length.
[ 5.770081] systemd[1]: Started LSB: QEMU KVM module loading script.
[ 5.773314] EXT4-fs (dm-0): re-mounted. Opts: errors=remount-ro
[ 5.773858] systemd[1]: Started Remount Root and Kernel File Systems.
[ 5.775878] systemd[1]: Started Various fixups to make systemd work better on Debian.
[ 5.775892] systemd[1]: Starting Load/Save Random Seed...
[ 5.776211] systemd[1]: Starting Local File Systems (Pre).
[ 5.776219] systemd[1]: Reached target Local File Systems (Pre).
[ 5.776245] systemd[1]: Starting Syslog Socket.
[ 5.776272] systemd[1]: Listening on Syslog Socket.
[ 5.776285] systemd[1]: Starting Journal Service...
[ 5.776546] systemd[1]: Started Journal Service.
[ 5.783671] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input3
[ 5.783675] ACPI: Power Button [PWRF]
[ 5.828095] systemd-udevd[190]: renamed network interface eth0 to mgmt0
[ 5.832381] input: PC Speaker as /devices/platform/pcspkr/input/input4
[ 5.839621] parport_pc 00:04: reported by Plug and Play ACPI
[ 5.839914] parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE]
[ 5.845760] piix4_smbus 0000:00:01.3: SMBus Host Controller at 0x700, revision 0
[ 5.852094] ppdev: user-space parallel port driver
[ 5.872052] AVX2 version of gcm_enc/dec engaged.
[ 5.873812] alg: No test for __gcm-aes-aesni (__driver-gcm-aes-aesni)
[ 5.906285] alg: No test for crc32 (crc32-pclmul)
[ 5.908218] intel_rapl: no valid rapl domains found in package 0
[ 6.475886] FS-Cache: Loaded
[ 6.497229] RPC: Registered named UNIX socket transport module.
[ 6.497232] RPC: Registered udp transport module.
[ 6.497232] RPC: Registered tcp transport module.
[ 6.497233] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 6.506050] FS-Cache: Netfs 'nfs' registered for caching
[ 6.510132] Key type dns_resolver registered
[ 6.514102] random: nonblocking pool is initialized
[ 6.515628] NFS: Registering the id_resolver key type
[ 6.515632] Key type id_resolver registered
[ 6.515633] Key type id_legacy registered
[ 6.528855] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[ 6.771849] systemd-journald[207]: Received request to flush runtime journal from PID 1
** Model information
sys_vendor: QEMU
product_name: Standard PC (i440FX + PIIX, 1996)
product_version: pc-i440fx-2.5
chassis_vendor: QEMU
chassis_version: pc-i440fx-2.5
bios_vendor: SeaBIOS
bios_version: rel-1.8.2-0-g33fbe13 by qemu-project.org
** Loaded modules:
nfsv3
nfsd
nfs_acl
rpcsec_gss_krb5
auth_rpcgss
oid_registry
nfsv4
dns_resolver
nfs
lockd
sunrpc
fscache
crc32_pclmul
aesni_intel
aes_x86_64
ppdev
i2c_piix4
lrw
parport_pc
evdev
gf128mul
parport
i2c_core
serio_raw
pcspkr
glue_helper
ablk_helper
processor
thermal_sys
cryptd
button
fuse
autofs4
ext4
crc16
mbcache
jbd2
dm_mod
sg
sd_mod
sr_mod
crc_t10dif
cdrom
crct10dif_generic
ata_generic
virtio_net
ata_piix
crct10dif_pclmul
crct10dif_common
libata
crc32c_intel
scsi_mod
psmouse
virtio_pci
virtio_ring
virtio
floppy
** PCI devices:
00:00.0 Host bridge [0600]: Intel Corporation 440FX - 82441FX PMC [Natoma] [8086:1237] (rev 02)
Subsystem: Red Hat, Inc Qemu virtual machine [1af4:1100]
Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
00:01.0 ISA bridge [0601]: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II] [8086:7000]
Subsystem: Red Hat, Inc Qemu virtual machine [1af4:1100]
Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
00:01.1 IDE interface [0101]: Intel Corporation 82371SB PIIX3 IDE [Natoma/Triton II] [8086:7010] (prog-if 80 [Master])
Subsystem: Red Hat, Inc Qemu virtual machine [1af4:1100]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Region 0: [virtual] Memory at 000001f0 (32-bit, non-prefetchable) [size=8]
Region 1: [virtual] Memory at 000003f0 (type 3, non-prefetchable)
Region 2: [virtual] Memory at 00000170 (32-bit, non-prefetchable) [size=8]
Region 3: [virtual] Memory at 00000370 (type 3, non-prefetchable)
Region 4: I/O ports at c020 [size=16]
Kernel driver in use: ata_piix
00:01.3 Bridge [0680]: Intel Corporation 82371AB/EB/MB PIIX4 ACPI [8086:7113] (rev 03)
Subsystem: Red Hat, Inc Qemu virtual machine [1af4:1100]
Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Interrupt: pin A routed to IRQ 9
Kernel driver in use: piix4_smbus
00:03.0 Ethernet controller [0200]: Red Hat, Inc Virtio network device [1af4:1000]
Subsystem: Red Hat, Inc Device [1af4:0001]
Physical Slot: 3
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 11
Region 0: I/O ports at c000 [size=32]
Region 1: Memory at febc0000 (32-bit, non-prefetchable) [size=4K]
Expansion ROM at feb80000 [disabled] [size=256K]
Capabilities: [40] MSI-X: Enable+ Count=3 Masked-
Vector table: BAR=1 offset=00000000
PBA: BAR=1 offset=00000800
Kernel driver in use: virtio-pci
** USB devices:
not available
-- System Information:
Debian Release: 8.7
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.16.0-4-amd64 (SMP w/3 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages linux-image-3.16.0-4-amd64 depends on:
ii debconf [debconf-2.0] 1.5.56
ii initramfs-tools [linux-initramfs-tool] 0.120+deb8u2
ii kmod 18-3
ii linux-base 3.5
Versions of packages linux-image-3.16.0-4-amd64 recommends:
pn firmware-linux-free <none>
pn irqbalance <none>
Versions of packages linux-image-3.16.0-4-amd64 suggests:
pn debian-kernel-handbook <none>
ii grub-pc 2.02~beta2-22+deb8u1
pn linux-doc-3.16 <none>
Versions of packages linux-image-3.16.0-4-amd64 is related to:
pn firmware-atheros <none>
pn firmware-bnx2 <none>
pn firmware-bnx2x <none>
pn firmware-brcm80211 <none>
pn firmware-intelwimax <none>
pn firmware-ipw2x00 <none>
pn firmware-ivtv <none>
pn firmware-iwlwifi <none>
pn firmware-libertas <none>
pn firmware-linux <none>
pn firmware-linux-nonfree <none>
pn firmware-myricom <none>
pn firmware-netxen <none>
pn firmware-qlogic <none>
pn firmware-ralink <none>
pn firmware-realtek <none>
pn xen-hypervisor <none>
-- debconf information excluded
Reply to: