diff options
| author | Mina Almasry <almasrymina@google.com> | 2026-08-23 18:36:01 +0000 |
|---|---|---|
| committer | Paolo Abeni <pabeni@redhat.com> | 2026-08-25 11:28:40 +0200 |
| commit | 00e11ee9831b3439264e0ae6762a0470126515af (patch) | |
| tree | 3e57e08e5d4d8d92d800f1c13983c74a75d6d88e /tools/perf/scripts/python | |
| parent | 2db9bfa3e27bdea15e05ea70b56bad3d21e570ec (diff) | |
net: core: check skb_frags_readable before uncloning in skb_copy_ubufs
skb_copy_ubufs drops clones and modifies the SKB via pskb_expand_head()
before checking for !skb_frags_readable(skb). This alters the SKB
geometry prior to throwing an -EFAULT on an invalid SKB. Check
readability first.
Fixes: 65249feb6b3d ("net: add support for skbs with unreadable frags")
Signed-off-by: Mina Almasry <almasrymina@google.com>
Link: https://patch.msgid.link/20260823183602.1051453-1-almasrymina@google.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
