-
Notifications
You must be signed in to change notification settings - Fork 779
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
TLUL Error Response and devmode #10311
Comments
let's bring this up in the next security meeting. This is very related to an issue that we ran out of time to discuss last week. This is more or less a philosophical decision of the entire project. Early on we decided to show very little, but that trend is somewhat shifting in certain areas, and we need to make a collective decision on the project. My personal opinion is that this particular project we don't need to hide from software (we have a few mechanisms that can prevent software abuse, but we don't generally work against it). Other projects I can very reasonably see why we want to hide more. |
After discussions today, it was decided that for OpenTitan's "current usecase", there is no need to hide the tlul error from software. For future usecases, this question should be re-examined as it may be a very reasonable choice to lock down the error response and indication. |
Thanks @tjaychen for the update. |
Removing the "Hotlist:Security" label as this issue/label is very old and the issue has been marked as "FutureRelease" |
We should probably double check whether our assessment still applies for PROD. |
For clarification, we always return all 1s (peripherals) or all 0s (memory) in the response data when accessing unmapped addresses. The only thing After discussing with @msfschaffner and @johannheyszl , we think that the previous assumptions still hold for our current designs and use cases: 1) exposing the error condition eases debugging in the field and software development, 2) from a security point of view there seems to be little use in hiding the error condition, 3) what is relevant for security is to blank the response data which is happening independent of Thus we're going to suggest to leave this as is for the time being in the next Security working group meeting. Maybe we should think about updating the documentation to reflect our thinking there as well. |
We have discussed this in the Security Working Group meeting on Oct 26, 2023 and concluded the following (on top of the points mentioned previously):
Therefore, we have decided to not change the behavior of the design (error response is signaled together with the blanked response data) and to remove the I am thus removing the hotlist label. My understandig is that we even want this for Earlgrey Prod, so we could also remove the future releases label. Is this correct @msfschaffner ? |
Thanks for the summary, @vogelpi! Yes, that is correct! It is also tagged as a PROD candidate. |
As discussed on lowRISC#10311 we are removing the devmode input signal from the codebase, since it has been decided that this will not be used. Signed-off-by: Michael Schaffner <[email protected]>
As discussed on lowRISC#10311 we are removing the devmode input signal from the codebase, since it has been decided that this will not be used. Signed-off-by: Michael Schaffner <[email protected]>
As discussed on lowRISC#10311 we are removing the devmode input signal from the codebase, since it has been decided that this will not be used. Signed-off-by: Michael Schaffner <[email protected]>
As discussed on #10311 we are removing the devmode input signal from the codebase, since it has been decided that this will not be used. Signed-off-by: Michael Schaffner <[email protected]>
when there is an error on the read, we currently respond all 1s for CSR read and all 0s for mem read (all 0s is an illegal instruction in RISC-V [sram_ctrl] D2S review opens #10195). I'm fine with this. LMK if this is a concern.
We have defined a
devmode
, but looks like this port hasn't been exposed to the IP top and it's tied to 1 in all IPs. Is below spec still valid or should we remove it?The text was updated successfully, but these errors were encountered: