net:cmsg_ipv6.sh from ubuntu_kernel_selftests failed with K-5.19

Bug #2000709 reported by Po-Hsu Lin
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
In Progress
Medium
Andrei Gherzan
linux (Ubuntu)
In Progress
Medium
Andrei Gherzan
Kinetic
Fix Released
Medium
Andrei Gherzan

Bug Description

Issue found with 5.19.0-28.29

Running 'make run_tests -C net TEST_PROGS=cmsg_ipv6.sh TEST_GEN_PROGS='' TEST_CUSTOM_PROGS='''
 make: Entering directory '/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/net'
 make --no-builtin-rules ARCH=x86 -C ../../../.. headers_install
 make[1]: Entering directory '/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux'
   INSTALL ./usr/include
 make[1]: Leaving directory '/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux'
 TAP version 13
 1..1
 # selftests: net: cmsg_ipv6.sh
 # Case TCLASS UDP setsock - packet data returned 1, expected 0
 # Case TCLASS ICMP setsock - packet data returned 1, expected 0
 # Case TCLASS RAW setsock - packet data returned 1, expected 0
 # Case TCLASS UDP cmsg - packet data returned 1, expected 0
 # Case TCLASS ICMP cmsg - packet data returned 1, expected 0
 # Case TCLASS RAW cmsg - packet data returned 1, expected 0
 # Case TCLASS UDP both - packet data returned 1, expected 0
 # Case TCLASS ICMP both - packet data returned 1, expected 0
 # Case TCLASS RAW both - packet data returned 1, expected 0
 # Case TCLASS UDP diff - packet data returned 1, expected 0
 # Case TCLASS ICMP diff - packet data returned 1, expected 0
 # Case TCLASS RAW diff - packet data returned 1, expected 0
 # Case HOPLIMIT UDP setsock - packet data returned 1, expected 0
 # Case HOPLIMIT ICMP setsock - packet data returned 1, expected 0
 # Case HOPLIMIT RAW setsock - packet data returned 1, expected 0
 # Case HOPLIMIT UDP cmsg - packet data returned 1, expected 0
 # Case HOPLIMIT ICMP cmsg - packet data returned 1, expected 0
 # Case HOPLIMIT RAW cmsg - packet data returned 1, expected 0
 # Case HOPLIMIT UDP both - packet data returned 1, expected 0
 # Case HOPLIMIT ICMP both - packet data returned 1, expected 0
 # Case HOPLIMIT RAW both - packet data returned 1, expected 0
 # Case HOPLIMIT UDP diff - packet data returned 1, expected 0
 # Case HOPLIMIT ICMP diff - packet data returned 1, expected 0
 # Case HOPLIMIT RAW diff - packet data returned 1, expected 0
 # FAIL - 24/93 cases failed
 not ok 1 selftests: net: cmsg_ipv6.sh # exit=1

This is not a regression as the net test build was blocked with bug 1993155

