Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

backport-v2.1: arch: arc: fix the bug of blt in syscall #23499

Merged
merged 1 commit into from May 5, 2020

Conversation

d3zd3z
Copy link
Collaborator

@d3zd3z d3zd3z commented Mar 16, 2020

blt is signed comparsion, if r6 is a negative number created by
malicious code, it will pass the check, bring a secure risk.

use blo (unsinged comparison) to do the check.

Signed-off-by: Wayne Ren wei.ren@synopsys.com
Signed-off-by: David Brown david.brown@linaro.org

(backport of #23328)

blt is signed comparsion, if r6 is a negative number created by
malicious code, it will pass the check, bring a secure risk.

use blo (unsinged comparison) to do the check.

Signed-off-by: Wayne Ren <wei.ren@synopsys.com>
Signed-off-by: David Brown <david.brown@linaro.org>
@nashif nashif added this to To do in Backports Mar 24, 2020
@carlescufi carlescufi moved this from To do to Ready in Backports Mar 24, 2020
@nashif nashif added this to the v2.1.1 milestone Mar 26, 2020
@dleach02 dleach02 closed this Apr 7, 2020
Backports automation moved this from Ready to Done Apr 7, 2020
@dleach02 dleach02 reopened this Apr 7, 2020
@dleach02 dleach02 moved this from Done to Ready in Backports Apr 7, 2020
@zephyrbot zephyrbot added the area: ARC ARC Architecture label Apr 7, 2020
@dleach02 dleach02 closed this Apr 16, 2020
Backports automation moved this from Ready to Done Apr 16, 2020
@dleach02 dleach02 reopened this Apr 16, 2020
@dleach02 dleach02 moved this from Done to Ready in Backports Apr 16, 2020
@dleach02 dleach02 closed this Apr 20, 2020
Backports automation moved this from Ready to Done Apr 20, 2020
@dleach02 dleach02 reopened this Apr 20, 2020
@dleach02 dleach02 moved this from Done to Ready in Backports Apr 20, 2020
@dleach02 dleach02 merged commit 8fa136d into zephyrproject-rtos:v2.1-branch May 5, 2020
Backports automation moved this from Ready to Done May 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: ARC ARC Architecture
Projects
Backports
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

7 participants