Invention Grant
- Patent Title: Method and apparatus for repairing kernel vulnerability
-
Application No.: US15619023Application Date: 2017-06-09
-
Publication No.: US10528742B2Publication Date: 2020-01-07
- Inventor: Liangzhao Xia , Longri Zheng , Yongqiang Lu , Chenfu Bao , Yulong Zhang , Tao Wei
- Applicant: BAIDU ONLINE NETWORK TECHNOLOGY (BEIJING) CO., LTD.
- Applicant Address: CN Beijing
- Assignee: BAIDU ONLINE NETWORK TECHNOLOGY (BEIJING) CO., LTD.
- Current Assignee: BAIDU ONLINE NETWORK TECHNOLOGY (BEIJING) CO., LTD.
- Current Assignee Address: CN Beijing
- Agency: Lathrop Gage LLP
- Priority: CN201611139292 20161212
- Main IPC: G06F21/57
- IPC: G06F21/57 ; G06F9/445 ; G06F8/656

Abstract:
The present disclosure discloses a method and an apparatus for repairing a kernel vulnerability. A specific implementation of the method comprises: collecting attribute information of a to-be-repaired kernel, the attribute information comprising feature information for representing a code loading mode supported by the to-be-repaired kernel; acquiring a vulnerability repairing code matching the feature information, the vulnerability repairing code being used for invoking a patch application programming interface, the patch application programming interface being used for adapting the vulnerability repairing code to kernel functions of different kernels; loading the vulnerability repairing code and relocating an instruction contained in the vulnerability repairing code; replacing an address relocated by the patch application programming interface in the vulnerability repairing code with an address of the kernel function invoked by the vulnerability repairing code; and executing the vulnerability repairing code with the replaced address to repair the kernel vulnerability.
Public/Granted literature
- US20180165458A1 METHOD AND APPARATUS FOR REPAIRING KERNEL VULNERABILITY Public/Granted day:2018-06-14
Information query