diff options
| author | Jakub Kicinski <[email protected]> | 2025-06-20 17:40:07 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2025-06-22 17:50:23 +0000 |
| commit | 5e95c0a3a55aea490420bd6994805edb050cc86b (patch) | |
| tree | e27bbc40135d498ba0e8bdf8f99fd145c4f36582 /net/unix/unix_bpf.c | |
| parent | selftest: add selftest for anycast notifications (diff) | |
| download | kernel-5e95c0a3a55aea490420bd6994805edb050cc86b.tar.gz kernel-5e95c0a3a55aea490420bd6994805edb050cc86b.zip | |
netdevsim: fix UaF when counting Tx stats
skb may be freed as soon as we put it on the rx queue.
Use the len variable like the code did prior to the conversion.
Fixes: f9e2511d80c2 ("netdevsim: migrate to dstats stats collection")
Signed-off-by: Jakub Kicinski <[email protected]>
Acked-by: David S. Miller <[email protected]>
Reviewed-by: Breno Leitao <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions
