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

use API to validate user-supplied kernel buffers #3630

Closed
zephyrbot opened this issue May 24, 2017 · 0 comments
Closed

use API to validate user-supplied kernel buffers #3630

zephyrbot opened this issue May 24, 2017 · 0 comments
Assignees
Labels
area: Kernel Enhancement Changes/Updates/Additions to existing features priority: high High impact/importance bug

Comments

@zephyrbot
Copy link
Collaborator

zephyrbot commented May 24, 2017

Reported by Andrew Boie:

Many system calls will work on user-provided buffers. We need to have a way to prove that these buffers reside in a region of memory that a thread has read or write access to. We will need to define a general interface for this (probably calling into architecture-specific APIs), and then add conditionally compiled hooks into it in all our kernel APIs which work on buffers.

Separate JIRAs have been filed to implement this on ARM and x86. Scope of this JIRA is to modify the system calls themselves to use this API.

(Imported from Jira ZEP-2192)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Kernel Enhancement Changes/Updates/Additions to existing features priority: high High impact/importance bug
Projects
None yet
Development

No branches or pull requests

2 participants