Thread (11 messages) 11 messages, 4 authors, 3d ago

Re: [PATCH net v2] xsk: reject undersized tx_metadata at runtime validation

From: Cen Zhang <hidden>
Date: 2026-07-23 12:06:23
Also in: bpf, lkml

On Wed, Jul 22, 2026 at 10:55:17AM -0700, Stanislav Fomichev wrote:
Hmm, the AI review points out another set of TOCTOU issues :-/ I wonder
whether want to go all in and rewrite the users to have a copy
of metadata? Something like the following below, build tested only,
any issues with that?
I applied your proposed patch and tested it against my local reproducer
-- the bug is gone.
Maybe you want to take ownership of this patch and run the proposed
resolution against internal AI review?
Please go ahead and carry this forward. Happy to help test further
if needed.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help