Alexei Starovoitov
c73d59abee
UPSTREAM: bpf: track stack depth of classic bpf programs
...
To track stack depth of classic bpf programs we only need
to analyze ST|STX instructions, since check_load_and_stores()
verifies that programs can load from stack only after write.
We also need to change the way cBPF stack slots map to eBPF stack,
since typical classic programs are using slots 0 and 1, so they
need to map to stack offsets -4 and -8 respectively in order
to take advantage of small stack interpreter and JITs.
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sorayukii <sorayukii69@gmail.com>
2026-05-15 17:54:45 +07:00
..
6lowpan
9p
net/9p: Fix a potential socket leak in p9_socket_open
2022-12-08 11:15:41 +01:00
802
mrp: introduce active flags to prevent UAF when applicant uninit
2023-01-07 12:07:32 +01:00
8021q
appletalk
appletalk: Fix skb allocation size in loopback case
2021-04-07 12:05:39 +02:00
atm
net/atm: fix proc_mpc_write incorrect return value
2022-11-03 23:49:15 +09:00
ax25
ax25: Fix NULL pointer dereference in ax25_kill_by_device
2022-03-16 12:49:00 +01:00
batman-adv
batman-adv: Don't expect inter-netns unique iflink indices
2022-03-16 12:49:01 +01:00
bluetooth
bluetooth: Check key sizes only when Secure Simple Pairing is enabled
2026-05-15 17:48:19 +07:00
bpf
UPSTREAM: bpf: Align packet data properly in program testing framework.
2026-05-15 17:54:39 +07:00
bridge
Merge remote-tracking branch 'common/android-4.9-q' into android13-4.9-sdm845
2022-10-13 02:22:58 +03:00
caif
net: caif: fix double disconnect client in chnl_net_open()
2022-11-25 17:35:39 +01:00
can
can: bcm: check the result of can_send() in bcm_can_tx()
2022-10-26 13:15:46 +02:00
ceph
treewide: Backport new vmalloc for large performance benefits
2026-05-15 17:48:25 +07:00
core
UPSTREAM: bpf: track stack depth of classic bpf programs
2026-05-15 17:54:45 +07:00
dcb
net: dcb: disable softirqs in dcbnl_flush_dev()
2022-03-08 19:00:59 +01:00
dccp
BACKPORT: rcu: Ports some of RCU's taken from k4.14
2026-05-15 17:49:30 +07:00
decnet
UPSTREAM: net: use designated initializers
2026-05-15 17:54:23 +07:00
dns_resolver
dsa
net: dsa: tag_brcm: Fix skb->fwd_offload_mark location
2020-04-13 10:32:53 +02:00
embms_kernel
ethernet
hsr
net: hsr: Fix potential use-after-free
2022-12-08 11:15:41 +01:00
ieee802154
net: ieee802154: fix error return code in dgram_bind()
2022-11-03 23:49:17 +09:00
ipc_router
net: ipc_router: Add bounds check on tx path
2023-01-04 21:42:04 -08:00
ipv4
BACKPORT: gro_cells: move to net/core/gro_cells.c
2026-05-15 17:54:38 +07:00
ipv6
BACKPORT: gro_cells: move to net/core/gro_cells.c
2026-05-15 17:54:38 +07:00
ipx
irda
iucv
net/af_iucv: set correct sk_protocol for child sockets
2020-12-11 13:37:56 +01:00
kcm
kcm: avoid potential race in kcm_tx_work
2022-11-25 17:35:42 +01:00
key
Merge remote-tracking branch 'common/android-4.9-q' into android13-4.9-sdm845
2022-12-20 19:52:09 +02:00
l2tp
This is the 4.9.320 stable release
2022-06-28 16:46:38 +00:00
l3mdev
lapb
net: lapb: Copy the skb before sending a packet
2021-02-10 09:09:25 +01:00
llc
BACKPORT: rcu: Ports some of RCU's taken from k4.14
2026-05-15 17:49:30 +07:00
mac80211
Merge remote-tracking branch 'common/android-4.9-q' into android13-4.9-sdm845
2022-12-20 19:52:09 +02:00
mac802154
mac802154: fix missing INIT_LIST_HEAD in ieee802154_if_add()
2022-12-14 11:24:34 +01:00
mpls
net: avoid infinite loop in mpls_gso_segment when mpls_hlen == 0
2021-03-17 16:10:13 +01:00
ncsi
net/ncsi: Use real net-device for response handler
2021-01-12 19:49:01 +01:00
netfilter
BACKPORT: rcu: Ports some of RCU's taken from k4.14
2026-05-15 17:49:30 +07:00
netlabel
cipso,calipso: resolve a number of problems with the DOI refcounts
2022-01-27 08:47:42 +01:00
netlink
netlink: do not reset transport header in netlink_recvmsg()
2022-05-18 09:15:43 +02:00
netrom
netrom: Decrease sock refcount when sock timers expire
2021-07-28 09:14:27 +02:00
nfc
NFC: nci: Bounds check struct nfc_target arrays
2022-12-14 11:24:34 +01:00
openvswitch
openvswitch: Fix flow lookup to use unmasked key
2023-01-07 12:07:29 +01:00
packet
Merge remote-tracking branch 'common/android-4.9-q' into android13-4.9-sdm845
2022-12-20 19:52:09 +02:00
phonet
phonet: refcount leak in pep_sock_accep
2022-01-11 13:38:12 +01:00
qrtr
Merge branch 'android-4.9-q' of https://android.googlesource.com/kernel/common into lineage-18.1-caf-sdm845
2021-04-26 01:27:02 +03:00
rds
net: rds: don't hold sock lock when cancelling work from rds_tcp_reset_callbacks()
2022-10-26 13:15:40 +02:00
rfkill
rmnet_data
net: rmnet_data: Fix incorrect UL checksum offload logic
2020-07-23 05:24:00 -07:00
rose
rose: Fix NULL pointer dereference in rose_send_frame()
2022-11-10 15:46:05 +01:00
rxrpc
rxrpc: Don't try to resend the request if we're receiving the reply
2022-06-14 16:52:33 +02:00
sched
UPSTREAM: flower: check unused bits in MPLS fields
2026-05-15 17:54:44 +07:00
sctp
treewide: Backport new vmalloc for large performance benefits
2026-05-15 17:48:25 +07:00
strparser
sunrpc
This is the 4.9.337 stable release
2023-01-07 13:07:00 +01:00
switchdev
tipc
tipc: Fix potential OOB in tipc_link_proto_rcv()
2022-12-14 11:24:35 +01:00
unix
af_unix: Suppress false-positive lockdep splat for spin_lock() in __unix_gc().
2024-07-21 16:03:38 -07:00
vmw_vsock
UPSTREAM: vsock/virtio: Initialization of the dangling pointer occurring in vsk->trans
2026-02-05 19:45:35 +02:00
wimax
wireless
nl80211: add WPA3 definition for SAE authentication
2024-12-13 22:46:35 +01:00
x25
net/x25: Fix skb leak in x25_lapb_receive_frame()
2022-11-25 17:35:40 +01:00
xfrm
BACKPORT: gro_cells: move to net/core/gro_cells.c
2026-05-15 17:54:38 +07:00
compat.c
net: Return the correct errno code
2021-06-30 08:49:12 -04:00
Kconfig
BACKPORT: gro_cells: move to net/core/gro_cells.c
2026-05-15 17:54:38 +07:00
Makefile
BACKPORT: bpf: introduce BPF_PROG_TEST_RUN command
2026-05-15 17:54:34 +07:00
socket.c
UPSTREAM: net: socket: fix a typo in sockfd_lookup().
2026-05-15 17:54:41 +07:00
sysctl_net.c