函数名称:pmd_none 函数原型:static inline int pmd_none(pmd_t pmd) 返回类型:int 参数: 类型参数名称 pmd_t pmd 788 val等于native_pmd_val(pmd) 789 返回:val按位与_PAGE_KNL_ERRATUM_MASK的反的值恒等于0 调用者 名称描述 follow_pmd_mask ...
Linux Kernel是Linux操作系统的内核。 使用pmd_present的VM会返回错误的PROT_NONE范围值,当使用pmd_present的代码得到漏报后,内核会崩溃,本地未授权用户可利用此漏洞使系统崩溃。 <* 参考 https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2013-0309 *> 安全建议: 厂商补丁: Linux --- 目前厂商已经发布了升...
> Most VM places are using pmd_none but a few are still using pmd_present. > The meaning is about the same for the pmd. However pmd_present would > return the wrong value on PROT_NONE ranges. When the code using > pmd_present gets a false negative, the kernel will crash. > > An...