net kselftest failures in the tls bidir test case
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Committed
|
Medium
|
Seth Forshee | ||
Hirsute |
Fix Released
|
Medium
|
Seth Forshee |
Bug Description
[Impact]
The tls bidir test from the network kselftests fails with the ChaCha cipher:
# RUN tls.12_chacha.bidir ...
# tls.c:845:
# bidir: Test terminated by assertion
# FAIL tls.12_chacha.bidir
This is a problem with the test. The test fixture setup configures tls in one direction on the test socket pair according to the cipher being tested. The test case configures tls in the other direction, however it always configures for GCM regardless of the cipher being tested. When the test cipher is ChaCha the setsockopt() calls fail as the cipher is required to be the same in both directions.
[Test Plan]
Run the tls test from the net kselftests and confirm that the bidir test now passes when the test cipher is ChaCha.
[Where problems could occur]
This is a fix for a test case and should have no user impact. A serious problem in the test case might cause passing test cases to fail or prevent subsequent test cases from running. Any such issues should be caught during testing in -proposed before releasing kernels to users.
Changed in linux (Ubuntu Hirsute): | |
assignee: | nobody → Seth Forshee (sforshee) |
importance: | Undecided → Medium |
status: | New → In Progress |
Changed in linux (Ubuntu): | |
importance: | Undecided → Medium |
status: | In Progress → Fix Committed |
Changed in linux (Ubuntu Hirsute): | |
status: | In Progress → Fix Committed |
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- hirsute' to 'verification- done-hirsute' . If the problem still exists, change the tag 'verification- needed- hirsute' to 'verification- failed- hirsute' .
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!