Thread (3 messages) 3 messages, 2 authors, 2023-08-30

Re: [PATCH nf] netfilter/xt_u32: validate user space input

From: Pablo Neira Ayuso <pablo@netfilter.org>
Date: 2023-08-30 19:05:55
Also in: lkml, netfilter-devel

On Mon, Aug 28, 2023 at 10:21:07AM -0300, Wander Lairson Costa wrote:
The xt_u32 module doesn't validate the fields in the xt_u32 structure.
An attacker may take advantage of this to trigger an OOB read by setting
the size fields with a value beyond the arrays boundaries.

Add a checkentry function to validate the structure.

This was originally reported by the ZDI project (ZDI-CAN-18408).
Applied to nf, thanks
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help