You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Backports upstream firecracker PR firecracker-microvm#5794 (commit 1689689). Adds a
MAX_STATS_DESC_LEN (256 stat tags = 2560 bytes) cap on the stats
descriptor processed by process_stats_queue(). Pre-fix, a guest
could submit a descriptor with arbitrarily large `head.len`,
causing the inner loop `for index in (0..head.len).step_by(...)`
to iterate billions of times and stall the VMM event loop.
No CVE was assigned upstream; AWS classifies this as a host DoS
hardening rather than a security advisory.
Operationally, SAFE microVMs do not attach a balloon device, so
the unfixed code path is unreachable in our deployment. This is
defence-in-depth for any future config that does attach one.
Cherry-picked cleanly from upstream's source-code diff with two
mechanical adaptations for v1.6.5:
- drop the unrelated CHANGELOG hunk;
- drop the second 'interrupt' argument from balloon.activate()
in the new test (added in upstream's later refactor) and
explicitly import the warn! macro that this module did not
yet pull in.
(cherry picked from commit 1689689f0a31f9b1107c01ae9c6ed5b6f110050e)
0 commit comments