android_kernel_motorola_sm6375/net/ipv4
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Eric Dumazet dc9c8b5d3a
UPSTREAM: net: add and use skb_unclone_keeptruesize() helper
While commit 097b9146c0e2 ("net: fix up truesize of cloned
skb in skb_prepare_for_shift()") fixed immediate issues found
when KFENCE was enabled/tested, there are still similar issues,
when tcp_trim_head() hits KFENCE while the master skb
is cloned.

This happens under heavy networking TX workloads,
when the TX completion might be delayed after incoming ACK.

This patch fixes the WARNING in sk_stream_kill_queues
when sk->sk_mem_queued/sk->sk_forward_alloc are not zero.

Bug: 254441685
Fixes: d3fb45f370d9 ("mm, kfence: insert KFENCE hooks for SLAB")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Acked-by: Marco Elver <elver@google.com>
Link: https://lore.kernel.org/r/20211102004555.1359210-1-eric.dumazet@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
(cherry picked from commit c4777efa751d293e369aec464ce6875e957be255)
Signed-off-by: Lee Jones <joneslee@google.com>
Change-Id: I94082cca974d248a4b9376b41245bfc63bd1f134
2026-05-07 17:24:10 +03:00
..
bpfilter UPSTREAM: bpfilter: switch bpfilter_ip_set_sockopt to sockptr_t 2026-02-01 20:44:55 -08:00
netfilter netfilter: fix NATTYPE refresh timeout issue 2025-10-08 19:36:23 -07:00
af_inet.c UPSTREAM: bpf: Add BPF_CGROUP_INET_SOCK_RELEASE hook 2026-01-14 18:12:01 -08:00
ah4.c
arp.c This is the 5.4.291 stable release 2025-03-13 14:53:52 +00:00
bpf_tcp_ca.c UPSTREAM: bpf: Change bpf_sk_storage_*() to accept ARG_PTR_TO_BTF_ID_SOCK_COMMON 2026-01-14 18:12:34 -08:00
cipso_ipv4.c cipso: fix total option length computation 2024-07-05 09:08:22 +02:00
datagram.c
devinet.c BACKPORT: sysctl: pass kernel pointers to ->proc_handler 2025-12-23 13:36:15 -08:00
esp4.c net: ipv4: fix return value check in esp_remove_trailer 2023-10-25 11:53:21 +02:00
esp4_offload.c xfrm: Linearize the skb after offloading if needed. 2023-06-28 10:18:38 +02:00
fib_frontend.c ipv4: Mask upper DSCP bits and ECN bits in NETLINK_FIB_LOOKUP family 2024-11-08 16:20:37 +01:00
fib_lookup.h
fib_notifier.c
fib_rules.c ip: fib_rules: Fetch net from fib_rule in fib[46]_rule_configure(). 2025-06-04 14:32:34 +02:00
fib_semantics.c ipv4: fib: annotate races around nh->nh_saddr_genid and nh->nh_saddr 2023-10-25 11:53:21 +02:00
fib_trie.c ipv4: annotate data-races around fi->fib_dead 2023-09-23 10:59:58 +02:00
fou.c
gre_demux.c
gre_offload.c
icmp.c icmp: fix icmp_ndo_send address translation for reply direction 2025-09-09 18:43:57 +02:00
igmp.c UPSTREAM: ipv4: igmp: fix refcnt uaf issue when receiving igmp query packet 2023-12-21 11:28:11 +00:00
inet_connection_sock.c Merge tag 'android11-5.4.293_r00' into android11-5.4 2025-05-26 03:40:18 -07:00
inet_diag.c inet_diag: Initialize pad field in struct inet_diag_req_v2 2024-07-18 11:40:50 +02:00
inet_fragment.c Revert "inet: inet_defrag: prevent sk release while still in use" 2024-11-09 14:30:42 +00:00
inet_hashtables.c UPSTREAM: net: export inet_lookup_reuseport and inet6_lookup_reuseport 2026-01-14 18:13:18 -08:00
inet_timewait_sock.c tcp: Fix NEW_SYN_RECV handling in inet_twsk_purge() 2024-05-02 16:18:37 +02:00
inetpeer.c inetpeer: Fix data-races around sysctl. 2022-07-21 20:59:20 +02:00
ip_forward.c
ip_fragment.c Revert "inet: inet_defrag: prevent sk release while still in use" 2024-11-09 14:30:42 +00:00
ip_gre.c BACKPORT: net: add a new ndo_tunnel_ioctl method 2026-01-14 18:12:44 -08:00
ip_input.c BACKPORT: bpf: Add socket assign support 2025-12-23 13:36:11 -08:00
ip_options.c
ip_output.c net: ipv4: fix a memleak in ip_setup_cork 2024-02-23 08:25:05 +01:00
ip_sockglue.c UPSTREAM: bpfilter: switch bpfilter_ip_set_sockopt to sockptr_t 2026-02-01 20:44:55 -08:00
ip_tunnel.c BACKPORT: net: add a new ndo_tunnel_ioctl method 2026-01-14 18:12:44 -08:00
ip_tunnel_core.c UPSTREAM: net: ip_tunnel: add header_ops for layer 3 devices 2025-09-24 12:16:37 +02:00
ip_vti.c BACKPORT: net: add a new ndo_tunnel_ioctl method 2026-01-14 18:12:44 -08:00
ipcomp.c
ipconfig.c
ipip.c BACKPORT: net: add a new ndo_tunnel_ioctl method 2026-01-14 18:12:44 -08:00
ipmr.c ipmr: fix tables suspicious RCU usage 2024-12-14 19:44:34 +01:00
ipmr_base.c ipmr: do not call mr_mfc_uses_dev() for unres entries 2025-03-13 12:42:59 +01:00
Kconfig BACKPORT: net: Fix Kconfig indentation, continued 2026-02-01 20:39:45 -08:00
Makefile BACKPORT: bpf: Clean up sockmap related Kconfigs 2026-02-01 20:44:37 -08:00
metrics.c ipv4: prevent potential spectre v1 gadget in ip_metrics_convert() 2023-02-06 07:52:45 +01:00
netfilter.c
netlink.c
nexthop.c This is the 5.4.302 stable release 2025-12-11 09:41:30 +00:00
ping.c ping: fix address binding wrt vrf 2022-05-18 09:47:28 +02:00
proc.c
protocol.c
raw.c ipv{4,6}/raw: fix output xfrm lookup wrt protocol 2023-06-05 08:17:33 +02:00
raw_diag.c
route.c BACKPORT: sysctl: pass kernel pointers to ->proc_handler 2025-12-23 13:36:15 -08:00
syncookies.c tcp: fix cookie_init_timestamp() overflows 2023-11-20 10:30:10 +01:00
sysctl_net_ipv4.c BACKPORT: sysctl: pass kernel pointers to ->proc_handler 2025-12-23 13:36:15 -08:00
tcp.c Merge android11-5.4.302(91d385eb) into msm-5.4 2026-01-30 11:41:11 +05:30
tcp_bbr.c
tcp_bic.c
tcp_bpf.c BACKPORT: net: sk_msg: Simplify sk_psock initialization 2026-02-01 20:44:39 -08:00
tcp_cdg.c tcp: cdg: allow tcp_cdg_release() to be called multiple times 2022-11-25 17:42:21 +01:00
tcp_cong.c UPSTREAM: tcp: simplify tcp_set_congestion_control(): Always reinitialize 2026-01-14 18:12:28 -08:00
tcp_cubic.c
tcp_dctcp.c tcp: Fix shift-out-of-bounds in dctcp_update_alpha(). 2024-06-16 13:28:45 +02:00
tcp_dctcp.h
tcp_diag.c net: annotate lockless accesses to sk->sk_max_ack_backlog 2024-11-08 16:20:46 +01:00
tcp_fastopen.c UPSTREAM: bpf: tcp: Add bpf_skops_established() 2026-01-14 18:12:17 -08:00
tcp_highspeed.c
tcp_htcp.c
tcp_hybla.c
tcp_illinois.c
tcp_input.c Merge android11-5.4.302(91d385eb) into msm-5.4 2026-01-30 11:41:11 +05:30
tcp_ipv4.c BACKPORT: bpf: tcp: Add bpf_skops_hdr_opt_len() and bpf_skops_write_hdr_opt() 2026-01-14 18:12:18 -08:00
tcp_lp.c
tcp_metrics.c tcp_metrics: validate source addr length 2024-07-18 11:40:50 +02:00
tcp_minisocks.c UPSTREAM: bpf: tcp: Allow bpf prog to write and parse TCP header option 2026-01-14 18:12:18 -08:00
tcp_nv.c
tcp_offload.c net-timestamp: support TCP GSO case for a few missing flags 2025-03-13 12:43:30 +01:00
tcp_output.c UPSTREAM: net: add and use skb_unclone_keeptruesize() helper 2026-05-07 17:24:10 +03:00
tcp_rate.c Revert "tcp: ensure to use the most recently sent skb when filling the rate sample" 2022-05-12 15:20:04 +02:00
tcp_recovery.c tcp: fix excessive TLP and RACK timeouts from HZ rounding 2023-10-25 11:53:21 +02:00
tcp_scalable.c
tcp_timer.c Merge android11-5.4.281 (d62984a) into msm-5.4 2024-10-29 01:43:17 -07:00
tcp_ulp.c UPSTREAM: net, sk_msg: Annotate lockless access to sk_prot on clone 2025-12-23 13:36:03 -08:00
tcp_vegas.c
tcp_vegas.h
tcp_veno.c
tcp_westwood.c
tcp_yeah.c
tunnel4.c
udp.c Merge android11-5.4.302(91d385eb) into msm-5.4 2026-01-30 11:41:11 +05:30
udp_bpf.c BACKPORT: net: sk_msg: Simplify sk_psock initialization 2026-02-01 20:44:39 -08:00
udp_diag.c
udp_impl.h
udp_offload.c This is the 5.4.297 stable release 2025-09-02 10:52:40 +00:00
udp_tunnel_core.c BACKPORT: udp_tunnel: add central NIC RX port offload infrastructure 2026-01-14 18:12:10 -08:00
udp_tunnel_nic.c BACKPORT: udp_tunnel: add central NIC RX port offload infrastructure 2026-01-14 18:12:10 -08:00
udp_tunnel_stub.c BACKPORT: udp_tunnel: add central NIC RX port offload infrastructure 2026-01-14 18:12:10 -08:00
udplite.c udplite: Fix NULL pointer dereference in __sk_mem_raise_allocated(). 2023-05-30 12:44:09 +01:00
xfrm4_input.c xfrm: Preserve vlan tags for transport mode software GRO 2024-05-17 11:43:53 +02:00
xfrm4_output.c
xfrm4_policy.c
xfrm4_protocol.c net: xfrm: unexport __init-annotated xfrm4_protocol_init() 2022-06-14 18:11:58 +02:00
xfrm4_state.c
xfrm4_tunnel.c