Skip to content

msvh: Cross-page access error #6961

@ziqiaozhou

Description

@ziqiaozhou

let gpa = self.translate(gva, flags)?;

This line assumes that the gva passed is from the same address and so may cause error when the read_memory. It requires the fault handler to properly use read_memory only when (gva, data.len()) region does not cross page.

Metadata

Metadata

Assignees

No one assigned

    Labels

    mshvAffects mshv only

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions