Hello community, here is the log from the commit of package kernel-source for openSUSE:Factory checked in at 2016-10-21 16:58:59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kernel-source (Old) and /work/SRC/openSUSE:Factory/.kernel-source.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kernel-source" Changes: -------- --- /work/SRC/openSUSE:Factory/kernel-source/kernel-64kb.changes 2016-10-20 23:07:01.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.kernel-source.new/kernel-64kb.changes 2016-10-21 16:59:01.000000000 +0200 @@ -1,0 +2,13 @@ +Thu Oct 20 11:18:45 CEST 2016 - [email protected] + +- Update patches.kernel.org/patch-4.8.2-3 (bnc#1004418 + CVE-2016-5195). +- commit 94eb9fb + +------------------------------------------------------------------- +Thu Oct 20 11:13:27 CEST 2016 - [email protected] + +- Linux 4.8.3 (: :). +- commit db38c1f + +------------------------------------------------------------------- kernel-debug.changes: same change kernel-default.changes: same change kernel-docs.changes: same change kernel-lpae.changes: same change kernel-obs-build.changes: same change kernel-obs-qa.changes: same change kernel-pae.changes: same change kernel-source.changes: same change kernel-syms.changes: same change kernel-syzkaller.changes: same change kernel-vanilla.changes: same change ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kernel-64kb.spec ++++++ --- /var/tmp/diff_new_pack.SgEjJC/_old 2016-10-21 16:59:07.000000000 +0200 +++ /var/tmp/diff_new_pack.SgEjJC/_new 2016-10-21 16:59:07.000000000 +0200 @@ -20,7 +20,7 @@ # needssslcertforbuild %define srcversion 4.8 -%define patchversion 4.8.2 +%define patchversion 4.8.3 %define variant %{nil} %define vanilla_only 0 @@ -60,9 +60,9 @@ Summary: Kernel with 64kb PAGE_SIZE License: GPL-2.0 Group: System/Kernel -Version: 4.8.2 +Version: 4.8.3 %if 0%{?is_kotd} -Release: <RELEASE>.gb029ac4 +Release: <RELEASE>.g94eb9fb %else Release: 0 %endif kernel-debug.spec: same change kernel-default.spec: same change ++++++ kernel-docs.spec ++++++ --- /var/tmp/diff_new_pack.SgEjJC/_old 2016-10-21 16:59:07.000000000 +0200 +++ /var/tmp/diff_new_pack.SgEjJC/_new 2016-10-21 16:59:07.000000000 +0200 @@ -16,7 +16,7 @@ # -%define patchversion 4.8.2 +%define patchversion 4.8.3 %define variant %{nil} %include %_sourcedir/kernel-spec-macros @@ -33,9 +33,9 @@ Summary: Kernel Documentation (man pages) License: GPL-2.0 Group: Documentation/Man -Version: 4.8.2 +Version: 4.8.3 %if 0%{?is_kotd} -Release: <RELEASE>.gb029ac4 +Release: <RELEASE>.g94eb9fb %else Release: 0 %endif ++++++ kernel-lpae.spec ++++++ --- /var/tmp/diff_new_pack.SgEjJC/_old 2016-10-21 16:59:07.000000000 +0200 +++ /var/tmp/diff_new_pack.SgEjJC/_new 2016-10-21 16:59:07.000000000 +0200 @@ -20,7 +20,7 @@ # needssslcertforbuild %define srcversion 4.8 -%define patchversion 4.8.2 +%define patchversion 4.8.3 %define variant %{nil} %define vanilla_only 0 @@ -60,9 +60,9 @@ Summary: Kernel for LPAE enabled systems License: GPL-2.0 Group: System/Kernel -Version: 4.8.2 +Version: 4.8.3 %if 0%{?is_kotd} -Release: <RELEASE>.gb029ac4 +Release: <RELEASE>.g94eb9fb %else Release: 0 %endif ++++++ kernel-obs-build.spec ++++++ --- /var/tmp/diff_new_pack.SgEjJC/_old 2016-10-21 16:59:07.000000000 +0200 +++ /var/tmp/diff_new_pack.SgEjJC/_new 2016-10-21 16:59:07.000000000 +0200 @@ -19,7 +19,7 @@ #!BuildIgnore: post-build-checks -%define patchversion 4.8.2 +%define patchversion 4.8.3 %define variant %{nil} %include %_sourcedir/kernel-spec-macros @@ -51,9 +51,9 @@ Summary: package kernel and initrd for OBS VM builds License: GPL-2.0 Group: SLES -Version: 4.8.2 +Version: 4.8.3 %if 0%{?is_kotd} -Release: <RELEASE>.gb029ac4 +Release: <RELEASE>.g94eb9fb %else Release: 0 %endif ++++++ kernel-obs-qa.spec ++++++ --- /var/tmp/diff_new_pack.SgEjJC/_old 2016-10-21 16:59:08.000000000 +0200 +++ /var/tmp/diff_new_pack.SgEjJC/_new 2016-10-21 16:59:08.000000000 +0200 @@ -17,7 +17,7 @@ # needsrootforbuild -%define patchversion 4.8.2 +%define patchversion 4.8.3 %define variant %{nil} %include %_sourcedir/kernel-spec-macros @@ -36,9 +36,9 @@ Summary: Basic QA tests for the kernel License: GPL-2.0 Group: SLES -Version: 4.8.2 +Version: 4.8.3 %if 0%{?is_kotd} -Release: <RELEASE>.gb029ac4 +Release: <RELEASE>.g94eb9fb %else Release: 0 %endif ++++++ kernel-pae.spec ++++++ --- /var/tmp/diff_new_pack.SgEjJC/_old 2016-10-21 16:59:08.000000000 +0200 +++ /var/tmp/diff_new_pack.SgEjJC/_new 2016-10-21 16:59:08.000000000 +0200 @@ -20,7 +20,7 @@ # needssslcertforbuild %define srcversion 4.8 -%define patchversion 4.8.2 +%define patchversion 4.8.3 %define variant %{nil} %define vanilla_only 0 @@ -60,9 +60,9 @@ Summary: Kernel with PAE Support License: GPL-2.0 Group: System/Kernel -Version: 4.8.2 +Version: 4.8.3 %if 0%{?is_kotd} -Release: <RELEASE>.gb029ac4 +Release: <RELEASE>.g94eb9fb %else Release: 0 %endif ++++++ kernel-source.spec ++++++ --- /var/tmp/diff_new_pack.SgEjJC/_old 2016-10-21 16:59:08.000000000 +0200 +++ /var/tmp/diff_new_pack.SgEjJC/_new 2016-10-21 16:59:08.000000000 +0200 @@ -18,7 +18,7 @@ %define srcversion 4.8 -%define patchversion 4.8.2 +%define patchversion 4.8.3 %define variant %{nil} %define vanilla_only 0 @@ -30,9 +30,9 @@ Summary: The Linux Kernel Sources License: GPL-2.0 Group: Development/Sources -Version: 4.8.2 +Version: 4.8.3 %if 0%{?is_kotd} -Release: <RELEASE>.gb029ac4 +Release: <RELEASE>.g94eb9fb %else Release: 0 %endif ++++++ kernel-syms.spec ++++++ --- /var/tmp/diff_new_pack.SgEjJC/_old 2016-10-21 16:59:08.000000000 +0200 +++ /var/tmp/diff_new_pack.SgEjJC/_new 2016-10-21 16:59:08.000000000 +0200 @@ -24,10 +24,10 @@ Summary: Kernel Symbol Versions (modversions) License: GPL-2.0 Group: Development/Sources -Version: 4.8.2 +Version: 4.8.3 %if %using_buildservice %if 0%{?is_kotd} -Release: <RELEASE>.gb029ac4 +Release: <RELEASE>.g94eb9fb %else Release: 0 %endif ++++++ kernel-syzkaller.spec ++++++ --- /var/tmp/diff_new_pack.SgEjJC/_old 2016-10-21 16:59:08.000000000 +0200 +++ /var/tmp/diff_new_pack.SgEjJC/_new 2016-10-21 16:59:08.000000000 +0200 @@ -20,7 +20,7 @@ # needssslcertforbuild %define srcversion 4.8 -%define patchversion 4.8.2 +%define patchversion 4.8.3 %define variant %{nil} %define vanilla_only 0 @@ -60,9 +60,9 @@ Summary: Kernel used for fuzzing by syzkaller License: GPL-2.0 Group: System/Kernel -Version: 4.8.2 +Version: 4.8.3 %if 0%{?is_kotd} -Release: <RELEASE>.gb029ac4 +Release: <RELEASE>.g94eb9fb %else Release: 0 %endif kernel-vanilla.spec: same change ++++++ patches.kernel.org.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.kernel.org/patch-4.8.2-3 new/patches.kernel.org/patch-4.8.2-3 --- old/patches.kernel.org/patch-4.8.2-3 1970-01-01 01:00:00.000000000 +0100 +++ new/patches.kernel.org/patch-4.8.2-3 2016-10-20 11:18:45.000000000 +0200 @@ -0,0 +1,136 @@ +From: Jiri Slaby <[email protected]> +Subject: Linux 4.8.3 +Patch-mainline: 4.8.3 +References: bnc#1004418 CVE-2016-5195 +Git-commit: 19be0eaffa3ac7d8eb6784ad9bdbc7d67ed8e619 +Git-commit: 791cc43b36eb1f88166c8505900cad1b43c7fe1a +Git-commit: 0d5644b7d8daa3c1d91acb4367731f568c9c9469 +Git-commit: fd44aa9a254b18176ec3792a18e7de6977030ca8 + +Signed-off-by: Jiri Slaby <[email protected]> +--- +diff --git a/Makefile b/Makefile +index bf6e44a421df..42eb45c86a42 100644 +--- a/Makefile ++++ b/Makefile +@@ -1,6 +1,6 @@ + VERSION = 4 + PATCHLEVEL = 8 +-SUBLEVEL = 2 ++SUBLEVEL = 3 + EXTRAVERSION = + NAME = Psychotic Stoned Sheep + +diff --git a/drivers/scsi/hosts.c b/drivers/scsi/hosts.c +index ec6381e57eb7..258a3f9a2519 100644 +--- a/drivers/scsi/hosts.c ++++ b/drivers/scsi/hosts.c +@@ -246,10 +246,6 @@ int scsi_add_host_with_dma(struct Scsi_Host *shost, struct device *dev, + + shost->dma_dev = dma_dev; + +- error = device_add(&shost->shost_gendev); +- if (error) +- goto out_destroy_freelist; +- + /* + * Increase usage count temporarily here so that calling + * scsi_autopm_put_host() will trigger runtime idle if there is +@@ -260,6 +256,10 @@ int scsi_add_host_with_dma(struct Scsi_Host *shost, struct device *dev, + pm_runtime_enable(&shost->shost_gendev); + device_enable_async_suspend(&shost->shost_gendev); + ++ error = device_add(&shost->shost_gendev); ++ if (error) ++ goto out_destroy_freelist; ++ + scsi_host_set_state(shost, SHOST_RUNNING); + get_device(shost->shost_gendev.parent); + +@@ -309,6 +309,10 @@ int scsi_add_host_with_dma(struct Scsi_Host *shost, struct device *dev, + out_del_gendev: + device_del(&shost->shost_gendev); + out_destroy_freelist: ++ device_disable_async_suspend(&shost->shost_gendev); ++ pm_runtime_disable(&shost->shost_gendev); ++ pm_runtime_set_suspended(&shost->shost_gendev); ++ pm_runtime_put_noidle(&shost->shost_gendev); + scsi_destroy_command_freelist(shost); + out_destroy_tags: + if (shost_use_blk_mq(shost)) +diff --git a/fs/xfs/xfs_xattr.c b/fs/xfs/xfs_xattr.c +index ea62245fee26..62900938f26d 100644 +--- a/fs/xfs/xfs_xattr.c ++++ b/fs/xfs/xfs_xattr.c +@@ -147,6 +147,7 @@ __xfs_xattr_put_listent( + arraytop = context->count + prefix_len + namelen + 1; + if (arraytop > context->firstu) { + context->count = -1; /* insufficient space */ ++ context->seen_enough = 1; + return 0; + } + offset = (char *)context->alist + context->count; +diff --git a/include/linux/mm.h b/include/linux/mm.h +index ef815b9cd426..277cd39a6399 100644 +--- a/include/linux/mm.h ++++ b/include/linux/mm.h +@@ -2234,6 +2234,7 @@ static inline struct page *follow_page(struct vm_area_struct *vma, + #define FOLL_TRIED 0x800 /* a retry, previous pass started an IO */ + #define FOLL_MLOCK 0x1000 /* lock present pages */ + #define FOLL_REMOTE 0x2000 /* we are working on non-current tsk/mm */ ++#define FOLL_COW 0x4000 /* internal GUP flag */ + + typedef int (*pte_fn_t)(pte_t *pte, pgtable_t token, unsigned long addr, + void *data); +diff --git a/include/media/rcar-fcp.h b/include/media/rcar-fcp.h +index 4c7fc77eaf29..8723f05c6321 100644 +--- a/include/media/rcar-fcp.h ++++ b/include/media/rcar-fcp.h +@@ -29,7 +29,7 @@ static inline struct rcar_fcp_device *rcar_fcp_get(const struct device_node *np) + static inline void rcar_fcp_put(struct rcar_fcp_device *fcp) { } + static inline int rcar_fcp_enable(struct rcar_fcp_device *fcp) + { +- return -ENOSYS; ++ return 0; + } + static inline void rcar_fcp_disable(struct rcar_fcp_device *fcp) { } + #endif +diff --git a/mm/gup.c b/mm/gup.c +index 96b2b2fd0fbd..22cc22e7432f 100644 +--- a/mm/gup.c ++++ b/mm/gup.c +@@ -60,6 +60,16 @@ static int follow_pfn_pte(struct vm_area_struct *vma, unsigned long address, + return -EEXIST; + } + ++/* ++ * FOLL_FORCE can write to even unwritable pte's, but only ++ * after we've gone through a COW cycle and they are dirty. ++ */ ++static inline bool can_follow_write_pte(pte_t pte, unsigned int flags) ++{ ++ return pte_write(pte) || ++ ((flags & FOLL_FORCE) && (flags & FOLL_COW) && pte_dirty(pte)); ++} ++ + static struct page *follow_page_pte(struct vm_area_struct *vma, + unsigned long address, pmd_t *pmd, unsigned int flags) + { +@@ -95,7 +105,7 @@ static struct page *follow_page_pte(struct vm_area_struct *vma, + } + if ((flags & FOLL_NUMA) && pte_protnone(pte)) + goto no_page; +- if ((flags & FOLL_WRITE) && !pte_write(pte)) { ++ if ((flags & FOLL_WRITE) && !can_follow_write_pte(pte, flags)) { + pte_unmap_unlock(ptep, ptl); + return NULL; + } +@@ -412,7 +422,7 @@ static int faultin_page(struct task_struct *tsk, struct vm_area_struct *vma, + * reCOWed by userspace write). + */ + if ((ret & VM_FAULT_WRITE) && !(vma->vm_flags & VM_WRITE)) +- *flags &= ~FOLL_WRITE; ++ *flags |= FOLL_COW; + return 0; + } + ++++++ series.conf ++++++ --- /var/tmp/diff_new_pack.SgEjJC/_old 2016-10-21 16:59:08.000000000 +0200 +++ /var/tmp/diff_new_pack.SgEjJC/_new 2016-10-21 16:59:08.000000000 +0200 @@ -29,6 +29,7 @@ ######################################################## patches.kernel.org/patch-4.8.1 patches.kernel.org/patch-4.8.1-2 + patches.kernel.org/patch-4.8.2-3 ######################################################## # Build fixes that apply to the vanilla kernel too. ++++++ source-timestamp ++++++ --- /var/tmp/diff_new_pack.SgEjJC/_old 2016-10-21 16:59:08.000000000 +0200 +++ /var/tmp/diff_new_pack.SgEjJC/_new 2016-10-21 16:59:08.000000000 +0200 @@ -1,3 +1,3 @@ -2016-10-18 17:50:08 +0200 -GIT Revision: b029ac4a1bef17863e835c8e53b8307bd12956fb +2016-10-20 11:18:45 +0200 +GIT Revision: 94eb9fbacebaeda836941603a96d120aad816b1f GIT Branch: stable
