Bug 198025 - <unknown>: hw csum failure
Summary: <unknown>: hw csum failure
Status: NEW
Alias: None
Product: Networking
Classification: Unclassified
Component: Other (show other bugs)
Hardware: x86-64 Linux
: P1 normal
Assignee: Stephen Hemminger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-29 08:16 UTC by SviMik
Modified: 2018-03-28 17:07 UTC (History)
1 user (show)

See Also:
Kernel Version: 4.8.13-1.el6.elrepo.x86_64
Subsystem:
Regression: No
Bisected commit-id:


Attachments
oops message (11.04 KB, text/plain)
2017-11-29 08:16 UTC, SviMik
Details

Description SviMik 2017-11-29 08:16:45 UTC
Created attachment 260919 [details]
oops message

<unknown>: hw csum failure
CPU: 3 PID: 2741 Comm: openvpn Not tainted 4.8.13-1.el6.elrepo.x86_64 #1
Hardware name:                  /DH61WW, BIOS BEH6110H.86A.0034.2011.1018.1937 10/18/2011
0000000000000000 ffff880119a2faa8 ffffffff8134d2ef 0000000000000001
000000029083b90d 0000000000000000 ffff88008e629400 ffff880119a2fac8
ffffffff816602f2 ffff880119a2fdc8 0000000000000000 ffff880119a2fb08
Call Trace:
[<ffffffff8134d2ef>] dump_stack+0x67/0x98
[<ffffffff816602f2>] netdev_rx_csum_fault+0x42/0x50
[<ffffffff816563d4>] skb_copy_and_csum_datagram_msg+0xc4/0xf0
[<ffffffff816dd186>] udp_recvmsg+0x286/0x510
[<ffffffff816e67e1>] inet_recvmsg+0x51/0x90
[<ffffffff8164642a>] sock_recvmsg+0x4a/0x60
[<ffffffff8164700b>] ___sys_recvmsg+0xeb/0x210
[<ffffffff810af434>] ? try_to_wake_up+0x54/0x260
[<ffffffff811079a1>] ? get_futex_key+0x251/0x3f0
[<ffffffff81240cec>] ? __fget_light+0x2c/0x70
----cut----

A full message of this oops can be found in attachment. Message was received using netconsole.
Comment 1 Stephen Hemminger 2017-11-29 18:24:27 UTC
Comment on attachment 260919 [details]
oops message

This means driver injected a packet into kernel with bad flags.
To address this need to know the network device and more system info.
Is this just virtio?
Comment 2 SviMik 2017-11-29 18:46:45 UTC
The bug was reproduced both on virtual and real environment.

Just in case, there are also tun and tap adapters used by OpenVPN, StrongSwan server and some ppp connections too.

Here are both servers:

------ KVM ------

[root@kvm ~]# lspci
00:00.0 Host bridge: Intel Corporation 440FX - 82441FX PMC [Natoma] (rev 02)
00:01.0 ISA bridge: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II]
00:01.1 IDE interface: Intel Corporation 82371SB PIIX3 IDE [Natoma/Triton II]
00:01.2 USB controller: Intel Corporation 82371SB PIIX3 USB [Natoma/Triton II] (rev 01)
00:01.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 03)
00:02.0 VGA compatible controller: Cirrus Logic GD 5446
00:03.0 PCI bridge: Red Hat, Inc. QEMU PCI-PCI bridge
00:04.0 Ethernet controller: Red Hat, Inc Virtio network device
01:0f.0 SCSI storage controller: Red Hat, Inc Virtio block device
01:10.0 Unclassified device [00ff]: Red Hat, Inc Virtio memory balloon

[root@kvm ~]# ethtool -i eth0
driver: virtio_net
version: 1.0.0
firmware-version:
bus-info: 0000:00:04.0
supports-statistics: no
supports-test: no
supports-eeprom-access: no
supports-register-dump: no
supports-priv-flags: no

------ Physical machine ------

[root@server-79 ~]# lspci
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
00:19.0 Ethernet controller: Intel Corporation 82579V Gigabit Network Connection (rev 05)
00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 05)
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b5)
00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 05)
00:1f.0 ISA bridge: Intel Corporation H61 Express Chipset Family LPC Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family SATA AHCI Controller (rev 05)
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 05)
01:00.0 PCI bridge: Integrated Technology Express, Inc. Device 8892 (rev 10)

[root@server-79 ~]# ethtool -i eth0
driver: e1000e
version: 3.2.6-k
firmware-version: 0.13-4
bus-info: 0000:00:19.0
supports-statistics: yes
supports-test: yes
supports-eeprom-access: yes
supports-register-dump: yes
supports-priv-flags: no

[root@server-79 ~]# dmidecode -t 2
# dmidecode 2.12
SMBIOS 2.6 present.

Handle 0x0002, DMI type 2, 15 bytes
Base Board Information
        Manufacturer: Intel Corporation
        Product Name: DH61WW
        Version: AAG23116-204

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