From 2d02a4f5bda4a5ff392286360ec7d1129bd77d25 Mon Sep 17 00:00:00 2001 From: Stijn Tintel Date: Thu, 17 Aug 2017 10:51:05 +0200 Subject: kernel: update 4.9 to 4.9.44 Refresh patches. Adapt 704-phy-no-genphy-soft-reset.patch. Remove brcm2708/950-0005-mm-Remove-the-PFN-busy-warning.patch. Compile-tested on brcm2708/bcm2708 and x86/64. Runtime-tested on brcm2708/bcm2708 and x86/64. Fixes the following vulnerabilities: - CVE-2017-7533 - CVE-2017-1000111 - CVE-2017-1000112 Signed-off-by: Stijn Tintel --- .../911-kobject_add_broadcast_uevent.patch | 23 ++++++++-------------- 1 file changed, 8 insertions(+), 15 deletions(-) (limited to 'target/linux/generic/hack-4.9/911-kobject_add_broadcast_uevent.patch') diff --git a/target/linux/generic/hack-4.9/911-kobject_add_broadcast_uevent.patch b/target/linux/generic/hack-4.9/911-kobject_add_broadcast_uevent.patch index e794be52bc..55ce171567 100644 --- a/target/linux/generic/hack-4.9/911-kobject_add_broadcast_uevent.patch +++ b/target/linux/generic/hack-4.9/911-kobject_add_broadcast_uevent.patch @@ -9,33 +9,29 @@ Signed-off-by: Felix Fietkau lib/kobject_uevent.c | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+) -diff --git a/include/linux/kobject.h b/include/linux/kobject.h -index a7dc9e61f433..3d6950c957cd 100644 --- a/include/linux/kobject.h +++ b/include/linux/kobject.h -@@ -34,6 +34,8 @@ - - struct sk_buff; +@@ -32,6 +32,8 @@ + #define UEVENT_NUM_ENVP 32 /* number of env pointers */ + #define UEVENT_BUFFER_SIZE 2048 /* buffer for the variables */ +struct sk_buff; + #ifdef CONFIG_UEVENT_HELPER /* path to the userspace helper executed on an event */ extern char uevent_helper[]; -@@ -227,4 +229,7 @@ int kobject_action_type(const char *buf, size_t count, - int broadcast_uevent(struct sk_buff *skb, __u32 pid, __u32 group, - gfp_t allocation); +@@ -222,4 +224,7 @@ int add_uevent_var(struct kobj_uevent_en + int kobject_action_type(const char *buf, size_t count, + enum kobject_action *type); +int broadcast_uevent(struct sk_buff *skb, __u32 pid, __u32 group, + gfp_t allocation); + #endif /* _KOBJECT_H_ */ -diff --git a/lib/kobject_uevent.c b/lib/kobject_uevent.c -index ac0c7cfa7292..bd13381a410f 100644 --- a/lib/kobject_uevent.c +++ b/lib/kobject_uevent.c -@@ -460,6 +460,43 @@ int broadcast_uevent(struct sk_buff *skb, __u32 pid, __u32 group, - EXPORT_SYMBOL_GPL(broadcast_uevent); +@@ -423,6 +423,43 @@ int add_uevent_var(struct kobj_uevent_en + EXPORT_SYMBOL_GPL(add_uevent_var); #if defined(CONFIG_NET) +int broadcast_uevent(struct sk_buff *skb, __u32 pid, __u32 group, @@ -78,6 +74,3 @@ index ac0c7cfa7292..bd13381a410f 100644 static int uevent_net_init(struct net *net) { struct uevent_sock *ue_sk; --- -2.11.0 - -- cgit v1.2.3