[ovs-dev] [PATCH] odp-util: Enlarge local buffer to hold Geneve options.

Ben Pfaff blp at ovn.org
Mon Dec 4 19:52:07 UTC 2017


On Tue, Nov 28, 2017 at 04:09:25PM -0800, Ben Pfaff wrote:
> The 'mask' buffer in parse_odp_action() is supposed to always be big
> enough:
>         /* 'mask' is big enough to hold any key. */
> 
> Geneve options can be really big and the comment was wrong.  This commit
> fixes the problem.
> 
> Found by libfuzzer.
> 
> Reported-by: Bhargava Shastry <bshastry at sec.t-labs.tu-berlin.de>
> Signed-off-by: Ben Pfaff <blp at ovn.org>

I sent an improved v2:
        https://patchwork.ozlabs.org/patch/844394/


More information about the dev mailing list