This is fixed for hirsute (checked with linux and linux-riscv) by the
following commit:

commit 5e7d3d1edcad9b96fe0ddfb155f0109856019f9a
Author: Jakub Kicinski <k...@kernel.org>
Date:   Fri Jun 18 13:34:06 2021 -0700

    tls: prevent oversized sendfile() hangs by ignoring MSG_MORE
    
    BugLink: https://bugs.launchpad.net/bugs/1938340
    
    [ Upstream commit d452d48b9f8b1a7f8152d33ef52cfd7fe1735b0a ]

The 5.8 kernels (checked with focal/linux-hwe-5.8) is still affected.
But given that the 5.8 kernels are not receiving upstream stable updates
anymore this issue will likely not be fixed.

** Also affects: linux (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: linux (Ubuntu Hirsute)
   Importance: Undecided
       Status: New

** Changed in: linux (Ubuntu)
       Status: New => Fix Released

** Changed in: linux (Ubuntu Hirsute)
       Status: New => Fix Released

** Also affects: linux-hwe-5.8 (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: linux (Ubuntu Focal)
   Importance: Undecided
       Status: New

** Also affects: linux-hwe-5.8 (Ubuntu Focal)
   Importance: Undecided
       Status: New

** Changed in: linux-hwe-5.8 (Ubuntu Hirsute)
       Status: New => Invalid

** Changed in: linux-hwe-5.8 (Ubuntu)
       Status: New => Invalid

** Changed in: linux (Ubuntu Focal)
       Status: New => Invalid

** Changed in: linux-hwe-5.8 (Ubuntu Focal)
       Status: New => Confirmed

** Summary changed:

- tls from net in ubuntu_kernel_selftests failed on G/H/I (multi_chunk_sendfile)
+ tls from net in ubuntu_kernel_selftests failed on G/H (multi_chunk_sendfile)

-- 
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/1900644

Title:
  tls from net in ubuntu_kernel_selftests failed on G/H
  (multi_chunk_sendfile)

Status in ubuntu-kernel-tests:
  New
Status in linux package in Ubuntu:
  Fix Released
Status in linux-hwe-5.8 package in Ubuntu:
  Invalid
Status in linux source package in Focal:
  Invalid
Status in linux-hwe-5.8 source package in Focal:
  Confirmed
Status in linux source package in Hirsute:
  Fix Released
Status in linux-hwe-5.8 source package in Hirsute:
  Invalid

Bug description:
  Issue found on Groovy AWS 5.8.0-1010.10

  Test failed with:
   # [==========] Running 93 tests from 4 test cases.
   # [ RUN ] global.non_established
   # [ OK ] global.non_established
   # [ RUN ] global.keysizes
   # [ OK ] global.keysizes
   # [ RUN ] tls_basic.base_base
   # [ OK ] tls_basic.base_base
   # [ RUN ] tls.12.sendfile
   # [ OK ] tls.12.sendfile
   # [ RUN ] tls.12.send_then_sendfile
   # [ OK ] tls.12.send_then_sendfile
   # [ RUN ] tls.12.multi_chunk_sendfile
   # [ FAIL ] tls.12.multi_chunk_sendfile
   # [ RUN ] tls.12.recv_max
   # [ OK ] tls.12.recv_max
   # [ RUN ] tls.12.recv_small
   # [ OK ] tls.12.recv_small
   # [ RUN ] tls.12.msg_more
   # [ OK ] tls.12.msg_more
   # [ RUN ] tls.12.msg_more_unsent
   # [ OK ] tls.12.msg_more_unsent
   # [ RUN ] tls.12.sendmsg_single
   # [ OK ] tls.12.sendmsg_single
   # [ RUN ] tls.12.sendmsg_fragmented
   # [ OK ] tls.12.sendmsg_fragmented
   # [ RUN ] tls.12.sendmsg_large
   # [ OK ] tls.12.sendmsg_large
   # [ RUN ] tls.12.sendmsg_multiple
   # [ OK ] tls.12.sendmsg_multiple
   # [ RUN ] tls.12.sendmsg_multiple_stress
   # [ OK ] tls.12.sendmsg_multiple_stress
   # [ RUN ] tls.12.splice_from_pipe
   # [ OK ] tls.12.splice_from_pipe
   # [ RUN ] tls.12.splice_from_pipe2
   # [ OK ] tls.12.splice_from_pipe2
   # [ RUN ] tls.12.send_and_splice
   # [ OK ] tls.12.send_and_splice
   # [ RUN ] tls.12.splice_to_pipe
   # [ OK ] tls.12.splice_to_pipe
   # [ RUN ] tls.12.recvmsg_single
   # [ OK ] tls.12.recvmsg_single
   # [ RUN ] tls.12.recvmsg_single_max
   # [ OK ] tls.12.recvmsg_single_max
   # [ RUN ] tls.12.recvmsg_multiple
   # [ OK ] tls.12.recvmsg_multiple
   # [ RUN ] tls.12.single_send_multiple_recv
   # [ OK ] tls.12.single_send_multiple_recv
   # [ RUN ] tls.12.multiple_send_single_recv
   # [ OK ] tls.12.multiple_send_single_recv
   # [ RUN ] tls.12.single_send_multiple_recv_non_align
   # [ OK ] tls.12.single_send_multiple_recv_non_align
   # [ RUN ] tls.12.recv_partial
   # [ OK ] tls.12.recv_partial
   # [ RUN ] tls.12.recv_nonblock
   # [ OK ] tls.12.recv_nonblock
   # [ RUN ] tls.12.recv_peek
   # [ OK ] tls.12.recv_peek
   # [ RUN ] tls.12.recv_peek_multiple
   # [ OK ] tls.12.recv_peek_multiple
   # [ RUN ] tls.12.recv_peek_multiple_records
   # [ OK ] tls.12.recv_peek_multiple_records
   # [ RUN ] tls.12.recv_peek_large_buf_mult_recs
   # [ OK ] tls.12.recv_peek_large_buf_mult_recs
   # [ RUN ] tls.12.recv_lowat
   # [ OK ] tls.12.recv_lowat
   # [ RUN ] tls.12.bidir
   # [ OK ] tls.12.bidir
   # [ RUN ] tls.12.pollin
   # [ OK ] tls.12.pollin
   # [ RUN ] tls.12.poll_wait
   # [ OK ] tls.12.poll_wait
   # [ RUN ] tls.12.poll_wait_split
   # [ OK ] tls.12.poll_wait_split
   # [ RUN ] tls.12.blocking
   # [ OK ] tls.12.blocking
   # [ RUN ] tls.12.nonblocking
   # [ OK ] tls.12.nonblocking
   # [ RUN ] tls.12.mutliproc_even
   # [ OK ] tls.12.mutliproc_even
   # [ RUN ] tls.12.mutliproc_readers
   # [ OK ] tls.12.mutliproc_readers
   # [ RUN ] tls.12.mutliproc_writers
   # [ OK ] tls.12.mutliproc_writers
   # [ RUN ] tls.12.mutliproc_sendpage_even
   # [ OK ] tls.12.mutliproc_sendpage_even
   # [ RUN ] tls.12.mutliproc_sendpage_readers
   # [ OK ] tls.12.mutliproc_sendpage_readers
   # [ RUN ] tls.12.mutliproc_sendpage_writers
   # [ OK ] tls.12.mutliproc_sendpage_writers
   # [ RUN ] tls.12.control_msg
   # [ OK ] tls.12.control_msg
   # [ RUN ] tls.12.shutdown
   # [ OK ] tls.12.shutdown
   # [ RUN ] tls.12.shutdown_unsent
   # [ OK ] tls.12.shutdown_unsent
   # [ RUN ] tls.12.shutdown_reuse
   # [ OK ] tls.12.shutdown_reuse
   # [ RUN ] tls.13.sendfile
   # [ OK ] tls.13.sendfile
   # [ RUN ] tls.13.send_then_sendfile
   # [ OK ] tls.13.send_then_sendfile
   # [ RUN ] tls.13.multi_chunk_sendfile
   # [ FAIL ] tls.13.multi_chunk_sendfile
   # [ RUN ] tls.13.recv_max
   # [ OK ] tls.13.recv_max
   # [ RUN ] tls.13.recv_small
   # [ OK ] tls.13.recv_small
   # [ RUN ] tls.13.msg_more
   # [ OK ] tls.13.msg_more
   # [ RUN ] tls.13.msg_more_unsent
   # [ OK ] tls.13.msg_more_unsent
   # [ RUN ] tls.13.sendmsg_single
   # [ OK ] tls.13.sendmsg_single
   # [ RUN ] tls.13.sendmsg_fragmented
   # [ OK ] tls.13.sendmsg_fragmented
   # [ RUN ] tls.13.sendmsg_large
   # [ OK ] tls.13.sendmsg_large
   # [ RUN ] tls.13.sendmsg_multiple
   # [ OK ] tls.13.sendmsg_multiple
   # [ RUN ] tls.13.sendmsg_multiple_stress
   # [ OK ] tls.13.sendmsg_multiple_stress
   # [ RUN ] tls.13.splice_from_pipe
   # [ OK ] tls.13.splice_from_pipe
   # [ RUN ] tls.13.splice_from_pipe2
   # [ OK ] tls.13.splice_from_pipe2
   # [ RUN ] tls.13.send_and_splice
   # [ OK ] tls.13.send_and_splice
   # [ RUN ] tls.13.splice_to_pipe
   # [ OK ] tls.13.splice_to_pipe
   # [ RUN ] tls.13.recvmsg_single
   # [ OK ] tls.13.recvmsg_single
   # [ RUN ] tls.13.recvmsg_single_max
   # [ OK ] tls.13.recvmsg_single_max
   # [ RUN ] tls.13.recvmsg_multiple
   # [ OK ] tls.13.recvmsg_multiple
   # [ RUN ] tls.13.single_send_multiple_recv
   # [ OK ] tls.13.single_send_multiple_recv
   # [ RUN ] tls.13.multiple_send_single_recv
   # [ OK ] tls.13.multiple_send_single_recv
   # [ RUN ] tls.13.single_send_multiple_recv_non_align
   # [ OK ] tls.13.single_send_multiple_recv_non_align
   # [ RUN ] tls.13.recv_partial
   # [ OK ] tls.13.recv_partial
   # [ RUN ] tls.13.recv_nonblock
   # [ OK ] tls.13.recv_nonblock
   # [ RUN ] tls.13.recv_peek
   # [ OK ] tls.13.recv_peek
   # [ RUN ] tls.13.recv_peek_multiple
   # [ OK ] tls.13.recv_peek_multiple
   # [ RUN ] tls.13.recv_peek_multiple_records
   # [ OK ] tls.13.recv_peek_multiple_records
   # [ RUN ] tls.13.recv_peek_large_buf_mult_recs
   # [ OK ] tls.13.recv_peek_large_buf_mult_recs
   # [ RUN ] tls.13.recv_lowat
   # [ OK ] tls.13.recv_lowat
   # [ RUN ] tls.13.bidir
   # [ OK ] tls.13.bidir
   # [ RUN ] tls.13.pollin
   # [ OK ] tls.13.pollin
   # [ RUN ] tls.13.poll_wait
   # [ OK ] tls.13.poll_wait
   # [ RUN ] tls.13.poll_wait_split
   # [ OK ] tls.13.poll_wait_split
   # [ RUN ] tls.13.blocking
   # [ OK ] tls.13.blocking
   # [ RUN ] tls.13.nonblocking
   # [ OK ] tls.13.nonblocking
   # [ RUN ] tls.13.mutliproc_even
   # [ OK ] tls.13.mutliproc_even
   # [ RUN ] tls.13.mutliproc_readers
   # [ OK ] tls.13.mutliproc_readers
   # [ RUN ] tls.13.mutliproc_writers
   # [ OK ] tls.13.mutliproc_writers
   # [ RUN ] tls.13.mutliproc_sendpage_even
   # [ OK ] tls.13.mutliproc_sendpage_even
   # [ RUN ] tls.13.mutliproc_sendpage_readers
   # [ OK ] tls.13.mutliproc_sendpage_readers
   # [ RUN ] tls.13.mutliproc_sendpage_writers
   # [ OK ] tls.13.mutliproc_sendpage_writers
   # [ RUN ] tls.13.control_msg
   # [ OK ] tls.13.control_msg
   # [ RUN ] tls.13.shutdown
   # [ OK ] tls.13.shutdown
   # [ RUN ] tls.13.shutdown_unsent
   # [ OK ] tls.13.shutdown_unsent
   # [ RUN ] tls.13.shutdown_reuse
   # [ OK ] tls.13.shutdown_reuse
   # [==========] 91 / 93 tests passed.
   # [ FAILED ]
   not ok 6 selftests: net: tls # exit=1

  This is not a regression, it can be found in 5.8.0-1007.7 AWS as well

  On riscv with v5.11 the failures are as follows:

  # # multi_chunk_sendfile: Test terminated by timeout
  # # FAIL tls.12_gcm.multi_chunk_sendfile
  # not ok 6 tls.12_gcm.multi_chunk_sendfile

  # # multi_chunk_sendfile: Test terminated by timeout
  # # FAIL tls.13_gcm.multi_chunk_sendfile
  # not ok 51 tls.13_gcm.multi_chunk_sendfile

  # # multi_chunk_sendfile: Test terminated by timeout
  # # FAIL tls.12_chacha.multi_chunk_sendfile
  # not ok 96 tls.12_chacha.multi_chunk_sendfile

  # # RUN tls.13_chacha.multi_chunk_sendfile ...
  # # multi_chunk_sendfile: Test terminated by timeout
  # # FAIL tls.13_chacha.multi_chunk_sendfile
  # not ok 141 tls.13_chacha.multi_chunk_sendfile

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1900644/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to