Kaustubh Pandey
d2bdf73897
net: tcp: check for NULL send head during MTU probe
...
skb_peek() can return NULL when the socket write queue is empty. This
causes problems when using tcp_for_write_queue_from_safe(), as this
macro
resolves down to "for (tmp = skb->next; ...", causing a NULL
dereference.
Fix this by indicating that the tcp send queue head can not be coalesced
as there is nothing in it. This fixes the following:
Unable to handle kernel NULL pointer dereference
pc : tcp_write_xmit+0xe1c/0x1210
lr : tcp_write_xmit+0x38/0x1210
Call trace:
tcp_write_xmit+0xe1c/0x1210
tcp_tsq_write+0x110/0x140
tcp_tasklet_func+0x120/0x170
tasklet_action_common+0xec/0x128
tasklet_action+0x20/0x28
By ending the MTU probe because of the empty send head.
Change-Id: I0c3283c37ee69a4941c8d9e88519e586c7905d25
Signed-off-by: Sean Tranchetti <stranche@codeaurora.org>
Signed-off-by: Kaustubh Pandey <kapandey@codeaurora.org>
2021-06-28 23:15:45 -07:00
..
6lowpan
9p
net: 9p: initialize sun_server.sun_path to have addr's value only when addr is valid
2020-11-05 11:43:20 +01:00
802
8021q
appletalk
atm
atm: fix a memory leak of vcc->user_back
2020-10-01 13:17:58 +02:00
ax25
batman-adv
batman-adv: set .owner to THIS_MODULE
2020-12-02 08:49:50 +01:00
bluetooth
Bluetooth: Fix null pointer dereference in hci_event_packet()
2020-12-30 11:51:05 +01:00
bpf
bpfilter
bridge
Merge android11-5.4.86+ ( 75c93eb) into msm-5.4
2021-04-22 09:44:51 +05:30
caif
can
can: af_can: can_rx_unregister(): remove WARN() statement from list operation sanity check
2020-12-11 13:23:32 +01:00
ceph
libceph: clear con->out_msg on Policy::stateful_server faults
2020-11-05 11:43:34 +01:00
core
Merge android11-5.4.86+ ( 7d99cf8) into msm-5.4
2021-06-07 15:17:29 +05:30
dcb
net: DCB: Validate DCB_ATTR_DCB_BUFFER argument
2020-09-26 18:03:12 +02:00
dccp
decnet
dns_resolver
dsa
dsa: Allow forwarding of redirected IGMP traffic
2020-09-23 12:40:33 +02:00
embms_kernel
net/embms-kernel : EMBMS Tunneling Module
2020-10-16 18:23:27 +05:30
ethernet
hsr
ieee802154
ife
ipv4
net: tcp: check for NULL send head during MTU probe
2021-06-28 23:15:45 -07:00
ipv6
Merge android11-5.4.86+ ( 7d99cf8) into msm-5.4
2021-06-07 15:17:29 +05:30
iucv
net/af_iucv: set correct sk_protocol for child sockets
2020-12-08 10:40:23 +01:00
kcm
key
af_key: pfkey_dump needs parameter validation
2020-09-26 18:03:10 +02:00
l2tp
l3mdev
lapb
llc
net: silence data-races on sk_backlog.tail
2020-10-01 13:17:15 +02:00
mac80211
mac80211: fix possible oob and null pointer dereferenced issues
2021-05-27 17:27:47 +08:00
mac802154
mac802154: tx: fix use-after-free
2020-10-01 13:18:17 +02:00
mpls
ncsi
net/ncsi: Fix netlink registration
2020-11-24 13:29:00 +01:00
netfilter
SIP crash: Unregister Net sysctl as part of unloading the module
2021-06-16 00:39:09 -07:00
netlabel
netlabel: fix an uninitialized warning in netlbl_unlabel_staticlist()
2020-11-24 13:28:57 +01:00
netlink
netrom
neuron
net: neuron: channel: Move waitq init
2021-01-29 13:15:21 -08:00
nfc
nfc: Ensure presence of NFC_ATTR_FIRMWARE_NAME attribute in nfc_genl_fw_download()
2020-10-29 09:57:26 +01:00
nsh
openvswitch
net: openvswitch: ensure LSE is pullable before reading it
2020-12-08 10:40:27 +01:00
packet
net/packet: fix overflow in tpacket_rcv
2020-09-09 19:12:29 +02:00
phonet
psample
qrtr
Merge "net: qrtr: mhi_dev: Handle mhi register error case"
2021-06-25 10:22:07 -07:00
rds
rfkill
rfkill: Fix use-after-free in rfkill_resume()
2020-11-24 13:29:05 +01:00
rose
rose: Fix Null pointer dereference in rose_send_frame()
2020-12-08 10:40:23 +01:00
rxrpc
rxrpc: Fix server keyring leak
2020-10-14 10:33:05 +02:00
sched
net/sched: act_mpls: ensure LSE is pullable before reading it
2020-12-08 10:40:27 +01:00
sctp
This is the 5.4.80 stable release
2020-11-25 12:46:13 +01:00
smc
net/smc: fix direct access to ib_gid_addr->ndev in smc_ib_determine_gid()
2020-11-24 13:28:58 +01:00
strparser
sunrpc
xprtrdma: Fix XDRBUF_SPARSE_PAGES support
2020-12-30 11:51:38 +01:00
switchdev
tipc
tipc: fix a deadlock when flushing scheduled work
2020-12-11 13:23:32 +01:00
tls
net/tls: Protect from calling tls_dev_del for TLS RX twice
2020-12-08 10:40:23 +01:00
unix
skbuff: fix a data race in skb_queue_len()
2020-10-01 13:17:31 +02:00
vmw_vsock
ANDROID: Make vsock virtio packet buff size configurable
2021-03-25 19:12:07 +00:00
wimax
wireless
Merge android11-5.4.86+ ( 75c93eb) into msm-5.4
2021-04-22 09:44:51 +05:30
x25
net/x25: prevent a couple of overflows
2020-12-08 10:40:26 +01:00
xdp
xsk: Replace datagram_poll by sock_poll_wait
2020-12-30 11:50:53 +01:00
xfrm
UPSTREAM: xfrm/compat: Translate by copying XFRMA_UNSPEC attribute
2021-05-03 20:55:11 -07:00
compat.c
Kconfig
net: Kernel changes for Generic Software Bridge(GSB)
2021-02-14 20:36:58 -08:00
Makefile
OWNERS
ANDROID: Add OWNERS files referring to the respective android-mainline OWNERS
2021-04-01 13:45:14 +00:00
socket.c
sysctl_net.c