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

Possible memory corruption on ARC when userspace is enabled #50467

Closed
stephanosio opened this issue Sep 21, 2022 · 0 comments · Fixed by #50489
Closed

Possible memory corruption on ARC when userspace is enabled #50467

stephanosio opened this issue Sep 21, 2022 · 0 comments · Fixed by #50489
Assignees
Labels
area: ARC ARC Architecture area: SMP Symmetric multiprocessing area: Userspace Userspace bug The issue is a bug, or the PR is fixing a bug priority: high High impact/importance bug
Milestone

Comments

@stephanosio
Copy link
Member

stephanosio commented Sep 21, 2022

Using Z_THREAD_STACK_BUFFER instead of Z_KERNEL_STACK_BUFFER can cause memory corruption when userspace is enabled.

See #50459 (comment)

@stephanosio stephanosio added bug The issue is a bug, or the PR is fixing a bug area: ARC ARC Architecture area: SMP Symmetric multiprocessing area: Userspace Userspace labels Sep 21, 2022
@stephanosio stephanosio added this to the v3.2.0 milestone Sep 21, 2022
@stephanosio stephanosio added the priority: high High impact/importance bug label Sep 21, 2022
ruuddw added a commit to ruuddw/zephyr that referenced this issue Sep 21, 2022
Use  Z_KERNEL_STACK_BUFFER instead of
Z_THREAD_STACK_BUFFER for initial stack.

Fixes zephyrproject-rtos#50467

Signed-off-by: Ruud Derwig <Ruud.Derwig@synopsys.com>
fabiobaltieri pushed a commit that referenced this issue Sep 21, 2022
Use  Z_KERNEL_STACK_BUFFER instead of
Z_THREAD_STACK_BUFFER for initial stack.

Fixes #50467

Signed-off-by: Ruud Derwig <Ruud.Derwig@synopsys.com>
zephyrbot pushed a commit that referenced this issue Sep 21, 2022
Use  Z_KERNEL_STACK_BUFFER instead of
Z_THREAD_STACK_BUFFER for initial stack.

Fixes #50467

Signed-off-by: Ruud Derwig <Ruud.Derwig@synopsys.com>
(cherry picked from commit 9bccb5c)
zephyrbot pushed a commit that referenced this issue Sep 21, 2022
Use  Z_KERNEL_STACK_BUFFER instead of
Z_THREAD_STACK_BUFFER for initial stack.

Fixes #50467

Signed-off-by: Ruud Derwig <Ruud.Derwig@synopsys.com>
(cherry picked from commit 9bccb5c)
zephyrbot pushed a commit that referenced this issue Sep 21, 2022
Use  Z_KERNEL_STACK_BUFFER instead of
Z_THREAD_STACK_BUFFER for initial stack.

Fixes #50467

Signed-off-by: Ruud Derwig <Ruud.Derwig@synopsys.com>
(cherry picked from commit 9bccb5c)
carlescufi pushed a commit that referenced this issue Sep 22, 2022
Use  Z_KERNEL_STACK_BUFFER instead of
Z_THREAD_STACK_BUFFER for initial stack.

Fixes #50467

Signed-off-by: Ruud Derwig <Ruud.Derwig@synopsys.com>
(cherry picked from commit 9bccb5c)
dkalowsk pushed a commit that referenced this issue Sep 23, 2022
Use  Z_KERNEL_STACK_BUFFER instead of
Z_THREAD_STACK_BUFFER for initial stack.

Fixes #50467

Signed-off-by: Ruud Derwig <Ruud.Derwig@synopsys.com>
(cherry picked from commit 9bccb5c)
cfriedt pushed a commit that referenced this issue Sep 23, 2022
Use  Z_KERNEL_STACK_BUFFER instead of
Z_THREAD_STACK_BUFFER for initial stack.

Fixes #50467

Signed-off-by: Ruud Derwig <Ruud.Derwig@synopsys.com>
(cherry picked from commit 9bccb5c)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: ARC ARC Architecture area: SMP Symmetric multiprocessing area: Userspace Userspace bug The issue is a bug, or the PR is fixing a bug priority: high High impact/importance bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants