+++ /dev/null
-From 6374a2d901c66437fda6b4796c915b0d95dd7000 Mon Sep 17 00:00:00 2001
-From: Sasha Levin <sashal@kernel.org>
-Date: Mon, 9 May 2022 20:57:40 -0700
-Subject: net: remove two BUG() from skb_checksum_help()
-
-From: Eric Dumazet <edumazet@google.com>
-
-[ Upstream commit d7ea0d9df2a6265b2b180d17ebc64b38105968fc ]
-
-I have a syzbot report that managed to get a crash in skb_checksum_help()
-
-If syzbot can trigger these BUG(), it makes sense to replace
-them with more friendly WARN_ON_ONCE() since skb_checksum_help()
-can instead return an error code.
-
-Note that syzbot will still crash there, until real bug is fixed.
-
-Signed-off-by: Eric Dumazet <edumazet@google.com>
-Signed-off-by: David S. Miller <davem@davemloft.net>
-Signed-off-by: Sasha Levin <sashal@kernel.org>
----
- net/core/dev.c | 8 ++++++--
- 1 file changed, 6 insertions(+), 2 deletions(-)
-
-diff --git a/net/core/dev.c b/net/core/dev.c
-index ea09e0809c12..d99dce0efedc 100644
---- a/net/core/dev.c
-+++ b/net/core/dev.c
-@@ -2641,11 +2641,15 @@ int skb_checksum_help(struct sk_buff *skb)
- }
-
- offset = skb_checksum_start_offset(skb);
-- BUG_ON(offset >= skb_headlen(skb));
-+ ret = -EINVAL;
-+ if (WARN_ON_ONCE(offset >= skb_headlen(skb)))
-+ goto out;
-+
- csum = skb_checksum(skb, offset, skb->len - offset, 0);
-
- offset += skb->csum_offset;
-- BUG_ON(offset + sizeof(__sum16) > skb_headlen(skb));
-+ if (WARN_ON_ONCE(offset + sizeof(__sum16) > skb_headlen(skb)))
-+ goto out;
-
- if (skb_cloned(skb) &&
- !skb_clone_writable(skb, offset + sizeof(__sum16))) {
---
-2.35.1
-
drm-amd-pm-fix-the-compile-warning.patch
ipv6-don-t-send-rs-packets-to-the-interface-of-arphr.patch
asoc-dapm-don-t-fold-register-value-changes-into-not.patch
-net-remove-two-bug-from-skb_checksum_help.patch
s390-preempt-disable-__preempt_count_add-optimizatio.patch
dma-debug-change-allocation-mode-from-gfp_nowait-to-.patch
ipmi-ssif-check-for-null-msg-when-handling-events-an.patch
+++ /dev/null
-From f9c49811fc861818637efb494ddf05ea351838c5 Mon Sep 17 00:00:00 2001
-From: Sasha Levin <sashal@kernel.org>
-Date: Mon, 9 May 2022 20:57:40 -0700
-Subject: net: remove two BUG() from skb_checksum_help()
-
-From: Eric Dumazet <edumazet@google.com>
-
-[ Upstream commit d7ea0d9df2a6265b2b180d17ebc64b38105968fc ]
-
-I have a syzbot report that managed to get a crash in skb_checksum_help()
-
-If syzbot can trigger these BUG(), it makes sense to replace
-them with more friendly WARN_ON_ONCE() since skb_checksum_help()
-can instead return an error code.
-
-Note that syzbot will still crash there, until real bug is fixed.
-
-Signed-off-by: Eric Dumazet <edumazet@google.com>
-Signed-off-by: David S. Miller <davem@davemloft.net>
-Signed-off-by: Sasha Levin <sashal@kernel.org>
----
- net/core/dev.c | 8 ++++++--
- 1 file changed, 6 insertions(+), 2 deletions(-)
-
-diff --git a/net/core/dev.c b/net/core/dev.c
-index 42f6ff8b9703..b2fc3884a8f4 100644
---- a/net/core/dev.c
-+++ b/net/core/dev.c
-@@ -2918,11 +2918,15 @@ int skb_checksum_help(struct sk_buff *skb)
- }
-
- offset = skb_checksum_start_offset(skb);
-- BUG_ON(offset >= skb_headlen(skb));
-+ ret = -EINVAL;
-+ if (WARN_ON_ONCE(offset >= skb_headlen(skb)))
-+ goto out;
-+
- csum = skb_checksum(skb, offset, skb->len - offset, 0);
-
- offset += skb->csum_offset;
-- BUG_ON(offset + sizeof(__sum16) > skb_headlen(skb));
-+ if (WARN_ON_ONCE(offset + sizeof(__sum16) > skb_headlen(skb)))
-+ goto out;
-
- if (skb_cloned(skb) &&
- !skb_clone_writable(skb, offset + sizeof(__sum16))) {
---
-2.35.1
-
asoc-dapm-don-t-fold-register-value-changes-into-not.patch
mlxsw-spectrum_dcb-do-not-warn-about-priority-change.patch
asoc-tscs454-add-endianness-flag-in-snd_soc_componen.patch
-net-remove-two-bug-from-skb_checksum_help.patch
s390-preempt-disable-__preempt_count_add-optimizatio.patch
dma-debug-change-allocation-mode-from-gfp_nowait-to-.patch
ipmi-ssif-check-for-null-msg-when-handling-events-an.patch
+++ /dev/null
-From e4b2ae55fd84627100243eb002ef7e93da392781 Mon Sep 17 00:00:00 2001
-From: Sasha Levin <sashal@kernel.org>
-Date: Mon, 9 May 2022 20:57:40 -0700
-Subject: net: remove two BUG() from skb_checksum_help()
-
-From: Eric Dumazet <edumazet@google.com>
-
-[ Upstream commit d7ea0d9df2a6265b2b180d17ebc64b38105968fc ]
-
-I have a syzbot report that managed to get a crash in skb_checksum_help()
-
-If syzbot can trigger these BUG(), it makes sense to replace
-them with more friendly WARN_ON_ONCE() since skb_checksum_help()
-can instead return an error code.
-
-Note that syzbot will still crash there, until real bug is fixed.
-
-Signed-off-by: Eric Dumazet <edumazet@google.com>
-Signed-off-by: David S. Miller <davem@davemloft.net>
-Signed-off-by: Sasha Levin <sashal@kernel.org>
----
- net/core/dev.c | 8 ++++++--
- 1 file changed, 6 insertions(+), 2 deletions(-)
-
-diff --git a/net/core/dev.c b/net/core/dev.c
-index 47468fc5d0c9..d725ca4d4455 100644
---- a/net/core/dev.c
-+++ b/net/core/dev.c
-@@ -2518,11 +2518,15 @@ int skb_checksum_help(struct sk_buff *skb)
- }
-
- offset = skb_checksum_start_offset(skb);
-- BUG_ON(offset >= skb_headlen(skb));
-+ ret = -EINVAL;
-+ if (WARN_ON_ONCE(offset >= skb_headlen(skb)))
-+ goto out;
-+
- csum = skb_checksum(skb, offset, skb->len - offset, 0);
-
- offset += skb->csum_offset;
-- BUG_ON(offset + sizeof(__sum16) > skb_headlen(skb));
-+ if (WARN_ON_ONCE(offset + sizeof(__sum16) > skb_headlen(skb)))
-+ goto out;
-
- if (skb_cloned(skb) &&
- !skb_clone_writable(skb, offset + sizeof(__sum16))) {
---
-2.35.1
-
drm-amd-pm-fix-the-compile-warning.patch
ipv6-don-t-send-rs-packets-to-the-interface-of-arphr.patch
asoc-dapm-don-t-fold-register-value-changes-into-not.patch
-net-remove-two-bug-from-skb_checksum_help.patch
dma-debug-change-allocation-mode-from-gfp_nowait-to-.patch
ipmi-ssif-check-for-null-msg-when-handling-events-an.patch
openrisc-start-cpu-timer-early-in-boot.patch
+++ /dev/null
-From 64c4b2f8a29a00a5ad19daf7a28770d1c8c7a5f4 Mon Sep 17 00:00:00 2001
-From: Sasha Levin <sashal@kernel.org>
-Date: Mon, 9 May 2022 20:57:40 -0700
-Subject: net: remove two BUG() from skb_checksum_help()
-
-From: Eric Dumazet <edumazet@google.com>
-
-[ Upstream commit d7ea0d9df2a6265b2b180d17ebc64b38105968fc ]
-
-I have a syzbot report that managed to get a crash in skb_checksum_help()
-
-If syzbot can trigger these BUG(), it makes sense to replace
-them with more friendly WARN_ON_ONCE() since skb_checksum_help()
-can instead return an error code.
-
-Note that syzbot will still crash there, until real bug is fixed.
-
-Signed-off-by: Eric Dumazet <edumazet@google.com>
-Signed-off-by: David S. Miller <davem@davemloft.net>
-Signed-off-by: Sasha Levin <sashal@kernel.org>
----
- net/core/dev.c | 8 ++++++--
- 1 file changed, 6 insertions(+), 2 deletions(-)
-
-diff --git a/net/core/dev.c b/net/core/dev.c
-index a03036456221..8fd0a0591e89 100644
---- a/net/core/dev.c
-+++ b/net/core/dev.c
-@@ -2857,11 +2857,15 @@ int skb_checksum_help(struct sk_buff *skb)
- }
-
- offset = skb_checksum_start_offset(skb);
-- BUG_ON(offset >= skb_headlen(skb));
-+ ret = -EINVAL;
-+ if (WARN_ON_ONCE(offset >= skb_headlen(skb)))
-+ goto out;
-+
- csum = skb_checksum(skb, offset, skb->len - offset, 0);
-
- offset += skb->csum_offset;
-- BUG_ON(offset + sizeof(__sum16) > skb_headlen(skb));
-+ if (WARN_ON_ONCE(offset + sizeof(__sum16) > skb_headlen(skb)))
-+ goto out;
-
- if (skb_cloned(skb) &&
- !skb_clone_writable(skb, offset + sizeof(__sum16))) {
---
-2.35.1
-
drm-amdgpu-ucode-remove-firmware-load-type-check-in-.patch
hid-bigben-fix-slab-out-of-bounds-write-in-bigben_pr.patch
asoc-tscs454-add-endianness-flag-in-snd_soc_componen.patch
-net-remove-two-bug-from-skb_checksum_help.patch
s390-preempt-disable-__preempt_count_add-optimizatio.patch
spi-stm32-qspi-fix-wait_cmd-timeout-in-apm-mode.patch
dma-debug-change-allocation-mode-from-gfp_nowait-to-.patch