Skip to content
Snippets Groups Projects
Commit fc669c03 authored by Peter Jones's avatar Peter Jones Committed by Colin Watson
Browse files

lvm: fix two more potential data-dependent alloc overflows


It appears to be possible to make a (possibly invalid) lvm PV with a
metadata size field that overflows our type when adding it to the
address we've allocated.  Even if it doesn't, it may be possible to do
so with the math using the outcome of that as an operand.  Check them
both.

Signed-off-by: default avatarPeter Jones <pjones@redhat.com>
Signed-off-by: default avatarDarren Kenny <darren.kenny@oracle.com>

Patch-Name: lvm-overflow.patch
parent 2db482b9
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment