linux/net/phonet
Rémi Denis-Courmont 75a2f31520 phonet/pep: refuse to enable an unbound pipe
This ioctl() implicitly assumed that the socket was already bound to
a valid local socket name, i.e. Phonet object. If the socket was not
bound, two separate problems would occur:

1) We'd send an pipe enablement request with an invalid source object.
2) Later socket calls could BUG on the socket unexpectedly being
   connected yet not bound to a valid object.

Reported-by: syzbot+2dc91e7fc3dea88b1e8a@syzkaller.appspotmail.com
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-12-20 11:49:51 +00:00
..
af_phonet.c net: Remove redundant if statements 2021-08-05 13:27:50 +01:00
datagram.c
Kconfig
Makefile
pep-gprs.c
pep.c phonet/pep: refuse to enable an unbound pipe 2021-12-20 11:49:51 +00:00
pn_dev.c net: Remove redundant if statements 2021-08-05 13:27:50 +01:00
pn_netlink.c
socket.c net: Remove redundant if statements 2021-08-05 13:27:50 +01:00
sysctl.c