[email protected] writes: > [Severity: Low] > The message names only the libeth prerequisite. Does this patch also > depend on two other commits from the same series?
Yes. A backport of this patch needs patches 1 to 3 of this series, which stop libeth and the skb builders from relying on the shared info at the end of the frame. > [Severity: Medium] > With XDP_FLAGS_SINFO_EXT set, bpf_xdp_adjust_tail() can now grow > data_end up to data_hard_start + frame_sz. xsk_rcv_check() in > net/xdp/xsk.c was not updated. Does it still agree with this new bound? The larger tail only lets a packet that still fits in its own chunk reach xsk_rcv_check(), which drops it and counts rx_dropped, as for any packet longer than the socket's frame size. Nothing reads or writes outside the chunk, and bpf_xdp_adjust_head() could already reach the same check. Changing the frame size limit would change what userspace sees, so I'd rather not do that in a net fix. > [Severity: Critical] > This is a pre-existing issue and was not introduced by this patch, but > it is in the class of bug this patch closes. dpaa2 stores a kernel > pointer inside the UMEM chunk, which userspace can write. Agreed, that is real and separate from this series. I'll report it to the dpaa2 maintainer.
