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
read_volatile() method is called on avail_ring_ptr and used_ring_ptr of
Queue and it assumes a pointer of interest is aligned properly;
otherwise results in a panic. Such an unalignment is possible when
restored from a broken/fuzzed snapshot. Both must be aligned at least
for u16 (2-byte alignment) as documented in Queue. Add pointer alignment
check and exit with an error instead of panic.
Signed-off-by: Takahiro Itazuri <[email protected]>
0 commit comments