[Possible Regression] net:reuseaddr_ports_exhausted.sh in ubuntu_kernel_selftests failed on F-oem-5.14 / J-oem-5.17
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-kernel-tests |
New
|
Undecided
|
Unassigned | ||
linux-oem-5.14 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
Unassigned | ||
linux-oem-5.17 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Issue found on F-oem-5.
Test log:
TAP version 13
1..3
# Starting 3 tests from 1 test cases.
# RUN global.
# OK global.
ok 1 global.
# RUN global.
# OK global.
ok 2 global.
# RUN global.
# reuseaddr_
# reuseaddr_
# reuseaddr_
# reuseaddr_
# reuseaddr_
# reuseaddr_
# reuseaddr_
# reuseaddr_
# reuseaddr_
# FAIL global.
not ok 3 global.
# FAILED: 2 / 3 tests passed.
# Totals: pass:2 fail:1 xfail:0 xpass:0 skip:0 error:0
Test result with 5.14.0-1057.64
$ sudo ./reuseaddr_
TAP version 13
1..3
# Starting 3 tests from 1 test cases.
# RUN global.
# OK global.
ok 1 global.
# RUN global.
# OK global.
ok 2 global.
# RUN global.
# OK global.
ok 3 global.
# PASSED: 3 / 3 tests passed.
# Totals: pass:3 fail:0 xfail:0 xpass:0 skip:0 error:0
tests done
CVE References
Changed in linux-oem-5.14 (Ubuntu): | |
status: | New → Invalid |
Changed in linux-oem-5.17 (Ubuntu Focal): | |
status: | Fix Committed → Fix Released |
Changed in linux-oem-5.14 (Ubuntu Focal): | |
status: | Fix Committed → Fix Released |
This is also failing on J-oem-5. 17.0-1028. 29.
$ sudo ./reuseaddr_ ports_exhausted .sh reuseaddr_ ports_exhausted _unreusable ... reuseaddr_ ports_exhausted _unreusable reuseaddr_ ports_exhausted _unreusable reuseaddr_ ports_exhausted _reusable_ same_euid ... reuseaddr_ ports_exhausted _reusable_ same_euid reuseaddr_ ports_exhausted _reusable_ same_euid reuseaddr_ ports_exhausted _reusable_ different_ euid ... ports_exhausted .c:153: reuseaddr_ ports_exhausted _reusable_ different_ euid:Expected -1 (-1) == ret (0) ports_exhausted .c:153: reuseaddr_ ports_exhausted _reusable_ different_ euid:should fail to listen because only one uid reserves the port in TCP_LISTEN. ports_exhausted .c:153: reuseaddr_ ports_exhausted _reusable_ different_ euid:Expected -1 (-1) == ret (0) ports_exhausted .c:153: reuseaddr_ ports_exhausted _reusable_ different_ euid:should fail to listen because only one uid reserves the port in TCP_LISTEN. ports_exhausted .c:153: reuseaddr_ ports_exhausted _reusable_ different_ euid:Expected -1 (-1) == ret (0) ports_exhausted .c:153: reuseaddr_ ports_exhausted _reusable_ different_ euid:should fail to listen because only one uid reserves the port in TCP_LISTEN. ports_exhausted .c:153: reuseaddr_ ports_exhausted _reusable_ different_ euid:Expected -1 (-1) == ret (0) ports_exhausted .c:153: reuseaddr_ ports_exhausted _reusable_ different_ euid:should fail to listen because only one uid reserves the port in TCP_LISTEN. ports_exhausted _reusable_ different_ euid: Test failed at step #13 reuseaddr_ ports_exhausted _reusable_ different_ euid reuseaddr_ ports_exhausted _reusable_ different_ euid
TAP version 13
1..3
# Starting 3 tests from 1 test cases.
# RUN global.
# OK global.
ok 1 global.
# RUN global.
# OK global.
ok 2 global.
# RUN global.
# reuseaddr_
# reuseaddr_
# reuseaddr_
# reuseaddr_
# reuseaddr_
# reuseaddr_
# reuseaddr_
# reuseaddr_
# reuseaddr_
# FAIL global.
not ok 3 global.
# FAILED: 2 / 3 tests passed.
# Totals: pass:2 fail:1 xfail:0 xpass:0 skip:0 error:0
$ uname -a
Linux vought 5.17.0-1028-oem #29-Ubuntu SMP PREEMPT Fri Feb 10 10:28:20 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux