* [PATCH net-next 0/2] tcp: take care of another syzbot issue
@ 2022-02-22 3:21 Eric Dumazet
2022-02-22 3:21 ` [PATCH net-next 1/2] net: add skb_set_end_offset() helper Eric Dumazet
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Eric Dumazet @ 2022-02-22 3:21 UTC (permalink / raw)
To: David S . Miller, Jakub Kicinski
Cc: netdev, Marco Elver, Eric Dumazet, Eric Dumazet
From: Eric Dumazet <edumazet@google.com>
This is a minor issue: It took months for syzbot to find a C repro,
and even with it, I had to spend a lot of time to understand KFENCE
was a prereq. With the default kfence 500ms interval, I had to be
very patient to trigger the kernel warning and perform my analysis.
This series targets net-next tree, because I added a new generic helper
in the first patch, then fixed the issue in the second one.
They can be backported once proven solid.
Eric Dumazet (2):
net: add skb_set_end_offset() helper
net: preserve skb_end_offset() in skb_unclone_keeptruesize()
include/linux/skbuff.h | 30 +++++++++++++++++--------
net/core/skbuff.c | 51 ++++++++++++++++++++++++++++++------------
2 files changed, 58 insertions(+), 23 deletions(-)
--
2.35.1.473.g83b2b277ed-goog
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH net-next 1/2] net: add skb_set_end_offset() helper
2022-02-22 3:21 [PATCH net-next 0/2] tcp: take care of another syzbot issue Eric Dumazet
@ 2022-02-22 3:21 ` Eric Dumazet
2022-02-22 3:21 ` [PATCH net-next 2/2] net: preserve skb_end_offset() in skb_unclone_keeptruesize() Eric Dumazet
2022-02-23 4:10 ` [PATCH net-next 0/2] tcp: take care of another syzbot issue patchwork-bot+netdevbpf
2 siblings, 0 replies; 7+ messages in thread
From: Eric Dumazet @ 2022-02-22 3:21 UTC (permalink / raw)
To: David S . Miller, Jakub Kicinski
Cc: netdev, Marco Elver, Eric Dumazet, Eric Dumazet
From: Eric Dumazet <edumazet@google.com>
We have multiple places where this helper is convenient,
and plan using it in the following patch.
Signed-off-by: Eric Dumazet <edumazet@google.com>
---
include/linux/skbuff.h | 10 ++++++++++
net/core/skbuff.c | 19 +++++--------------
2 files changed, 15 insertions(+), 14 deletions(-)
diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h
index a3e90efe65861c32078684ef29bfdefd9f92d6f3..115be7f7348759f33bb7a7c77e3341e6fefd3796 100644
--- a/include/linux/skbuff.h
+++ b/include/linux/skbuff.h
@@ -1536,6 +1536,11 @@ static inline unsigned int skb_end_offset(const struct sk_buff *skb)
{
return skb->end;
}
+
+static inline void skb_set_end_offset(struct sk_buff *skb, unsigned int offset)
+{
+ skb->end = offset;
+}
#else
static inline unsigned char *skb_end_pointer(const struct sk_buff *skb)
{
@@ -1546,6 +1551,11 @@ static inline unsigned int skb_end_offset(const struct sk_buff *skb)
{
return skb->end - skb->head;
}
+
+static inline void skb_set_end_offset(struct sk_buff *skb, unsigned int offset)
+{
+ skb->end = skb->head + offset;
+}
#endif
/* Internal */
diff --git a/net/core/skbuff.c b/net/core/skbuff.c
index 9d0388bed0c1d2166214c95081f4778afe9f50ed..27a2296241c9a1b174495cc8f67c4274aec9cca3 100644
--- a/net/core/skbuff.c
+++ b/net/core/skbuff.c
@@ -201,7 +201,7 @@ static void __build_skb_around(struct sk_buff *skb, void *data,
skb->head = data;
skb->data = data;
skb_reset_tail_pointer(skb);
- skb->end = skb->tail + size;
+ skb_set_end_offset(skb, size);
skb->mac_header = (typeof(skb->mac_header))~0U;
skb->transport_header = (typeof(skb->transport_header))~0U;
@@ -1736,11 +1736,10 @@ int pskb_expand_head(struct sk_buff *skb, int nhead, int ntail,
skb->head = data;
skb->head_frag = 0;
skb->data += off;
+
+ skb_set_end_offset(skb, size);
#ifdef NET_SKBUFF_DATA_USES_OFFSET
- skb->end = size;
off = nhead;
-#else
- skb->end = skb->head + size;
#endif
skb->tail += off;
skb_headers_offset_update(skb, nhead);
@@ -6044,11 +6043,7 @@ static int pskb_carve_inside_header(struct sk_buff *skb, const u32 off,
skb->head = data;
skb->data = data;
skb->head_frag = 0;
-#ifdef NET_SKBUFF_DATA_USES_OFFSET
- skb->end = size;
-#else
- skb->end = skb->head + size;
-#endif
+ skb_set_end_offset(skb, size);
skb_set_tail_pointer(skb, skb_headlen(skb));
skb_headers_offset_update(skb, 0);
skb->cloned = 0;
@@ -6186,11 +6181,7 @@ static int pskb_carve_inside_nonlinear(struct sk_buff *skb, const u32 off,
skb->head = data;
skb->head_frag = 0;
skb->data = data;
-#ifdef NET_SKBUFF_DATA_USES_OFFSET
- skb->end = size;
-#else
- skb->end = skb->head + size;
-#endif
+ skb_set_end_offset(skb, size);
skb_reset_tail_pointer(skb);
skb_headers_offset_update(skb, 0);
skb->cloned = 0;
--
2.35.1.473.g83b2b277ed-goog
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH net-next 2/2] net: preserve skb_end_offset() in skb_unclone_keeptruesize()
2022-02-22 3:21 [PATCH net-next 0/2] tcp: take care of another syzbot issue Eric Dumazet
2022-02-22 3:21 ` [PATCH net-next 1/2] net: add skb_set_end_offset() helper Eric Dumazet
@ 2022-02-22 3:21 ` Eric Dumazet
2022-02-23 9:25 ` Marco Elver
2022-02-23 4:10 ` [PATCH net-next 0/2] tcp: take care of another syzbot issue patchwork-bot+netdevbpf
2 siblings, 1 reply; 7+ messages in thread
From: Eric Dumazet @ 2022-02-22 3:21 UTC (permalink / raw)
To: David S . Miller, Jakub Kicinski
Cc: netdev, Marco Elver, Eric Dumazet, Eric Dumazet, syzbot
From: Eric Dumazet <edumazet@google.com>
syzbot found another way to trigger the infamous WARN_ON_ONCE(delta < len)
in skb_try_coalesce() [1]
I was able to root cause the issue to kfence.
When kfence is in action, the following assertion is no longer true:
int size = xxxx;
void *ptr1 = kmalloc(size, gfp);
void *ptr2 = kmalloc(size, gfp);
if (ptr1 && ptr2)
ASSERT(ksize(ptr1) == ksize(ptr2));
We attempted to fix these issues in the blamed commits, but forgot
that TCP was possibly shifting data after skb_unclone_keeptruesize()
has been used, notably from tcp_retrans_try_collapse().
So we not only need to keep same skb->truesize value,
we also need to make sure TCP wont fill new tailroom
that pskb_expand_head() was able to get from a
addr = kmalloc(...) followed by ksize(addr)
Split skb_unclone_keeptruesize() into two parts:
1) Inline skb_unclone_keeptruesize() for the common case,
when skb is not cloned.
2) Out of line __skb_unclone_keeptruesize() for the 'slow path'.
WARNING: CPU: 1 PID: 6490 at net/core/skbuff.c:5295 skb_try_coalesce+0x1235/0x1560 net/core/skbuff.c:5295
Modules linked in:
CPU: 1 PID: 6490 Comm: syz-executor161 Not tainted 5.17.0-rc4-syzkaller-00229-g4f12b742eb2b #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:skb_try_coalesce+0x1235/0x1560 net/core/skbuff.c:5295
Code: bf 01 00 00 00 0f b7 c0 89 c6 89 44 24 20 e8 62 24 4e fa 8b 44 24 20 83 e8 01 0f 85 e5 f0 ff ff e9 87 f4 ff ff e8 cb 20 4e fa <0f> 0b e9 06 f9 ff ff e8 af b2 95 fa e9 69 f0 ff ff e8 95 b2 95 fa
RSP: 0018:ffffc900063af268 EFLAGS: 00010293
RAX: 0000000000000000 RBX: 00000000ffffffd5 RCX: 0000000000000000
RDX: ffff88806fc05700 RSI: ffffffff872abd55 RDI: 0000000000000003
RBP: ffff88806e675500 R08: 00000000ffffffd5 R09: 0000000000000000
R10: ffffffff872ab659 R11: 0000000000000000 R12: ffff88806dd554e8
R13: ffff88806dd9bac0 R14: ffff88806dd9a2c0 R15: 0000000000000155
FS: 00007f18014f9700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020002000 CR3: 000000006be7a000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
tcp_try_coalesce net/ipv4/tcp_input.c:4651 [inline]
tcp_try_coalesce+0x393/0x920 net/ipv4/tcp_input.c:4630
tcp_queue_rcv+0x8a/0x6e0 net/ipv4/tcp_input.c:4914
tcp_data_queue+0x11fd/0x4bb0 net/ipv4/tcp_input.c:5025
tcp_rcv_established+0x81e/0x1ff0 net/ipv4/tcp_input.c:5947
tcp_v4_do_rcv+0x65e/0x980 net/ipv4/tcp_ipv4.c:1719
sk_backlog_rcv include/net/sock.h:1037 [inline]
__release_sock+0x134/0x3b0 net/core/sock.c:2779
release_sock+0x54/0x1b0 net/core/sock.c:3311
sk_wait_data+0x177/0x450 net/core/sock.c:2821
tcp_recvmsg_locked+0xe28/0x1fd0 net/ipv4/tcp.c:2457
tcp_recvmsg+0x137/0x610 net/ipv4/tcp.c:2572
inet_recvmsg+0x11b/0x5e0 net/ipv4/af_inet.c:850
sock_recvmsg_nosec net/socket.c:948 [inline]
sock_recvmsg net/socket.c:966 [inline]
sock_recvmsg net/socket.c:962 [inline]
____sys_recvmsg+0x2c4/0x600 net/socket.c:2632
___sys_recvmsg+0x127/0x200 net/socket.c:2674
__sys_recvmsg+0xe2/0x1a0 net/socket.c:2704
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x44/0xae
Fixes: c4777efa751d ("net: add and use skb_unclone_keeptruesize() helper")
Fixes: 097b9146c0e2 ("net: fix up truesize of cloned skb in skb_prepare_for_shift()")
Reported-by: syzbot <syzkaller@googlegroups.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Marco Elver <elver@google.com>
---
include/linux/skbuff.h | 20 +++++++++++---------
net/core/skbuff.c | 32 ++++++++++++++++++++++++++++++++
2 files changed, 43 insertions(+), 9 deletions(-)
diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h
index 115be7f7348759f33bb7a7c77e3341e6fefd3796..36e9f3f6e1b43ee16f0eb5c807aaad60e521d015 100644
--- a/include/linux/skbuff.h
+++ b/include/linux/skbuff.h
@@ -1795,20 +1795,22 @@ static inline int skb_unclone(struct sk_buff *skb, gfp_t pri)
return 0;
}
-/* This variant of skb_unclone() makes sure skb->truesize is not changed */
+/* This variant of skb_unclone() makes sure skb->truesize
+ * and skb_end_offset() are not changed, whenever a new skb->head is needed.
+ *
+ * Indeed there is no guarantee that ksize(kmalloc(X)) == ksize(kmalloc(X))
+ * when various debugging features are in place.
+ */
+int __skb_unclone_keeptruesize(struct sk_buff *skb, gfp_t pri);
static inline int skb_unclone_keeptruesize(struct sk_buff *skb, gfp_t pri)
{
+
might_sleep_if(gfpflags_allow_blocking(pri));
- if (skb_cloned(skb)) {
- unsigned int save = skb->truesize;
- int res;
-
- res = pskb_expand_head(skb, 0, 0, pri);
- skb->truesize = save;
- return res;
- }
+ if (skb_cloned(skb))
+ return __skb_unclone_keeptruesize(skb, pri);
return 0;
+
}
/**
diff --git a/net/core/skbuff.c b/net/core/skbuff.c
index 27a2296241c9a1b174495cc8f67c4274aec9cca3..725f2b3567698f91f2b0ee9e9b461bcfe07af737 100644
--- a/net/core/skbuff.c
+++ b/net/core/skbuff.c
@@ -1787,6 +1787,38 @@ struct sk_buff *skb_realloc_headroom(struct sk_buff *skb, unsigned int headroom)
}
EXPORT_SYMBOL(skb_realloc_headroom);
+int __skb_unclone_keeptruesize(struct sk_buff *skb, gfp_t pri)
+{
+ unsigned int saved_end_offset, saved_truesize;
+ struct skb_shared_info *shinfo;
+ int res;
+
+ saved_end_offset = skb_end_offset(skb);
+ saved_truesize = skb->truesize;
+
+ res = pskb_expand_head(skb, 0, 0, pri);
+ if (res)
+ return res;
+
+ skb->truesize = saved_truesize;
+
+ if (likely(skb_end_offset(skb) == saved_end_offset))
+ return 0;
+
+ shinfo = skb_shinfo(skb);
+
+ /* We are about to change back skb->end,
+ * we need to move skb_shinfo() to its new location.
+ */
+ memmove(skb->head + saved_end_offset,
+ shinfo,
+ offsetof(struct skb_shared_info, frags[shinfo->nr_frags]));
+
+ skb_set_end_offset(skb, saved_end_offset);
+
+ return 0;
+}
+
/**
* skb_expand_head - reallocate header of &sk_buff
* @skb: buffer to reallocate
--
2.35.1.473.g83b2b277ed-goog
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH net-next 0/2] tcp: take care of another syzbot issue
2022-02-22 3:21 [PATCH net-next 0/2] tcp: take care of another syzbot issue Eric Dumazet
2022-02-22 3:21 ` [PATCH net-next 1/2] net: add skb_set_end_offset() helper Eric Dumazet
2022-02-22 3:21 ` [PATCH net-next 2/2] net: preserve skb_end_offset() in skb_unclone_keeptruesize() Eric Dumazet
@ 2022-02-23 4:10 ` patchwork-bot+netdevbpf
2022-02-23 4:15 ` Jakub Kicinski
2 siblings, 1 reply; 7+ messages in thread
From: patchwork-bot+netdevbpf @ 2022-02-23 4:10 UTC (permalink / raw)
To: Eric Dumazet; +Cc: davem, kuba, netdev, elver, edumazet
Hello:
This series was applied to netdev/net-next.git (master)
by Jakub Kicinski <kuba@kernel.org>:
On Mon, 21 Feb 2022 19:21:11 -0800 you wrote:
> From: Eric Dumazet <edumazet@google.com>
>
> This is a minor issue: It took months for syzbot to find a C repro,
> and even with it, I had to spend a lot of time to understand KFENCE
> was a prereq. With the default kfence 500ms interval, I had to be
> very patient to trigger the kernel warning and perform my analysis.
>
> [...]
Here is the summary with links:
- [net-next,1/2] net: add skb_set_end_offset() helper
https://git.kernel.org/netdev/net-next/c/763087dab975
- [net-next,2/2] net: preserve skb_end_offset() in skb_unclone_keeptruesize()
(no matching commit)
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH net-next 0/2] tcp: take care of another syzbot issue
2022-02-23 4:10 ` [PATCH net-next 0/2] tcp: take care of another syzbot issue patchwork-bot+netdevbpf
@ 2022-02-23 4:15 ` Jakub Kicinski
2022-02-23 4:48 ` Eric Dumazet
0 siblings, 1 reply; 7+ messages in thread
From: Jakub Kicinski @ 2022-02-23 4:15 UTC (permalink / raw)
To: patchwork-bot+netdevbpf; +Cc: Eric Dumazet, davem, netdev, elver, edumazet
On Wed, 23 Feb 2022 04:10:10 +0000 patchwork-bot+netdevbpf@kernel.org
wrote:
> - [net-next,2/2] net: preserve skb_end_offset() in skb_unclone_keeptruesize()
> (no matching commit)
I dropped the extra new lines around the body of
skb_unclone_keeptruesize()
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH net-next 0/2] tcp: take care of another syzbot issue
2022-02-23 4:15 ` Jakub Kicinski
@ 2022-02-23 4:48 ` Eric Dumazet
0 siblings, 0 replies; 7+ messages in thread
From: Eric Dumazet @ 2022-02-23 4:48 UTC (permalink / raw)
To: Jakub Kicinski
Cc: patchwork-bot+netdevbpf, Eric Dumazet, David Miller, netdev,
Marco Elver
On Tue, Feb 22, 2022 at 8:15 PM Jakub Kicinski <kuba@kernel.org> wrote:
>
> On Wed, 23 Feb 2022 04:10:10 +0000 patchwork-bot+netdevbpf@kernel.org
> wrote:
> > - [net-next,2/2] net: preserve skb_end_offset() in skb_unclone_keeptruesize()
> > (no matching commit)
>
> I dropped the extra new lines around the body of
> skb_unclone_keeptruesize()
Thanks !
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH net-next 2/2] net: preserve skb_end_offset() in skb_unclone_keeptruesize()
2022-02-22 3:21 ` [PATCH net-next 2/2] net: preserve skb_end_offset() in skb_unclone_keeptruesize() Eric Dumazet
@ 2022-02-23 9:25 ` Marco Elver
0 siblings, 0 replies; 7+ messages in thread
From: Marco Elver @ 2022-02-23 9:25 UTC (permalink / raw)
To: Eric Dumazet
Cc: David S . Miller, Jakub Kicinski, netdev, Eric Dumazet, syzbot
On Tue, 22 Feb 2022 at 04:21, Eric Dumazet <eric.dumazet@gmail.com> wrote:
>
> From: Eric Dumazet <edumazet@google.com>
>
> syzbot found another way to trigger the infamous WARN_ON_ONCE(delta < len)
> in skb_try_coalesce() [1]
>
> I was able to root cause the issue to kfence.
>
> When kfence is in action, the following assertion is no longer true:
>
> int size = xxxx;
> void *ptr1 = kmalloc(size, gfp);
> void *ptr2 = kmalloc(size, gfp);
>
> if (ptr1 && ptr2)
> ASSERT(ksize(ptr1) == ksize(ptr2));
>
> We attempted to fix these issues in the blamed commits, but forgot
> that TCP was possibly shifting data after skb_unclone_keeptruesize()
> has been used, notably from tcp_retrans_try_collapse().
>
> So we not only need to keep same skb->truesize value,
> we also need to make sure TCP wont fill new tailroom
> that pskb_expand_head() was able to get from a
> addr = kmalloc(...) followed by ksize(addr)
>
> Split skb_unclone_keeptruesize() into two parts:
>
> 1) Inline skb_unclone_keeptruesize() for the common case,
> when skb is not cloned.
>
> 2) Out of line __skb_unclone_keeptruesize() for the 'slow path'.
>
> WARNING: CPU: 1 PID: 6490 at net/core/skbuff.c:5295 skb_try_coalesce+0x1235/0x1560 net/core/skbuff.c:5295
> Modules linked in:
> CPU: 1 PID: 6490 Comm: syz-executor161 Not tainted 5.17.0-rc4-syzkaller-00229-g4f12b742eb2b #0
> Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
> RIP: 0010:skb_try_coalesce+0x1235/0x1560 net/core/skbuff.c:5295
> Code: bf 01 00 00 00 0f b7 c0 89 c6 89 44 24 20 e8 62 24 4e fa 8b 44 24 20 83 e8 01 0f 85 e5 f0 ff ff e9 87 f4 ff ff e8 cb 20 4e fa <0f> 0b e9 06 f9 ff ff e8 af b2 95 fa e9 69 f0 ff ff e8 95 b2 95 fa
> RSP: 0018:ffffc900063af268 EFLAGS: 00010293
> RAX: 0000000000000000 RBX: 00000000ffffffd5 RCX: 0000000000000000
> RDX: ffff88806fc05700 RSI: ffffffff872abd55 RDI: 0000000000000003
> RBP: ffff88806e675500 R08: 00000000ffffffd5 R09: 0000000000000000
> R10: ffffffff872ab659 R11: 0000000000000000 R12: ffff88806dd554e8
> R13: ffff88806dd9bac0 R14: ffff88806dd9a2c0 R15: 0000000000000155
> FS: 00007f18014f9700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
> CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
> CR2: 0000000020002000 CR3: 000000006be7a000 CR4: 00000000003506f0
> DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
> DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
> Call Trace:
> <TASK>
> tcp_try_coalesce net/ipv4/tcp_input.c:4651 [inline]
> tcp_try_coalesce+0x393/0x920 net/ipv4/tcp_input.c:4630
> tcp_queue_rcv+0x8a/0x6e0 net/ipv4/tcp_input.c:4914
> tcp_data_queue+0x11fd/0x4bb0 net/ipv4/tcp_input.c:5025
> tcp_rcv_established+0x81e/0x1ff0 net/ipv4/tcp_input.c:5947
> tcp_v4_do_rcv+0x65e/0x980 net/ipv4/tcp_ipv4.c:1719
> sk_backlog_rcv include/net/sock.h:1037 [inline]
> __release_sock+0x134/0x3b0 net/core/sock.c:2779
> release_sock+0x54/0x1b0 net/core/sock.c:3311
> sk_wait_data+0x177/0x450 net/core/sock.c:2821
> tcp_recvmsg_locked+0xe28/0x1fd0 net/ipv4/tcp.c:2457
> tcp_recvmsg+0x137/0x610 net/ipv4/tcp.c:2572
> inet_recvmsg+0x11b/0x5e0 net/ipv4/af_inet.c:850
> sock_recvmsg_nosec net/socket.c:948 [inline]
> sock_recvmsg net/socket.c:966 [inline]
> sock_recvmsg net/socket.c:962 [inline]
> ____sys_recvmsg+0x2c4/0x600 net/socket.c:2632
> ___sys_recvmsg+0x127/0x200 net/socket.c:2674
> __sys_recvmsg+0xe2/0x1a0 net/socket.c:2704
> do_syscall_x64 arch/x86/entry/common.c:50 [inline]
> do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
> entry_SYSCALL_64_after_hwframe+0x44/0xae
>
> Fixes: c4777efa751d ("net: add and use skb_unclone_keeptruesize() helper")
> Fixes: 097b9146c0e2 ("net: fix up truesize of cloned skb in skb_prepare_for_shift()")
> Reported-by: syzbot <syzkaller@googlegroups.com>
> Signed-off-by: Eric Dumazet <edumazet@google.com>
> Cc: Marco Elver <elver@google.com>
> ---
> include/linux/skbuff.h | 20 +++++++++++---------
> net/core/skbuff.c | 32 ++++++++++++++++++++++++++++++++
> 2 files changed, 43 insertions(+), 9 deletions(-)
FWIW, I also exposed this to syzkaller for the last 24h with
CONFIG_KFENCE_SAMPLE_INTERVAL=10 - so far no warning.
Tested-by: Marco Elver <elver@google.com>
Thanks!
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2022-02-23 9:26 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-22 3:21 [PATCH net-next 0/2] tcp: take care of another syzbot issue Eric Dumazet
2022-02-22 3:21 ` [PATCH net-next 1/2] net: add skb_set_end_offset() helper Eric Dumazet
2022-02-22 3:21 ` [PATCH net-next 2/2] net: preserve skb_end_offset() in skb_unclone_keeptruesize() Eric Dumazet
2022-02-23 9:25 ` Marco Elver
2022-02-23 4:10 ` [PATCH net-next 0/2] tcp: take care of another syzbot issue patchwork-bot+netdevbpf
2022-02-23 4:15 ` Jakub Kicinski
2022-02-23 4:48 ` Eric Dumazet
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox