Skip to content

[Bug] Backport fix for a self-DOS scenario from rust-vmm's vm-virtio #3149

Closed
@dianpopa

Description

@dianpopa

Describe the bug

Backport PR rust-vmm/vm-virtio#196 which fixes a self-DOS scenario in the virtio queue logic.
The PR solves an issue where a malitious guest driver could force the virtio device to process some descriptors more than once. This in turn could lead to a self-DOS on the thread processing the queue.

More details on the aformentioned PR.

Environment

[Author TODO: Please supply the following information):]
[ - Firecracker version.]
[ - Host and guest kernel versions.]
[ - Rootfs used.]
[ - Architecture.]
[ - Any other relevant software versions.]

Additional context

[Author TODO: How has this bug affected you?]

[Author TODO: What are you trying to achieve?]

[Author TODO: Do you have any idea of what the solution might be?]

Checks

  • Have you searched the Firecracker Issues database for similar problems?
  • Have you read the existing relevant Firecracker documentation?
  • Are you certain the bug being reported is a Firecracker issue?

Metadata

Metadata

Assignees

Labels

Type: BugIndicates an unexpected problem or unintended behavior

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions