Supervisor mode execution protection

US9323533B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-9323533-B2
Application numberUS-201113997857-A
CountryUS
Kind codeB2
Filing dateDec 29, 2011
Priority dateDec 29, 2011
Publication dateApr 26, 2016
Grant dateApr 26, 2016

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

Apparatuses and methods for supervisor mode execution protection are disclosed. In one embodiment, a processor includes an interface to access a memory, execution hardware, and control logic. A region in the memory is user memory. The execution hardware is to execute an instruction. The control logic is to prevent the execution hardware from executing the instruction when the instruction is stored in user memory and the processor is in supervisor mode.

First claim

Opening claim text (preview).

What is claimed is: 1. A processor comprising: an interface to access a memory, wherein a region in the memory is user memory; execution hardware to execute an instruction; control logic to prevent the execution hardware from executing the instruction when the instruction is stored in user memory and the processor is in supervisor mode; a paging unit, wherein the paging unit is to translate a linear address to a physical address using a page table hierarchy, and the region may be designated as user memory by a flag at any level in the page table hierarchy; and wherein the execution unit is also to execute a processor identification instruction by returning an indication that the processor includes control logic to prevent the processor from executing from user memory when the processor is in supervisor mode. 2. The processor of claim 1 , further comprising instruction hardware to fetch the instruction, wherein the control logic is to prevent the execution hardware from executing the instruction by preventing the instruction hardware from fetching the instruction from user memory when the processor is in supervisor mode. 3. The processor of claim 1 , wherein the processor is in supervisor mode when executing software in a privilege level higher than a lowest privilege level. 4. The processor of claim 1 , further comprising processing storage including a programmable storage location to enable the control logic to prevent the processor from executing from user memory when the processor is in supervisor mode. 5. A method comprising: attempting, by software running on a processor in supervisor mode, to execute an instruction; preventing the processor from executing the instruction when the instruction is stored in user memory; a paging unit, wherein the paging unit is to translate a linear address to a physical address using a page table hierarchy, and the region may be designated as user memory by a flag at any level in the page table hierarchy; and wherein the execution unit is also to execute a processor identification instruction by returning an indication that the processor includes control logic to prevent the processor from executing from user memory when the processor is in supervisor mode. 6. The method of claim 5 , wherein attempting includes attempting to fetch the instruction from memory, and preventing includes preventing fetching the instruction from user memory. 7. The method of claim 5 , wherein preventing includes causing a fault. 8. The method of claim 5 , further comprising executing a processor identification instruction to determine that the processor supports preventing execution from user memory when in supervisor mode. 9. The method of claim 5 , further comprising writing to a control register to enable prevention of execution from user mode when the processor is in supervisor mode. 10. The method of claim 5 , further comprising attempting, by the processor running in user mode, to execute the instruction. 11. The method of claim 10 , further comprising allowing the processor running in user mode to execute the instruction. 12. The method of claim 10 , wherein attempting, by the processor running in user mode, to execute the instruction includes attempting, by the processor running in user mode, to fetch the instruction. 13. The method of claim 11 , wherein allowing the processor running in user mode to execute the instruction includes allowing the processor running in user mode to fetch the instruction. 14. A system comprising: a memory, including a region of user memory; and a processor coupled to the memory, including execution hardware to execute an instruction, control logic to prevent the execution hardware from executing the instruction when the instruction is stored in user memory and the processor is in supervisor mode; a paging unit, wherein the paging unit is to translate a linear address to a physical address using a page table hierarchy, and the region may be designated as user memory by a flag at any level in the page table hierarchy; and wherein the execution unit is also to execute a processor identification instruction by returning an indication that the processor includes control logic to prevent the processor from executing from user memory when the processor is in supervisor mode. 15. The system of claim 14 , wherein the processor also includes instruction hardware to fetch the instruction, wherein the control logic is to prevent the execution hardware from executing the instruction by preventing the instruction hardware from fetching the instruction from user memory when the processor is in supervisor mode. 16. The system of claim 14 , wherein the processor is in supervisor mode when executing software in a privilege level higher than a lowest privilege level. 17. The system of claim 14 , wherein the memory is accessible as a plurality of pages, and user memory includes a subset of the plurality of pages.

Assignees

Inventors

Classifications

  • using tables or multilevel address translation means (G06F12/023 takes precedence; address translation in virtual memory systems G06F12/10) · CPC title

  • in a hierarchical protection system, e.g. privilege levels, memory rings · CPC title

  • according to execution mode, e.g. mode flag · CPC title

  • using page tables, e.g. page table structures · CPC title

  • LOAD or STORE instructions; Clear instruction · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US9323533B2 cover?
Apparatuses and methods for supervisor mode execution protection are disclosed. In one embodiment, a processor includes an interface to access a memory, execution hardware, and control logic. A region in the memory is user memory. The execution hardware is to execute an instruction. The control logic is to prevent the execution hardware from executing the instruction when the instruction is sto…
Who is the assignee on this patent?
Ven Adriaan Van De, Patel Baiju V, Mallick Asit K, and 5 more
What technology area does this patent fall under?
Primary CPC classification G06F12/0292. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Apr 26 2016 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).