mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 04:31:50 +00:00
7a86dab8cf
Since the offset is added directly to the hva from the
gfn_to_hva_cache, a negative offset could result in an out of bounds
write. The existing BUG_ON only checks for addresses beyond the end of
the gfn_to_hva_cache, not for addresses before the start of the
gfn_to_hva_cache.
Note that all current call sites have non-negative offsets.
Fixes:
|
||
---|---|---|
.. | ||
kvm | ||
lib | ||
Makefile |