aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/tasks.py
diff options
context:
space:
mode:
authorJason Wang <[email protected]>2021-06-04 13:53:47 +0800
committerMichael S. Tsirkin <[email protected]>2021-07-08 07:49:01 -0400
commit44593865b7c5f55bf587f297c72d682c671eea2b (patch)
tree591ca6616d1dd5472fb3f6d1f8416fa1345e9eb5 /scripts/gdb/linux/tasks.py
parent5a22242160201b819be2fe67e15cc9338f3ee582 (diff)
virtio_ring: secure handling of mapping errors
We should not depend on the DMA address, length and flag of descriptor table since they could be wrote with arbitrary value by the device. So this patch switches to use the stored one in desc_extra. Note that the indirect descriptors are fine since they are read-only streaming mappings. Signed-off-by: Jason Wang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Michael S. Tsirkin <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions