Package: src:linux Version: 3.16.56-1 Severity: normal Dear Maintainer,
With latest Debian Jessie Linux kernel (3.16.56-1) version, my SCTP application, which uses an IPv6 socket to get IPv4 or IPv6 messages, can retrieve anymore IPv4 addresses from peers, using sctp_getpaddrs() function. I've identified the impacting patch :r sctp: Fixup v4mapped behaviour to comply with Sock API I've rebuilt a kernel with this patch reverted, and my application works well with I retrieve IPv4 peer addresses in a IPv6-mapped format, like : 0x00: 0A 00 A5 B8 C0 A8 FE B2 00 00 00 00 ............ 0x0C: 00 00 00 00 00 00 FF FF C0 A8 FE B2 ............ 0x18: 30 3B C0 1F 0;.. which means : ::ffff:192.168.254.178%532691760 -> 192.168.254.178 But with the latest Jessie kernel, i get : 0x00: 0A 00 A5 B8 00 00 00 00 00 00 00 00 ............ 0x0C: 00 00 00 00 00 00 FF FF 00 00 00 00 ............ 0x18: 00 00 00 00 .... which translates to : ::ffff:0.0.0.0 I've stated the same bug with latest Debian Wheezy kernel (linux-image-3.2.0-6-amd64 package, 3.2.101-1 version) : I don't know if i should add a separate bug report ? With regards, Fred. -- Package-specific info: ** Version: Linux version 3.16.0-6-amd64 (debian-ker...@lists.debian.org) (gcc version 4.9.2 (Debian 4.9.2-10+deb8u1) ) #1 SMP Debian 3.16.56-1 (2018-04-28) ** Command line: BOOT_IMAGE=/vmlinuz-3.16.0-6-amd64 root=/dev/mapper/vg01-root ro quiet video=800x600 ** Tainted: O (4096) * Out-of-tree module has been loaded. ** Kernel log: [ 2.484570] systemd[1]: Listening on LVM2 metadata daemon socket. [ 2.484584] systemd[1]: Starting Device-mapper event daemon FIFOs. [ 2.484641] systemd[1]: Listening on Device-mapper event daemon FIFOs. [ 2.484656] systemd[1]: Starting User and Session Slice. [ 2.484711] systemd[1]: Created slice User and Session Slice. [ 2.484732] systemd[1]: Starting udev Control Socket. [ 2.484775] systemd[1]: Listening on udev Control Socket. [ 2.484795] systemd[1]: Starting udev Kernel Socket. [ 2.484828] systemd[1]: Listening on udev Kernel Socket. [ 2.484847] systemd[1]: Starting Journal Socket. [ 2.484911] systemd[1]: Listening on Journal Socket. [ 2.484944] systemd[1]: Starting System Slice. [ 2.484997] systemd[1]: Created slice System Slice. [ 2.485036] systemd[1]: Starting Increase datagram queue length... [ 2.485589] systemd[1]: Starting system-systemd\x2dfsck.slice. [ 2.485680] systemd[1]: Created slice system-systemd\x2dfsck.slice. [ 2.485709] systemd[1]: Starting Nameserver information manager... [ 2.486291] systemd[1]: Mounting POSIX Message Queue File System... [ 2.486949] systemd[1]: Starting Create list of required static device nodes for the current kernel... [ 2.489510] systemd[1]: Started Set Up Additional Binary Formats. [ 2.489558] systemd[1]: Mounting Huge Pages File System... [ 2.490150] systemd[1]: Starting udev Coldplug all Devices... [ 2.491097] systemd[1]: Mounting Debug File System... [ 2.499518] systemd[1]: Starting Load Kernel Modules... [ 2.499953] systemd[1]: Starting system-getty.slice. [ 2.500036] systemd[1]: Created slice system-getty.slice. [ 2.500076] systemd[1]: Started File System Check on Root Device. [ 2.500830] systemd[1]: Starting Slices. [ 2.500846] systemd[1]: Reached target Slices. [ 2.502470] systemd[1]: Started Increase datagram queue length. [ 2.503536] systemd[1]: Started Create list of required static device nodes for the current kernel. [ 2.503914] systemd[1]: Starting Create Static Device Nodes in /dev... [ 2.504426] systemd[1]: Starting Syslog Socket. [ 2.504474] systemd[1]: Listening on Syslog Socket. [ 2.504522] systemd[1]: Starting Journal Service... [ 2.506465] systemd[1]: Started Journal Service. [ 2.528380] kkcore: Date: 2015-05-20 [ 2.528383] kkcore: compile par root le Thu 03 May 2018 12h11m08s [ 2.528384] kkcore: Utilise le signal no 41. [ 2.534261] loop: module loaded [ 2.549479] sctp: Hash tables configured (established 256 bind 256/256) [ 2.608051] systemd-udevd[195]: starting version 215 [ 2.700260] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input4 [ 2.700266] ACPI: Power Button [PWRF] [ 2.719858] parport_pc 00:04: reported by Plug and Play ACPI [ 2.720140] parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE] [ 2.732172] [drm] Initialized drm 1.1.0 20060810 [ 2.783209] [drm] Found bochs VGA, ID 0xb0c0. [ 2.783212] [drm] Framebuffer size 16384 kB @ 0xfd000000, mmio @ 0xfebd0000. [ 2.784510] input: PC Speaker as /devices/platform/pcspkr/input/input5 [ 2.794655] [TTM] Zone kernel: Available graphics memory: 252968 kiB [ 2.794658] [TTM] Initializing pool allocator [ 2.794664] [TTM] Initializing DMA pool allocator [ 2.795769] fbcon: bochsdrmfb (fb0) is primary device [ 2.803213] Console: switching to colour frame buffer device 100x37 [ 2.839289] bochs-drm 0000:00:02.0: fb0: bochsdrmfb frame buffer device [ 2.839292] bochs-drm 0000:00:02.0: registered panic notifier [ 2.839297] [drm] Initialized bochs-drm 1.0.0 20130925 for 0000:00:02.0 on minor 0 [ 2.921320] ppdev: user-space parallel port driver [ 3.003455] Adding 3997692k swap on /dev/mapper/vg01-swap. Priority:-1 extents:1 across:3997692k FS [ 3.249551] EXT4-fs (dm-2): warning: checktime reached, running e2fsck is recommended [ 3.258547] EXT4-fs (dm-0): warning: checktime reached, running e2fsck is recommended [ 3.270953] EXT4-fs (dm-2): re-mounted. Opts: (null) [ 3.274955] EXT4-fs (dm-0): re-mounted. Opts: errors=remount-ro [ 3.329686] EXT4-fs (dm-4): mounted filesystem with ordered data mode. Opts: (null) [ 3.331607] EXT4-fs (dm-6): mounted filesystem with ordered data mode. Opts: (null) [ 3.335410] EXT4-fs (dm-3): mounted filesystem with ordered data mode. Opts: (null) [ 3.335807] EXT4-fs (dm-8): mounted filesystem with ordered data mode. Opts: (null) [ 3.336159] EXT4-fs (dm-7): mounted filesystem with ordered data mode. Opts: (null) [ 3.336331] EXT4-fs (vda2): mounted filesystem with ordered data mode. Opts: (null) [ 3.337070] EXT4-fs (dm-10): mounted filesystem with ordered data mode. Opts: (null) [ 3.341914] EXT4-fs (dm-9): mounted filesystem with ordered data mode. Opts: (null) [ 3.362918] EXT4-fs (dm-5): mounted filesystem with ordered data mode. Opts: (null) [ 3.418874] FAT-fs (vda1): utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive! [ 3.441293] systemd-journald[177]: Received request to flush runtime journal from PID 1 [ 3.507575] audit: type=1305 audit(1525677729.328:2): audit_pid=463 old=0 auid=4294967295 ses=4294967295 res=1 [ 5.033894] RPC: Registered named UNIX socket transport module. [ 5.033897] RPC: Registered udp transport module. [ 5.033899] RPC: Registered tcp transport module. [ 5.033900] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 5.037775] FS-Cache: Loaded [ 5.044684] FS-Cache: Netfs 'nfs' registered for caching [ 5.052115] Installing knfsd (copyright (C) 1996 o...@monad.swb.de). [ 7.713225] NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory [ 7.713385] NFSD: starting 90-second grace period (net ffffffff818c9700) [ 58.336406] random: nonblocking pool is initialized [ 141.128131] EXT4-fs (dm-2): re-mounted. Opts: (null) [ 141.132839] EXT4-fs (vda2): re-mounted. Opts: (null) [ 141.492780] EXT4-fs (dm-2): re-mounted. Opts: (null) [ 141.496714] EXT4-fs (vda2): re-mounted. Opts: (null) [ 152.869280] EXT4-fs (dm-2): warning: checktime reached, running e2fsck is recommended [ 152.869682] EXT4-fs (dm-2): re-mounted. Opts: (null) [ 152.876027] EXT4-fs (vda2): re-mounted. Opts: (null) [ 153.202113] EXT4-fs (dm-2): re-mounted. Opts: (null) [ 153.204911] EXT4-fs (vda2): re-mounted. Opts: (null) [ 194.541397] EXT4-fs (dm-2): warning: checktime reached, running e2fsck is recommended [ 194.541780] EXT4-fs (dm-2): re-mounted. Opts: (null) [ 194.548028] EXT4-fs (vda2): re-mounted. Opts: (null) [ 204.762651] EXT4-fs (dm-2): re-mounted. Opts: (null) [ 204.769023] EXT4-fs (vda2): re-mounted. Opts: (null) ** Model information sys_vendor: QEMU product_name: Standard PC (i440FX + PIIX, 1996) product_version: pc-i440fx-2.8 chassis_vendor: QEMU chassis_version: pc-i440fx-2.8 bios_vendor: SeaBIOS bios_version: 1.10.2-1 ** Loaded modules: hmac binfmt_misc nfsd auth_rpcgss oid_registry nfs_acl nfs lockd fscache sunrpc nls_utf8 nls_cp437 vfat fat ppdev pcspkr bochs_drm evdev serio_raw joydev ttm drm_kms_helper parport_pc parport drm processor thermal_sys button sctp libcrc32c crc32c_generic loop kkcore(O) autofs4 hid_generic usbhid hid ext4 crc16 mbcache jbd2 dm_mod sg sr_mod cdrom ata_generic virtio_blk virtio_net psmouse floppy ata_piix uhci_hcd ehci_hcd libata usbcore scsi_mod virtio_pci virtio_ring virtio i2c_piix4 i2c_core usb_common ** 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 c0c0 [size=16] Kernel driver in use: ata_piix 00:01.2 USB controller [0c03]: Intel Corporation 82371SB PIIX3 USB [Natoma/Triton II] [8086:7020] (rev 01) (prog-if 00 [UHCI]) 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- Latency: 0 Interrupt: pin D routed to IRQ 11 Region 4: I/O ports at c040 [size=32] Kernel driver in use: uhci_hcd 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:02.0 VGA compatible controller [0300]: Device [1234:1111] (rev 02) (prog-if 00 [VGA controller]) Subsystem: Red Hat, Inc Device [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- Latency: 0 Region 0: Memory at fd000000 (32-bit, prefetchable) [size=16M] Region 2: Memory at febd0000 (32-bit, non-prefetchable) [size=4K] Expansion ROM at febc0000 [disabled] [size=64K] Kernel driver in use: bochs-drm 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 10 Region 0: I/O ports at c060 [size=32] Region 1: Memory at febd1000 (32-bit, non-prefetchable) [size=4K] Region 4: Memory at fe000000 (64-bit, prefetchable) [size=16K] Expansion ROM at feb00000 [disabled] [size=256K] Capabilities: <access denied> Kernel driver in use: virtio-pci 00:04.0 Ethernet controller [0200]: Red Hat, Inc Virtio network device [1af4:1000] Subsystem: Red Hat, Inc Device [1af4:0001] Physical Slot: 4 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 c080 [size=32] Region 1: Memory at febd2000 (32-bit, non-prefetchable) [size=4K] Region 4: Memory at fe004000 (64-bit, prefetchable) [size=16K] Expansion ROM at feb40000 [disabled] [size=256K] Capabilities: <access denied> Kernel driver in use: virtio-pci 00:05.0 Ethernet controller [0200]: Red Hat, Inc Virtio network device [1af4:1000] Subsystem: Red Hat, Inc Device [1af4:0001] Physical Slot: 5 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 10 Region 0: I/O ports at c0a0 [size=32] Region 1: Memory at febd3000 (32-bit, non-prefetchable) [size=4K] Region 4: Memory at fe008000 (64-bit, prefetchable) [size=16K] Expansion ROM at feb80000 [disabled] [size=256K] Capabilities: <access denied> Kernel driver in use: virtio-pci 00:06.0 SCSI storage controller [0100]: Red Hat, Inc Virtio block device [1af4:1001] Subsystem: Red Hat, Inc Device [1af4:0002] Physical Slot: 6 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=64] Region 1: Memory at febd4000 (32-bit, non-prefetchable) [size=4K] Region 4: Memory at fe00c000 (64-bit, prefetchable) [size=16K] Capabilities: <access denied> Kernel driver in use: virtio-pci ** USB devices: Bus 001 Device 002: ID 0627:0001 Adomax Technology Co., Ltd Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub -- System Information: Debian Release: 8.10 APT prefers jessie APT policy: (990, 'jessie'), (990, 'oldstable'), (500, 'oldstable-updates') Architecture: amd64 (x86_64) Kernel: Linux 3.16.0-6-amd64 (SMP w/1 CPU core) Locale: LANG=, LC_CTYPE= (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages linux-image-3.16.0-6-amd64 depends on: ii debconf [debconf-2.0] 1.5.56+deb8u1 ii initramfs-tools [linux-initramfs-tool] 0.120+deb8u3 ii kmod 18-3 ii linux-base 3.5 Versions of packages linux-image-3.16.0-6-amd64 recommends: ii firmware-linux-free 3.3 ii irqbalance 1.1.0-2~bpo8+1 Versions of packages linux-image-3.16.0-6-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-6-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-show failed