From 416b696974560cdc27d9b314639f57e79be33b9f Mon Sep 17 00:00:00 2001 From: Martin Borg Date: Thu, 27 Oct 2016 11:22:54 +0200 Subject: Revert "kernel: CVE-2016-4951" meta-freescale uses a kernel version that includes this fix. Signed-off-by: Martin Borg Signed-off-by: Adrian Dudau --- recipes-kernel/linux/files/CVE-2016-4951.patch | 43 -------------------------- recipes-kernel/linux/linux-qoriq_4.1.bbappend | 5 --- 2 files changed, 48 deletions(-) delete mode 100644 recipes-kernel/linux/files/CVE-2016-4951.patch (limited to 'recipes-kernel') diff --git a/recipes-kernel/linux/files/CVE-2016-4951.patch b/recipes-kernel/linux/files/CVE-2016-4951.patch deleted file mode 100644 index e4807b3..0000000 --- a/recipes-kernel/linux/files/CVE-2016-4951.patch +++ /dev/null @@ -1,43 +0,0 @@ -From 49956430d3d55b47e4a2d2f5f777d641cae137d6 Mon Sep 17 00:00:00 2001 -From: Richard Alpe -Date: Mon, 16 May 2016 11:14:54 +0200 -Subject: tipc: check nl sock before parsing nested attributes - -[ Upstream commit 45e093ae2830cd1264677d47ff9a95a71f5d9f9c ] - -Make sure the socket for which the user is listing publication exists -before parsing the socket netlink attributes. - -Prior to this patch a call without any socket caused a NULL pointer -dereference in tipc_nl_publ_dump(). - -Upstream-Status: Backport -CVE: CVE-2016-4951 - -Tested-and-reported-by: Baozeng Ding -Signed-off-by: Richard Alpe -Acked-by: Jon Maloy -Signed-off-by: David S. Miller -Signed-off-by: Sasha Levin -Signed-off-by: Sona Sarmadi ---- - net/tipc/socket.c | 3 +++ - 1 file changed, 3 insertions(+) - -diff --git a/net/tipc/socket.c b/net/tipc/socket.c -index 20cc6df..d41d424 100644 ---- a/net/tipc/socket.c -+++ b/net/tipc/socket.c -@@ -2804,6 +2804,9 @@ int tipc_nl_publ_dump(struct sk_buff *skb, struct netlink_callback *cb) - if (err) - return err; - -+ if (!attrs[TIPC_NLA_SOCK]) -+ return -EINVAL; -+ - err = nla_parse_nested(sock, TIPC_NLA_SOCK_MAX, - attrs[TIPC_NLA_SOCK], - tipc_nl_sock_policy); --- -cgit v0.12 - diff --git a/recipes-kernel/linux/linux-qoriq_4.1.bbappend b/recipes-kernel/linux/linux-qoriq_4.1.bbappend index 417cb53..f9311e9 100644 --- a/recipes-kernel/linux/linux-qoriq_4.1.bbappend +++ b/recipes-kernel/linux/linux-qoriq_4.1.bbappend @@ -1,6 +1 @@ require recipes-kernel/linux/linux-qoriq-common.inc - -FILESEXTRAPATHS_prepend := "${THISDIR}/files:" - -SRC_URI += "file://CVE-2016-4951.patch \ - " -- cgit v1.2.3-54-g00ecf