Thanks to visit codestin.com
Credit goes to github.com

Skip to content

vmm: memory_manager: Check MMIO access size is correct - #8506

Merged
likebreath merged 1 commit into
cloud-hypervisor:mainfrom
rbradford:202607/memory-manager-mmio-check
Jul 1, 2026
Merged

likebreath merged 1 commit into
cloud-hypervisor:mainfrom
rbradford:202607/memory-manager-mmio-check

Conversation

@rbradford

Copy link
Copy Markdown
Member

Check that the MMIO accesses is 4 bytes long as otherwise it would
be possible for the guest to trigger a panic when the memory ranges base
and length are copied for fulfilling the MMIO read.

This pattern of check matches similar checks in CpuManager and
DeviceManager.

Signed-off-by: Rob Bradford [email protected]

Check that the MMIO accesses is 4 bytes long as otherwise it would
be possible for the guest to trigger a panic when the memory ranges base
and length are copied for fulfilling the MMIO read.

This pattern of check matches similar checks in CpuManager and
DeviceManager.

Signed-off-by: Rob Bradford <[email protected]>
@rbradford
rbradford requested a review from a team as a code owner July 1, 2026 15:53
@likebreath
likebreath added this pull request to the merge queue Jul 1, 2026
@github-project-automation github-project-automation Bot moved this from 🆕 New to 📋 Backlog in Cloud Hypervisor Roadmap Jul 1, 2026
@likebreath likebreath added the bug-fix Bug fix to include in release notes label Jul 1, 2026
Merged via the queue into cloud-hypervisor:main with commit eb83814 Jul 1, 2026
39 checks passed
@github-project-automation github-project-automation Bot moved this from 📋 Backlog to ✅ Done in Cloud Hypervisor Roadmap Jul 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug-fix Bug fix to include in release notes

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

2 participants