[fips-legacy-8] net/ulp: prevent ULP without clone op from entering the LISTEN status #393
+19
−0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
jira VULN-8789
cve CVE-2023-0461
First I'll say @pvts-mat did a great write-up on this CVE in this PR #282 so you may want to read that if what I say below doesn't make sense. I'm going to try to give the abbreviated version below....
This CVE was fixed upstream with commit 2c02d41. And later, there was an upstream fix for that commit in commit 8ccc993. Those are the basis for the two commits in this PR. But the backport of commit 2c02d41 requires a change from upstream in order to work correctly on some older kernels. It was actually improperly backported to some stable kernels, and then had to be fixed in another unique, non-upstream based commit. An example of that is LT 5.10 commit fdaf885. Since that commit (or one like it) doesn't exists in the upstream, I chose to incorporate that change into my backport of commit 2c02d41 right off the bat (as described in upstream-diff tag of the commit message). Think of it as the change as it should have originally been backported to stable kernels. Then the upstream fix commit 8ccc993 applied cleanly on top of it. In ciqlts8_6 we actually took the improper backport as it was originally done in stable kernels, and then @pvts-mat fixed that along with 8ccc993 in PR 282. Although the commits to get there are different, we will end up with the same code in fips-legacy-8 and ciqlts8_6. I hope that makes sense.
Build Log
Testing
selftest-4.18.0-425.13.1.el8.ciqfipscompliant.40.1.x86_64.log
selftest-4.18.0-b_f-l-8-c_4.18.0-425.13.1_VULN-8789-25bb22c30da5+.log