ip6gretap / erspan / ip6erspan in rtnetlink.sh from net of ubuntu_kernel_selftests failed on B-5.4-aws / B-5.4-gke / B-5.4-oracle / B-5.4-azure / B-5.4
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-kernel-tests |
Fix Released
|
Undecided
|
Kleber Sacilotto de Souza | ||
linux (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
Kleber Sacilotto de Souza |
Bug Description
[ Impact ]
When running the net/rtnetlink.sh selftest from v5.4 on older Ubuntu releases (e.g. Bionic 18.04), some of the iproute2 CLI options are not available causing the testcase to fail.
[ Fix ]
SAUCE patch to detect whether some options not present on older iproute2 versions are available, skipping or adapting the tests.
[ Test ]
Run net/rtnetlink.sh on 5.4 kernels with both Focal and Bionic userspace. The test should complete without introducing regressions on Focal and without breaking on Bionic.
[ Where problems could occur ]
If the checks for the available interfaces are not done correctly, we could end up having a smaller coverage on Focal or the tests would still break in Bionic.
[ Original bug description ]
Issue found on 5.4.0-1025.
# Usage: ... { ip6gre | ip6gretap | ip6erspan} [ remote ADDR ]
# [ local ADDR ]
# [ [i|o]seq ]
# [ [i|o]key KEY ]
# [ [i|o]csum ]
# [ hoplimit TTL ]
# [ encaplimit ELIM ]
# [ tclass TCLASS ]
# [ flowlabel FLOWLABEL ]
# [ dscp inherit ]
# [ fwmark MARK ]
# [ dev PHYS_DEV ]
# [ noencap ]
# [ encap { fou | gue | none } ]
# [ encap-sport PORT ]
# [ encap-dport PORT ]
# [ [no]encap-csum ]
# [ [no]encap-csum6 ]
# [ [no]encap-remcsum ]
# [ erspan IDX ]
#
# Where: ADDR := IPV6_ADDRESS
# TTL := { 0..255 } (default=64)
# KEY := { DOTTED_QUAD | NUMBER }
# ELIM := { none | 0..255 }(default=4)
# TCLASS := { 0x0..0xff | inherit }
# FLOWLABEL := { 0x0..0xfffff | inherit }
# MARK := { 0x0..0xffffffff | inherit }
# Cannot find device "ip6gretap00"
# FAIL: ip6gretap
# Usage: ... { gre | gretap | erspan } [ remote ADDR ]
# [ local ADDR ]
# [ [i|o]seq ]
# [ [i|o]key KEY ]
# [ [i|o]csum ]
# [ ttl TTL ]
# [ tos TOS ]
# [ [no]pmtudisc ]
# [ [no]ignore-df ]
# [ dev PHYS_DEV ]
# [ noencap ]
# [ encap { fou | gue | none } ]
# [ encap-sport PORT ]
# [ encap-dport PORT ]
# [ [no]encap-csum ]
# [ [no]encap-csum6 ]
# [ [no]encap-remcsum ]
# [ external ]
# [ fwmark MARK ]
# [ erspan IDX ]
#
# Where: ADDR := { IP_ADDRESS | any }
# TOS := { NUMBER | inherit }
# TTL := { 1..255 | inherit }
# KEY := { DOTTED_QUAD | NUMBER }
# MARK := { 0x0..0xffffffff }
# Cannot find device "erspan00"
# Cannot find device "erspan00"
# Cannot find device "erspan00"
# Usage: ... { gre | gretap | erspan } [ remote ADDR ]
# [ local ADDR ]
# [ [i|o]seq ]
# [ [i|o]key KEY ]
# [ [i|o]csum ]
# [ ttl TTL ]
# [ tos TOS ]
# [ [no]pmtudisc ]
# [ [no]ignore-df ]
# [ dev PHYS_DEV ]
# [ noencap ]
# [ encap { fou | gue | none } ]
# [ encap-sport PORT ]
# [ encap-dport PORT ]
# [ [no]encap-csum ]
# [ [no]encap-csum6 ]
# [ [no]encap-remcsum ]
# [ external ]
# [ fwmark MARK ]
# [ erspan IDX ]
#
# Where: ADDR := { IP_ADDRESS | any }
# TOS := { NUMBER | inherit }
# TTL := { 1..255 | inherit }
# KEY := { DOTTED_QUAD | NUMBER }
# MARK := { 0x0..0xffffffff }
# Cannot find device "erspan00"
# Cannot find device "erspan00"
# Cannot find device "erspan00"
# FAIL: erspan
# Usage: ... { ip6gre | ip6gretap | ip6erspan} [ remote ADDR ]
# [ local ADDR ]
# [ [i|o]seq ]
# [ [i|o]key KEY ]
# [ [i|o]csum ]
# [ hoplimit TTL ]
# [ encaplimit ELIM ]
# [ tclass TCLASS ]
# [ flowlabel FLOWLABEL ]
# [ dscp inherit ]
# [ fwmark MARK ]
# [ dev PHYS_DEV ]
# [ noencap ]
# [ encap { fou | gue | none } ]
# [ encap-sport PORT ]
# [ encap-dport PORT ]
# [ [no]encap-csum ]
# [ [no]encap-csum6 ]
# [ [no]encap-remcsum ]
# [ erspan IDX ]
#
# Where: ADDR := IPV6_ADDRESS
# TTL := { 0..255 } (default=64)
# KEY := { DOTTED_QUAD | NUMBER }
# ELIM := { none | 0..255 }(default=4)
# TCLASS := { 0x0..0xff | inherit }
# FLOWLABEL := { 0x0..0xfffff | inherit }
# MARK := { 0x0..0xffffffff | inherit }
# Cannot find device "ip6erspan00"
# Cannot find device "ip6erspan00"
# Cannot find device "ip6erspan00"
# Usage: ... { ip6gre | ip6gretap | ip6erspan} [ remote ADDR ]
# [ local ADDR ]
# [ [i|o]seq ]
# [ [i|o]key KEY ]
# [ [i|o]csum ]
# [ hoplimit TTL ]
# [ encaplimit ELIM ]
# [ tclass TCLASS ]
# [ flowlabel FLOWLABEL ]
# [ dscp inherit ]
# [ fwmark MARK ]
# [ dev PHYS_DEV ]
# [ noencap ]
# [ encap { fou | gue | none } ]
# [ encap-sport PORT ]
# [ encap-dport PORT ]
# [ [no]encap-csum ]
# [ [no]encap-csum6 ]
# [ [no]encap-remcsum ]
# [ erspan IDX ]
#
# Where: ADDR := IPV6_ADDRESS
# TTL := { 0..255 } (default=64)
# KEY := { DOTTED_QUAD | NUMBER }
# ELIM := { none | 0..255 }(default=4)
# TCLASS := { 0x0..0xff | inherit }
# FLOWLABEL := { 0x0..0xfffff | inherit }
# MARK := { 0x0..0xffffffff | inherit }
# Cannot find device "ip6erspan00"
# Cannot find device "ip6erspan00"
# Cannot find device "ip6erspan00"
# Usage: ... { ip6gre | ip6gretap | ip6erspan} [ remote ADDR ]
# [ local ADDR ]
# [ [i|o]seq ]
# [ [i|o]key KEY ]
# [ [i|o]csum ]
# [ hoplimit TTL ]
# [ encaplimit ELIM ]
# [ tclass TCLASS ]
# [ flowlabel FLOWLABEL ]
# [ dscp inherit ]
# [ fwmark MARK ]
# [ dev PHYS_DEV ]
# [ noencap ]
# [ encap { fou | gue | none } ]
# [ encap-sport PORT ]
# [ encap-dport PORT ]
# [ [no]encap-csum ]
# [ [no]encap-csum6 ]
# [ [no]encap-remcsum ]
# [ erspan IDX ]
#
# Where: ADDR := IPV6_ADDRESS
# TTL := { 0..255 } (default=64)
# KEY := { DOTTED_QUAD | NUMBER }
# ELIM := { none | 0..255 }(default=4)
# TCLASS := { 0x0..0xff | inherit }
# FLOWLABEL := { 0x0..0xfffff | inherit }
# MARK := { 0x0..0xffffffff | inherit }
# Cannot find device "ip6erspan00"
# FAIL: ip6erspan
CVE References
summary: |
- ip6gretap in rtnetlink.sh from net of ubuntu_kernel_selftests failed on - B-5.4-aws + ip6gretap / erspan / ip6erspan in rtnetlink.sh from net of + ubuntu_kernel_selftests failed on B-5.4-aws |
summary: |
ip6gretap / erspan / ip6erspan in rtnetlink.sh from net of - ubuntu_kernel_selftests failed on B-5.4-aws + ubuntu_kernel_selftests failed on B-5.4-aws / B-5.4-gke |
description: | updated |
summary: |
ip6gretap / erspan / ip6erspan in rtnetlink.sh from net of - ubuntu_kernel_selftests failed on B-5.4-aws / B-5.4-gke + ubuntu_kernel_selftests failed on B-5.4-aws / B-5.4-gke / B-5.4-oracle / + B-5.4-azure |
summary: |
ip6gretap / erspan / ip6erspan in rtnetlink.sh from net of ubuntu_kernel_selftests failed on B-5.4-aws / B-5.4-gke / B-5.4-oracle / - B-5.4-azure + B-5.4-azure / B-5.4 |
tags: | added: 5.4 amd64 bionic kqa-blocker oracle sru-20201109 ubuntu-kernel-selftests |
tags: | added: hwe sru-20210315 |
Changed in ubuntu-kernel-tests: | |
assignee: | nobody → Po-Hsu Lin (cypressyew) |
status: | New → Incomplete |
status: | Incomplete → In Progress |
tags: | added: sru-20210927 |
Changed in linux (Ubuntu Focal): | |
status: | Confirmed → In Progress |
assignee: | nobody → Kleber Sacilotto de Souza (kleber-souza) |
description: | updated |
Changed in ubuntu-kernel-tests: | |
assignee: | Po-Hsu Lin (cypressyew) → nobody |
assignee: | nobody → Kleber Sacilotto de Souza (kleber-souza) |
Changed in linux (Ubuntu Focal): | |
status: | In Progress → Fix Committed |
Changed in ubuntu-kernel-tests: | |
status: | In Progress → Fix Released |
Seen with linux-gcp 5.4.0-1037. 40~18.04. 1.