]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
mISDN: enforce CAP_NET_RAW for raw sockets
authorOri Nimron <orinimron123@gmail.com>
Thu, 3 Oct 2019 18:13:17 +0000 (18:13 +0000)
committerSeth Forshee <seth.forshee@canonical.com>
Thu, 3 Oct 2019 21:55:57 +0000 (16:55 -0500)
commitbf9b23a60c196771b2b7fea45ffa1b761535df51
treec091d1855f6ccfb58e619bac27ee8d1c94e17475
parent147068e7633e7e2f621131af62098dc827c35fba
mISDN: enforce CAP_NET_RAW for raw sockets

When creating a raw AF_ISDN socket, CAP_NET_RAW needs to be checked
first.

Signed-off-by: Ori Nimron <orinimron123@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
CVE-2019-17055

(cherry picked from commit b91ee4aa2a2199ba4d4650706c272985a5a32d80)
Signed-off-by: Tyler Hicks <tyhicks@canonical.com>
Acked-by: Seth Forshee <seth.forshee@canonical.com>
Acked-by: Connor Kuehl <connor.kuehl@canonical.com>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
drivers/isdn/mISDN/socket.c