Po-Hsu Lin (cypressyew)
summary: - net:cmsg_ipv6.sh from ubuntu_kernel_selftests failed with K-5.19 (
+ net:cmsg_ipv6.sh from ubuntu_kernel_selftests failed with K-5.19
Changed in ubuntu-kernel-tests:
assignee: nobody → Andrei Gherzan (agherzan)
status: New → Confirmed
Changed in ubuntu-kernel-tests:
status: Confirmed → In Progress
Revision history for this message
Andrei Gherzan (agherzan) wrote :

Reproduced on Kinetic, 5.19.0-28.

Changed in linux (Ubuntu):
assignee: nobody → Andrei Gherzan (agherzan)
Changed in linux (Ubuntu Kinetic):
assignee: nobody → Andrei Gherzan (agherzan)
Changed in ubuntu-kernel-tests:
importance: Undecided → Medium
Changed in linux (Ubuntu):
importance: Undecided → Medium
Changed in linux (Ubuntu Kinetic):
importance: Undecided → Medium
Changed in linux (Ubuntu):
status: New → In Progress
Changed in linux (Ubuntu Kinetic):
status: New → In Progress
Revision history for this message
Andrei Gherzan (agherzan) wrote (last edit ):
Revision history for this message
Andrei Gherzan (agherzan) wrote :

This also requires the dummy net config (CONFIG_DUMMY) brought in as a fix in https://bugs.launchpad.net/ubuntu/+source/linux-kvm/+bug/1998244

Revision history for this message
Andrei Gherzan (agherzan) wrote :
Revision history for this message
Andrei Gherzan (agherzan) wrote :

I have sent a backported patch to the mailing list: https://lists.ubuntu.com/archives/kernel-team/2023-February/136838.html

tags: added: patch
Changed in linux (Ubuntu Kinetic):
status: In Progress → Fix Committed
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the linux/5.19.0-37.38 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-kinetic' to 'verification-done-kinetic'. If the problem still exists, change the tag 'verification-needed-kinetic' to 'verification-failed-kinetic'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: kernel-spammed-kinetic-linux verification-needed-kinetic
Revision history for this message
Andrei Gherzan (agherzan) wrote :

Tested using linux kinetic version 5.19.0-37.38:

# make run_tests -C net TEST_PROGS=cmsg_ipv6.sh TEST_GEN_PROGS='' TEST_CUSTOM_PROGS=''
make: Entering directory '/root/linux-5.19.0/tools/testing/selftests/net'
make --no-builtin-rules ARCH=x86 -C ../../../.. headers_install
make[1]: Entering directory '/root/linux-5.19.0'
  INSTALL ./usr/include
make[1]: Leaving directory '/root/linux-5.19.0'
TAP version 13
1..1
# selftests: net: cmsg_ipv6.sh
# OK
ok 1 selftests: net: cmsg_ipv6.sh

Linux ubuntu-kinetic 5.19.0-37-generic #38-Ubuntu SMP PREEMPT_DYNAMIC Wed Mar 1 18:08:14 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

tags: added: verification-done-kinetic
removed: verification-needed-kinetic
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (15.0 KiB)

This bug was fixed in the package linux - 5.19.0-38.39

---------------
linux (5.19.0-38.39) kinetic; urgency=medium

  * kinetic/linux: 5.19.0-38.39 -proposed tracker (LP: #2012088)

  * NFS deathlock with last Kernel 5.4.0-144.161 and 5.15.0-67.74 (LP: #2009325)
    - NFS: Correct timing for assigning access cache timestamp

linux (5.19.0-37.38) kinetic; urgency=medium

  * kinetic/linux: 5.19.0-37.38 -proposed tracker (LP: #2008305)

  * XPS 9320 screen flicker on UHD panel 3840x2400 (LP: #2007516)
    - SAUCE: drm/i915/display/psr: Disable PSR2 sel fetch on panel SHP 5457

  * Fix speaker mute hotkey doesn't work on Dell G16 series (LP: #2003161)
    - platform/x86: dell-wmi: Add a keymap for KEY_MUTE in type 0x0010 table

  * net:cmsg_ipv6.sh from ubuntu_kernel_selftests failed with K-5.19
    (LP: #2000709)
    - selftest: net: Improve IPV6_TCLASS/IPV6_HOPLIMIT tests apparmor
      compatibility

  * rtcpie in timers from ubuntu_kernel_selftests randomly failing
    (LP: #1814234)
    - SAUCE: selftest: rtcpie: Force passing unreliable subtest

  * CVE-2023-0469
    - io_uring/filetable: fix file reference underflow

  * Improve arp_ndisc_evict_nocarrier.sh test result processing (LP: #2006546)
    - selftests: net: return non-zero for failures reported in
      arp_ndisc_evict_nocarrier

  * Make cm32181 sensor work after system suspend (LP: #1981773)
    - iio: light: cm32181: Add PM support

  * Fix Thunderbolt device hotplug fail when connect via thunderbolt dock
    (LP: #1991366)
    - PCI: Fix used_buses calculation in pci_scan_child_bus_extend()
    - PCI: Pass available buses even if the bridge is already configured
    - PCI: Move pci_assign_unassigned_root_bus_resources()
    - PCI: Fix whitespace and indentation
    - PCI: Fix typo in pci_scan_child_bus_extend()

  * arp_ndisc_evict_nocarrier.sh in net from ubuntu_kernel_selftests failed on
    J-oem-5.17 / K (LP: #1968310)
    - selftests: net: fix cleanup_v6() for arp_ndisc_evict_nocarrier

  * Screen freeze after resuming from suspend (nvme0: I/O timeout)
    (LP: #1996048)
    - PCI: vmd: Disable MSI remapping after suspend

  * RaptorLake: Fix the Screen is shaking by onboard HDMI port in mirror mode
    (LP: #1993561)
    - drm/i915/display: Drop check for doublescan mode in modevalid
    - drm/i915/display: Prune Interlace modes for Display >=12

  * udpgro_frglist.sh in net from ubuntu_kernel_selftests failed with K-5.19
    (Missing nat6to4 helper) (LP: #2000708)
    - selftests/net: mv bpf/nat6to4.c to net folder

  * selftests/.../nat6to4 breaks the selftests build (LP: #1996536)
    - selftests: net: Add cross-compilation support for BPF programs
    - selftests: net: Fix O=dir builds

  * CVE-2023-0266 // CVE-2023-0266 was assigned for this issue.
    - ALSA: pcm: Move rwsem lock inside snd_ctl_elem_read to prevent UAF

  * CVE-2022-4382
    - USB: gadgetfs: Fix race between mounting and unmounting

  * CVE-2022-2196
    - KVM: VMX: Execute IBPB on emulated VM-exit when guest has IBRS

  * ubuntu_kernel_selftests: net:udpgso_bench.sh failed (LP: #1951447)
    - selftests: net: udpgso_bench: Fix racing bug between the rx/tx programs

  * Kinetic update: upstream...

Changed in linux (Ubuntu Kinetic):
status: Fix Committed → Fix Released
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the linux-aws/5.19.0-1023.24 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-kinetic' to 'verification-done-kinetic'. If the problem still exists, change the tag 'verification-needed-kinetic' to 'verification-failed-kinetic'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: kernel-spammed-kinetic-linux-aws verification-needed-kinetic
removed: verification-done-kinetic
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the linux-azure/5.19.0-1023.24 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-kinetic' to 'verification-done-kinetic'. If the problem still exists, change the tag 'verification-needed-kinetic' to 'verification-failed-kinetic'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: kernel-spammed-kinetic-linux-azure
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the linux-nvidia-5.19/5.19.0-1009.9 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-jammy' to 'verification-done-jammy'. If the problem still exists, change the tag 'verification-needed-jammy' to 'verification-failed-jammy'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: kernel-spammed-jammy-linux-nvidia-5.19 verification-needed-jammy
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Verified with linux-azure/5.19.0-1023.24 and linux-aws/5.19.0-1023.24, this cmsg_ipv6.sh has passed without any issue.

tags: added: verification-done-kinetic
removed: verification-needed-kinetic
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.