On 22 Jun 2026, at 16:57, Eelco Chaudron via dev wrote:

> When dummy_allocate_flow_mark() fails and returns INVALID_FLOW_MARK,
> the code jumps to exit_unlock with off_flow still set to NULL.
> At exit_unlock, off_flow->stats is dereferenced if put->stats is
> non-NULL, causing a null pointer dereference.
>
> Fix by also checking that no error occurred before accessing
> off_flow->stats, since off_flow is guaranteed to be non-NULL
> on the success path.
>
> Fixes: e86d368c6e16 ("dummy-offload: Add simulated hardware offload.")
> Reported by Coverity: CID 561159.
> Signed-off-by: Eelco Chaudron <[email protected]>
> ---

Recheck-request: github-robot

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to