Thread (9 messages) flat view 9 messages, 4 authors, 2022-02-22

Re: [PATCH nf 2/5] netfilter: nf_tables_offload: incorrect flow offload action array size

From: Dominique Martinet <asmadeus@codewreck.org>
Date: 2022-02-21 22:24:37
Also in: netfilter-devel

Pablo Neira Ayuso wrote on Mon, Feb 21, 2022 at 05:17:54PM +0100:
immediate verdict expression needs to allocate one slot in the flow offload
action array, however, immediate data expression does not need to do so.

fwd and dup expression need to allocate one slot, this is missing.

Add a new offload_action interface to report if this expression needs to
allocate one slot in the flow offload action array.

Fixes: be2861dc36d7 ("netfilter: nft_{fwd,dup}_netdev: add offload support")
Reported-and-tested-by: Nick Gregory <redacted>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
FYI this patch has been reported as fixing an arbitrary oob write on
oss-security just now:
https://www.openwall.com/lists/oss-security/2022/02/21/2

So it might make sense to send it quickly to Linus and linux-stable for
immediate backport as it will get some attention...
The poster didn't say anything about coordinating this with security
handling people so it's safe to assume that wasn't done.


Thanks,
-- 
Dominique
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help