Check patentability & draft patents in minutes with Patsnap Eureka AI!

Kernel protection method and device suitable for ARM (Advanced RISC Machines) platform and access method and device

A technology for protecting devices and kernels, which is applied in the field of kernel security and can solve the problem that the kernel is easily attacked.

Pending Publication Date: 2021-08-17
BANMA ZHIXING NETWORK HONGKONG CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] A technical problem to be solved in this disclosure is to provide a kernel protection scheme to solve the problem that the kernel is vulnerable to attacks caused by the existing storage structure of thread_info

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Kernel protection method and device suitable for ARM (Advanced RISC Machines) platform and access method and device
  • Kernel protection method and device suitable for ARM (Advanced RISC Machines) platform and access method and device
  • Kernel protection method and device suitable for ARM (Advanced RISC Machines) platform and access method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] Preferred embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although preferred embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.

[0039] This disclosure changes the traditional thread_info storage method, removes the process information thread_info structure from the kernel stack, and stores it in the process descriptor task_struct structure. By separating thread_info from the stack and storing it in task_struct, the risk of accessing task_struct through thread_info can be avoided, and the problem of important data being overwritten due to stack overflow can be solved....

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a kernel protection method and device suitable for an ARM (Advanced RISC Machines) platform and an access method and device. The kernel protection method comprises the following steps of: storing a process information thread_info structural body into a process descriptor task_struct structural body; and storing a pointer corresponding to the process descriptor (task_struct) structural body in the global array. The thread_info is separated from the stack and stored in the task_struct, so that the risk caused by accessing the task_struct through the thread_info can be avoided, and the problem that important data is overwritten due to the influence of stack overflow can be solved. The pointer corresponding to the process descriptor task_struct structural body is stored in the global array, so that hardware limitation can be bypassed, and the storage and access of the task_struct pointer can be completed through codes without depending on a CPU (Central Processing Unit) architecture.

Description

technical field [0001] The present disclosure relates to the field of kernel security, in particular to a kernel protection method, access method and device applicable to an ARM platform. Background technique [0002] task_struct is an important data structure in the Linux kernel, which is the process descriptor of each process and thread (a thread is also a process in the kernel). The task_struct structure stores important information of almost all processes such as the process name, uid, stack address pointer, and parent process pointer of the process. [0003] thread_info is another important data structure related to task_struct in the Linux kernel, which stores important description information of the current process (thread). [0004] The storage location of thread_info is quite special. It shares 8KB of memory space with the kernel stack and is located at the bottom of the kernel stack. It stores important data structures such as the task_struct structure pointer and...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F21/52G06F21/57
CPCG06F21/52G06F21/57
Inventor 申晨李丹许来光
Owner BANMA ZHIXING NETWORK HONGKONG CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More