Public bug reported:

It looks like TCP rx and tx checksum offloading is broken on the TB18 dock's 
ethernet adapter. For example downloading a large file such as the Ubuntu ISO, 
and then running an md5sum on it yields the incorrect md5sum. This is because
rx-checksumming: on
tx-checksumming: on
and both set to on by default.

Running sudo ethtool -K <TB18 eth device> tx off rx off, allows the
download to complete correctly. This is very bad since this can cause
very bad untrustworthy behavior.

This was conducted using an Dell Precision 7530 on Ubuntu 18.04.1 with
kernel 4.15.0-34-generic.

Looks like the fix done with https://bugs.launchpad.net/dell-
sputnik/+bug/1729674 needs to be extended for the TB18 which has a
different serial (see "lsusb -v" output):

Bus 004 Device 004: ID 0bda:8153 Realtek Semiconductor Corp.
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               3.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0         9
  idVendor           0x0bda Realtek Semiconductor Corp.
  idProduct          0x8153
  bcdDevice           30.11
  iManufacturer           1 Realtek
  iProduct                2 USB 10/100/1000 LAN
  iSerial                 6 000002000000
...

This bug also affects
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1785778

** Affects: dell-sputnik
     Importance: Undecided
         Status: New

** Affects: ubuntu
     Importance: Undecided
         Status: New

** Information type changed from Private Security to Public

** Description changed:

- It looks like TCP rx and tx checksum offloading is broken on the TB16 dock's 
ethernet adapter. For example downloading a large file such as the Ubuntu ISO, 
and then running an md5sum on it yields the incorrect md5sum. This is because
+ It looks like TCP rx and tx checksum offloading is broken on the TB18 dock's 
ethernet adapter. For example downloading a large file such as the Ubuntu ISO, 
and then running an md5sum on it yields the incorrect md5sum. This is because
  rx-checksumming: on
  tx-checksumming: on
  and both set to on by default.
  
  Running sudo ethtool -K <TB18 eth device> tx off rx off, allows the
  download to complete correctly. This is very bad since this can cause
  very bad untrustworthy behavior.
  
  This was conducted using an Dell Precision 7530 on Ubuntu 18.04.1 with
  kernel 4.15.0-34-generic.
  
  Looks like the fix done with https://bugs.launchpad.net/dell-
  sputnik/+bug/1729674 needs to be extended for the TB18 which has a
  different serial (see "lsusb -v" output):
  
- Bus 004 Device 004: ID 0bda:8153 Realtek Semiconductor Corp. 
+ Bus 004 Device 004: ID 0bda:8153 Realtek Semiconductor Corp.
  Device Descriptor:
-   bLength                18
-   bDescriptorType         1
-   bcdUSB               3.00
-   bDeviceClass            0 (Defined at Interface level)
-   bDeviceSubClass         0 
-   bDeviceProtocol         0 
-   bMaxPacketSize0         9
-   idVendor           0x0bda Realtek Semiconductor Corp.
-   idProduct          0x8153 
-   bcdDevice           30.11
-   iManufacturer           1 Realtek
-   iProduct                2 USB 10/100/1000 LAN
-   iSerial                 6 000002000000
+   bLength                18
+   bDescriptorType         1
+   bcdUSB               3.00
+   bDeviceClass            0 (Defined at Interface level)
+   bDeviceSubClass         0
+   bDeviceProtocol         0
+   bMaxPacketSize0         9
+   idVendor           0x0bda Realtek Semiconductor Corp.
+   idProduct          0x8153
+   bcdDevice           30.11
+   iManufacturer           1 Realtek
+   iProduct                2 USB 10/100/1000 LAN
+   iSerial                 6 000002000000
  ...
  
  This bug also affects
  https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1785778

** Also affects: ubuntu
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1792574

Title:
  Dell TB18 dock ethernet corrupts data with hw checksum silently
  failing

To manage notifications about this bug go to:
https://bugs.launchpad.net/dell-sputnik/+bug/1792574/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to