Kernel extension safety access method and device

The invention relates to the technical field of computer safety protection and discloses a kernel extension safety access method with embedded rules. The method includes that S1, when a drive accesses a kernel, whether scheduling of the drive on a kernel extension function meets preset use rules is checked; S2, for scheduling of the kernel extension function not meeting the use rules, if the scheduling is error scheduling which can not cause system crash and safety holes, drive operation is stopped, and alarm is given, otherwise fault tolerating is conducted. By means of the method, developers can schedule the kernel extension function directly, the use rules in the kernel extension are not required to be cared about, use standardability of the kernel extension function is detected dynamically during operation, incorrect lightweight class faults are tolerated, operation is stopped if the faults are dangerous, alarm is given, and therefore the reliability and the safety of the drive are improved.