ip_defrag.sh in net from ubuntu_kernel_selftests failed with exit code 255 on F-oem-5.6

Bug #1919147 reported by Po-Hsu Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
Fix Released
Undecided
Po-Hsu Lin
linux-oem-5.6 (Ubuntu)
Invalid
Undecided
Unassigned
Focal
Fix Released
Undecided
Po-Hsu Lin

Bug Description

[Impact]
The ip_defrag.sh test in net from kernel-selftest failed with exit
code 255:
 # selftests: net: ip_defrag.sh
 not ok 18 selftests: net: ip_defrag.sh # exit=255

[Fix]
* aba69d49fb49c9 ("selftests: net: ip_defrag: modprobe missing
nf_defrag_ipv6 support")

This patch can be cherry-picked into OEM-5.6

[Test Case]
Run this script after building the net test in kselftest directory
(linux/tools/testing/selftests) from the kernel tree:
 make TARGETS=net
 cd net
 sudo ./ip_defrag.sh

With this patch applied the test will pass without any issue.

[Where problems could occur]
Change limited to the test case only. And this has already included
in other kernels, it's unlikely to cause problems.

[Original Bug Report]
Issue found on 5.6.0-1050.54 - oem

The ip_defrag.sh test failed with:
 # selftests: net: ip_defrag.sh
 not ok 18 selftests: net: ip_defrag.sh # exit=255

I don't think this can be called as a regression, since the ubuntu_kernel_selftests test was removed and added back to the test suite until the most recent cycle. And this issue can be reproduced with 5.6.0-1048-oem as well.

Note that we have another issue for this test filed against F-oem-5.6 in before, see bug 1908498
It looks like there are several changes after this test since then.

Po-Hsu Lin (cypressyew)
tags: added: 5.6 focal oem sru-20210222 ubuntu-kernel-selftests
Po-Hsu Lin (cypressyew)
Changed in ubuntu-kernel-tests:
status: New → In Progress
Po-Hsu Lin (cypressyew)
description: updated
description: updated
Po-Hsu Lin (cypressyew)
description: updated
Po-Hsu Lin (cypressyew)
Changed in linux-oem-5.6 (Ubuntu Focal):
assignee: nobody → Po-Hsu Lin (cypressyew)
Changed in ubuntu-kernel-tests:
assignee: nobody → Po-Hsu Lin (cypressyew)
Changed in linux-oem-5.6 (Ubuntu Focal):
status: New → In Progress
Tim Gardner (timg-tpi)
Changed in linux-oem-5.6 (Ubuntu Focal):
status: In Progress → Fix Committed
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the 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-focal' to 'verification-done-focal'. If the problem still exists, change the tag 'verification-needed-focal' to 'verification-failed-focal'.

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: verification-needed-focal
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux-oem-5.6 - 5.6.0-1053.57

---------------
linux-oem-5.6 (5.6.0-1053.57) focal; urgency=medium

  * focal/linux-oem-5.6: 5.6.0-1053.57 -proposed tracker (LP: #1921042)

  * Packaging resync (LP: #1786013)
    - update dkms package versions

  * LRMv4: switch to signing nvidia modules via the Ubuntu Modules signing key
    (LP: #1918134)
    - [Packaging] sync dkms-build et al from LRMv4

  * CVE-2021-29154
    - SAUCE: bpf, x86: Validate computation of branch displacements for x86-64
    - SAUCE: bpf, x86: Validate computation of branch displacements for x86-32

  * xfrm_policy.sh in net from ubuntu_kernel_selftests passed with failed sub-
    cases (LP: #1909647)
    - selftests: xfrm: fix test return value override issue in xfrm_policy.sh

  * ip_defrag.sh in net from ubuntu_kernel_selftests failed with exit code 255
    on F-oem-5.6 (LP: #1919147)
    - selftests: net: ip_defrag: modprobe missing nf_defrag_ipv6 support

  * l2tp.sh from net in ubuntu_kernel_selftests cause dmesg flooded with
    "unregister_netdevice: waiting for eth0 to become free. Usage count = 1" on
    F-OEM-5.6 (LP: #1919277)
    - l2tp: remove skb_dst_set() from l2tp_xmit_skb()

  * CVE-2020-0466
    - epoll: Keep a reference on files added to the check list
    - do_epoll_ctl(): clean the failure exits up a bit
    - fix regression in "epoll: Keep a reference on files added to the check list"

  * CVE-2021-3178
    - nfsd4: readdirplus shouldn't return parent of export

  * CVE-2020-25285
    - mm/hugetlb: fix a race between hugetlb sysctl handlers

  * CVE-020-10781
    - Revert "zram: convert remaining CLASS_ATTR() to CLASS_ATTR_RO()"

  * CVE-2020-14351
    - perf/core: Fix race in the perf_mmap_close() function

  * CVE-2020-25669
    - Input: sunkbd - avoid use-after-free in teardown paths

  * CVE-2020-14390
    - fbcon: remove soft scrollback code

  * CVE-2021-3411
    - x86/kprobes: Fix optprobe to detect INT3 padding correctly

  * CVE-2020-0423
    - binder: fix UAF when releasing todo list

  * CVE-2020-27830
    - speakup: Reject setting the speakup line discipline outside of speakup

  * CVE-2020-0465
    - HID: core: Correctly handle ReportSize being zero
    - HID: core: Sanitize event code and type when mapping input

  * CVE-2020-25645
    - geneve: add transport ports in route lookup for geneve

  * CVE-2021-20194
    - bpf, cgroup: Fix optlen WARN_ON_ONCE toctou
    - bpf, cgroup: Fix problematic bounds check

  * CVE-2020-36158
    - mwifiex: Fix possible buffer overflows in mwifiex_cmd_802_11_ad_hoc_start

 -- Stefan Bader <email address hidden> Fri, 09 Apr 2021 16:43:44 +0200

Changed in linux-oem-5.6 (Ubuntu Focal):
status: Fix Committed → Fix Released
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

$ sudo ./ip_defrag.sh
ipv4 defrag
seed = 1618386560
PASS
ipv4 defrag with overlaps
seed = 1618386560
PASS
ipv6 defrag
seed = 1618386567
PASS
ipv6 defrag with overlaps
seed = 1618386567
PASS
ipv6 nf_conntrack defrag
seed = 1618386571
PASS
ipv6 nf_conntrack defrag with overlaps
seed = 1618386571
PASS
all tests done
$ echo $?
0
$ uname -a
Linux moe 5.6.0-1053-oem #57-Ubuntu SMP Fri Apr 9 16:13:57 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Changed in linux-oem-5.6 (Ubuntu):
status: New → Invalid
tags: added: verification-done-focal
removed: verification-needed-focal
Changed in ubuntu-kernel-tests:
status: In Progress → Fix Released
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.