Linux 4.9.34
(2): USB: gadget: fix GPF in gadgetfs USB: gadgetfs, dummy-hcd, net2280: fix locking for callbacks Andy Lutomirski (1): sched/core: Idle_task_exit() shouldn't use switch_mm_irqs_off() Anton Bondarenko (1): usb: core: fix potential memory leak in error path during hcd creation Arnd Bergmann (2): ila_xlat: add missing hash secret initialization pvrusb2: reduce stack usage pvr2_eeprom_analyze() Bin Liu (1): usb: musb: dsps: keep VBUS on for host-only mode Chris Brandt (2): usb: r8a66597-hcd: select a different endpoint on timeout usb: r8a66597-hcd: decrease timeout Christoph Hellwig (1): fs: pass on flags in compat_writev Christophe JAILLET (3): vb2: Fix an off by one error in 'vb2_plane_vaddr' serial: efm32: Fix parity management in 'efm32_uart_console_get_options()' usb: gadget: composite: Fix function used to free memory Corentin Labbe (1): usb: xhci: ASMedia ASM1042A chipset need shorts TX quirk Dan Carpenter (4): staging: rtl8188eu: prevent an underflow in rtw_check_beacon_data() iio: adc: ti_am335x_adc: allocating too much in probe misc: mic: double free on ioctl error path drivers/misc/c2port/c2port-duramar2150.c: checking for NULL instead of IS_ERR() David Miller (1): crypto: Work around deallocated stack frame reference gcc bug on sparc. Eli Cohen (1): IB/mlx5: Fix kernel to user leak prevention logic Emmanuel Grumbach (2): mac80211: don't look at the PM bit of BAR frames mac80211: don't send SMPS action frame in AP mode when not needed Eric Anholt (1): drm/vc4: Fix OOPSes from trying to cache a partially constructed BO. Eva Rachel Retuya (1): staging: iio: tsl2x7x_core: Fix standard deviation calculation Geert Uytterhoeven (1): serial: sh-sci: Fix late enablement of AUTORTS Greg Kroah-Hartman (1): Linux 4.9.34 Heiner Kallweit (1): genirq: Release resources in __setup_irq() error path Helge Deller (1): Allow stack to grow up to address space limit Hon Ching \(Vicky) Lo (1): vTPM: Fix missing NULL check Hugh Dickins (2): mm: larger stack guard gap, between vmas mm: fix new crash in unmapped_area_topdown() James Morse (1): mm/memory-failure.c: use compound_head() flags for huge pages Jason A. Donenfeld (1): mac80211/wpa: use constant time memory comparison for MACs Jean-Baptiste Maneyrol (1): iio: imu: inv_mpu6050: add accel lpf setting for chip >= MPU6500 Johan Hovold (3): USB: hub: fix SS max number of ports USB: usbip: fix nonconforming hub descriptor USB: gadget: dummy_hcd: fix hub-descriptor removable fields Johannes Berg (3): mac80211: fix packet statistics for fast-RX mac80211: fix IBSS presp allocation size mac80211: fix dropped counter in multiqueue RX Kalle Valo (1): ath10k: fix napi crash during rmmod when probe firmware fails Koen Vandeputte (1): mac80211: fix CSA in IBSS mode Laura Abbott (1): x86/mm/32: Set the '__vmalloc_start_set' flag in initmem_init() Marc Kleine-Budde (1): can: gs_usb: fix memory leak in gs_cmd_reset() Marcin Niestroj (1): iio: st_pressure: Fix data sign Mario Kleiner (1): drm/amdgpu: Fix overflow of watermark calcs at > 4k resolutions. Matt Ranostay (1): iio: proximity: as3935: recalibrate RCO after resume Nicholas Bellinger (1): configfs: Fix race between create_link and configfs_rmdir Paul Burton (2): MIPS: Fix bnezc/jialc return address calculation MIPS: .its targets depend on vmlinux Rajkumar Manoharan (1): mac80211: strictly check mesh address extension mode Shuah Khan (1): usb: dwc3: exynos fix axius clock error path to do cleanup Thomas Gleixner (2): alarmtimer: Prevent overflow of relative timers alarmtimer: Rate limit periodic intervals Tomasz Wilczyński (1): cpufreq: conservative: Allow down_threshold to take values from 1 to 10 Tony Lindgren (1): mfd: omap-usb-tll: Fix inverted bit use for USB TLL mode YD Tseng (1): usb: xhci: Fix USB 3.1 supported protocol parsing YYS (1): drm/mediatek: fix mtk_hdmi_setup_vendor_specific_infoframe mistake Yoshihiro Shimoda (3): usb: gadget: udc: renesas_usb3: fix pm_runtime functions calling usb: gadget: udc: renesas_usb3: fix deadlock by spinlock usb: gadget: udc: renesas_usb3: lock for PN_ registers access Yu Zhao (1): swap: cond_resched in swap_cgroup_prepare() Zhenyu Wang (1): drm/i915: Fix GVT-g PVINFO version compatibility check signature.asc Description: PGP signature
Re: Linux 4.9.34
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt index a6fadef92d6d..86a6746f6833 100644 --- a/Documentation/kernel-parameters.txt +++ b/Documentation/kernel-parameters.txt @@ -3932,6 +3932,13 @@ bytes respectively. Such letter suffixes can also be entirely omitted. spia_pedr= spia_peddr= + stack_guard_gap=[MM] + override the default stack gap protection. The value + is in page units and it defines how many pages prior + to (for stacks growing down) resp. after (for stacks + growing up) the main stack are reserved for no other + mapping. Default value is 256 pages. + stacktrace [FTRACE] Enabled the stack tracer on boot up. diff --git a/Makefile b/Makefile index 8470d81d5cc2..a40b373eba3a 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 9 -SUBLEVEL = 33 +SUBLEVEL = 34 EXTRAVERSION = NAME = Roaring Lionus diff --git a/arch/arc/mm/mmap.c b/arch/arc/mm/mmap.c index 2e06d56e987b..cf4ae6958240 100644 --- a/arch/arc/mm/mmap.c +++ b/arch/arc/mm/mmap.c @@ -64,7 +64,7 @@ arch_get_unmapped_area(struct file *filp, unsigned long addr, vma = find_vma(mm, addr); if (TASK_SIZE - len >= addr && - (!vma || addr + len <= vma->vm_start)) + (!vma || addr + len <= vm_start_gap(vma))) return addr; } diff --git a/arch/arm/mm/mmap.c b/arch/arm/mm/mmap.c index 66353caa35b9..641334ebf46d 100644 --- a/arch/arm/mm/mmap.c +++ b/arch/arm/mm/mmap.c @@ -89,7 +89,7 @@ arch_get_unmapped_area(struct file *filp, unsigned long addr, vma = find_vma(mm, addr); if (TASK_SIZE - len >= addr && - (!vma || addr + len <= vma->vm_start)) + (!vma || addr + len <= vm_start_gap(vma))) return addr; } @@ -140,7 +140,7 @@ arch_get_unmapped_area_topdown(struct file *filp, const unsigned long addr0, addr = PAGE_ALIGN(addr); vma = find_vma(mm, addr); if (TASK_SIZE - len >= addr && - (!vma || addr + len <= vma->vm_start)) + (!vma || addr + len <= vm_start_gap(vma))) return addr; } diff --git a/arch/frv/mm/elf-fdpic.c b/arch/frv/mm/elf-fdpic.c index 836f14707a62..efa59f1f8022 100644 --- a/arch/frv/mm/elf-fdpic.c +++ b/arch/frv/mm/elf-fdpic.c @@ -74,7 +74,7 @@ unsigned long arch_get_unmapped_area(struct file *filp, unsigned long addr, unsi addr = PAGE_ALIGN(addr); vma = find_vma(current->mm, addr); if (TASK_SIZE - len >= addr && - (!vma || addr + len <= vma->vm_start)) + (!vma || addr + len <= vm_start_gap(vma))) goto success; } diff --git a/arch/mips/boot/Makefile b/arch/mips/boot/Makefile index 2728a9a9c7c5..145b5ce8eb7e 100644 --- a/arch/mips/boot/Makefile +++ b/arch/mips/boot/Makefile @@ -128,19 +128,19 @@ quiet_cmd_cpp_its_S = ITS $@ -DADDR_BITS=$(ADDR_BITS) \ -DADDR_CELLS=$(itb_addr_cells) -$(obj)/vmlinux.its: $(srctree)/arch/mips/$(PLATFORM)/vmlinux.its.S FORCE +$(obj)/vmlinux.its: $(srctree)/arch/mips/$(PLATFORM)/vmlinux.its.S $(VMLINUX) FORCE $(call if_changed_dep,cpp_its_S,none,vmlinux.bin) -$(obj)/vmlinux.gz.its: $(srctree)/arch/mips/$(PLATFORM)/vmlinux.its.S FORCE +$(obj)/vmlinux.gz.its: $(srctree)/arch/mips/$(PLATFORM)/vmlinux.its.S $(VMLINUX) FORCE $(call if_changed_dep,cpp_its_S,gzip,vmlinux.bin.gz) -$(obj)/vmlinux.bz2.its: $(srctree)/arch/mips/$(PLATFORM)/vmlinux.its.S FORCE +$(obj)/vmlinux.bz2.its: $(srctree)/arch/mips/$(PLATFORM)/vmlinux.its.S $(VMLINUX) FORCE $(call if_changed_dep,cpp_its_S,bzip2,vmlinux.bin.bz2) -$(obj)/vmlinux.lzma.its: $(srctree)/arch/mips/$(PLATFORM)/vmlinux.its.S FORCE +$(obj)/vmlinux.lzma.its: $(srctree)/arch/mips/$(PLATFORM)/vmlinux.its.S $(VMLINUX) FORCE $(call if_changed_dep,cpp_its_S,lzma,vmlinux.bin.lzma) -$(obj)/vmlinux.lzo.its: $(srctree)/arch/mips/$(PLATFORM)/vmlinux.its.S FORCE +$(obj)/vmlinux.lzo.its: $(srctree)/arch/mips/$(PLATFORM)/vmlinux.its.S $(VMLINUX) FORCE $(call if_changed_dep,cpp_its_S,lzo,vmlinux.bin.lzo) quiet_cmd_itb-image = ITB $@ diff --git a/arch/mips/kernel/branch.c b/arch/mips/kernel/branch.c index 12c718181e5e..c86b66b57fc6 100644 --- a/arch/mips/kernel/branch.c +++ b/arch/mips/kernel/branch.c @@ -804,8 +804,10 @@ int __compute_return_epc_for_insn(struct pt_regs *regs, break; } /* Compact branch: BNEZC || JIALC */ - if (insn.i_format.rs) + if (!insn.i_format.rs) { +
Linux 4.9.34
(2): USB: gadget: fix GPF in gadgetfs USB: gadgetfs, dummy-hcd, net2280: fix locking for callbacks Andy Lutomirski (1): sched/core: Idle_task_exit() shouldn't use switch_mm_irqs_off() Anton Bondarenko (1): usb: core: fix potential memory leak in error path during hcd creation Arnd Bergmann (2): ila_xlat: add missing hash secret initialization pvrusb2: reduce stack usage pvr2_eeprom_analyze() Bin Liu (1): usb: musb: dsps: keep VBUS on for host-only mode Chris Brandt (2): usb: r8a66597-hcd: select a different endpoint on timeout usb: r8a66597-hcd: decrease timeout Christoph Hellwig (1): fs: pass on flags in compat_writev Christophe JAILLET (3): vb2: Fix an off by one error in 'vb2_plane_vaddr' serial: efm32: Fix parity management in 'efm32_uart_console_get_options()' usb: gadget: composite: Fix function used to free memory Corentin Labbe (1): usb: xhci: ASMedia ASM1042A chipset need shorts TX quirk Dan Carpenter (4): staging: rtl8188eu: prevent an underflow in rtw_check_beacon_data() iio: adc: ti_am335x_adc: allocating too much in probe misc: mic: double free on ioctl error path drivers/misc/c2port/c2port-duramar2150.c: checking for NULL instead of IS_ERR() David Miller (1): crypto: Work around deallocated stack frame reference gcc bug on sparc. Eli Cohen (1): IB/mlx5: Fix kernel to user leak prevention logic Emmanuel Grumbach (2): mac80211: don't look at the PM bit of BAR frames mac80211: don't send SMPS action frame in AP mode when not needed Eric Anholt (1): drm/vc4: Fix OOPSes from trying to cache a partially constructed BO. Eva Rachel Retuya (1): staging: iio: tsl2x7x_core: Fix standard deviation calculation Geert Uytterhoeven (1): serial: sh-sci: Fix late enablement of AUTORTS Greg Kroah-Hartman (1): Linux 4.9.34 Heiner Kallweit (1): genirq: Release resources in __setup_irq() error path Helge Deller (1): Allow stack to grow up to address space limit Hon Ching \(Vicky) Lo (1): vTPM: Fix missing NULL check Hugh Dickins (2): mm: larger stack guard gap, between vmas mm: fix new crash in unmapped_area_topdown() James Morse (1): mm/memory-failure.c: use compound_head() flags for huge pages Jason A. Donenfeld (1): mac80211/wpa: use constant time memory comparison for MACs Jean-Baptiste Maneyrol (1): iio: imu: inv_mpu6050: add accel lpf setting for chip >= MPU6500 Johan Hovold (3): USB: hub: fix SS max number of ports USB: usbip: fix nonconforming hub descriptor USB: gadget: dummy_hcd: fix hub-descriptor removable fields Johannes Berg (3): mac80211: fix packet statistics for fast-RX mac80211: fix IBSS presp allocation size mac80211: fix dropped counter in multiqueue RX Kalle Valo (1): ath10k: fix napi crash during rmmod when probe firmware fails Koen Vandeputte (1): mac80211: fix CSA in IBSS mode Laura Abbott (1): x86/mm/32: Set the '__vmalloc_start_set' flag in initmem_init() Marc Kleine-Budde (1): can: gs_usb: fix memory leak in gs_cmd_reset() Marcin Niestroj (1): iio: st_pressure: Fix data sign Mario Kleiner (1): drm/amdgpu: Fix overflow of watermark calcs at > 4k resolutions. Matt Ranostay (1): iio: proximity: as3935: recalibrate RCO after resume Nicholas Bellinger (1): configfs: Fix race between create_link and configfs_rmdir Paul Burton (2): MIPS: Fix bnezc/jialc return address calculation MIPS: .its targets depend on vmlinux Rajkumar Manoharan (1): mac80211: strictly check mesh address extension mode Shuah Khan (1): usb: dwc3: exynos fix axius clock error path to do cleanup Thomas Gleixner (2): alarmtimer: Prevent overflow of relative timers alarmtimer: Rate limit periodic intervals Tomasz Wilczyński (1): cpufreq: conservative: Allow down_threshold to take values from 1 to 10 Tony Lindgren (1): mfd: omap-usb-tll: Fix inverted bit use for USB TLL mode YD Tseng (1): usb: xhci: Fix USB 3.1 supported protocol parsing YYS (1): drm/mediatek: fix mtk_hdmi_setup_vendor_specific_infoframe mistake Yoshihiro Shimoda (3): usb: gadget: udc: renesas_usb3: fix pm_runtime functions calling usb: gadget: udc: renesas_usb3: fix deadlock by spinlock usb: gadget: udc: renesas_usb3: lock for PN_ registers access Yu Zhao (1): swap: cond_resched in swap_cgroup_prepare() Zhenyu Wang (1): drm/i915: Fix GVT-g PVINFO version compatibility check signature.asc Description: PGP signature
Re: Linux 4.9.34
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt index a6fadef92d6d..86a6746f6833 100644 --- a/Documentation/kernel-parameters.txt +++ b/Documentation/kernel-parameters.txt @@ -3932,6 +3932,13 @@ bytes respectively. Such letter suffixes can also be entirely omitted. spia_pedr= spia_peddr= + stack_guard_gap=[MM] + override the default stack gap protection. The value + is in page units and it defines how many pages prior + to (for stacks growing down) resp. after (for stacks + growing up) the main stack are reserved for no other + mapping. Default value is 256 pages. + stacktrace [FTRACE] Enabled the stack tracer on boot up. diff --git a/Makefile b/Makefile index 8470d81d5cc2..a40b373eba3a 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 9 -SUBLEVEL = 33 +SUBLEVEL = 34 EXTRAVERSION = NAME = Roaring Lionus diff --git a/arch/arc/mm/mmap.c b/arch/arc/mm/mmap.c index 2e06d56e987b..cf4ae6958240 100644 --- a/arch/arc/mm/mmap.c +++ b/arch/arc/mm/mmap.c @@ -64,7 +64,7 @@ arch_get_unmapped_area(struct file *filp, unsigned long addr, vma = find_vma(mm, addr); if (TASK_SIZE - len >= addr && - (!vma || addr + len <= vma->vm_start)) + (!vma || addr + len <= vm_start_gap(vma))) return addr; } diff --git a/arch/arm/mm/mmap.c b/arch/arm/mm/mmap.c index 66353caa35b9..641334ebf46d 100644 --- a/arch/arm/mm/mmap.c +++ b/arch/arm/mm/mmap.c @@ -89,7 +89,7 @@ arch_get_unmapped_area(struct file *filp, unsigned long addr, vma = find_vma(mm, addr); if (TASK_SIZE - len >= addr && - (!vma || addr + len <= vma->vm_start)) + (!vma || addr + len <= vm_start_gap(vma))) return addr; } @@ -140,7 +140,7 @@ arch_get_unmapped_area_topdown(struct file *filp, const unsigned long addr0, addr = PAGE_ALIGN(addr); vma = find_vma(mm, addr); if (TASK_SIZE - len >= addr && - (!vma || addr + len <= vma->vm_start)) + (!vma || addr + len <= vm_start_gap(vma))) return addr; } diff --git a/arch/frv/mm/elf-fdpic.c b/arch/frv/mm/elf-fdpic.c index 836f14707a62..efa59f1f8022 100644 --- a/arch/frv/mm/elf-fdpic.c +++ b/arch/frv/mm/elf-fdpic.c @@ -74,7 +74,7 @@ unsigned long arch_get_unmapped_area(struct file *filp, unsigned long addr, unsi addr = PAGE_ALIGN(addr); vma = find_vma(current->mm, addr); if (TASK_SIZE - len >= addr && - (!vma || addr + len <= vma->vm_start)) + (!vma || addr + len <= vm_start_gap(vma))) goto success; } diff --git a/arch/mips/boot/Makefile b/arch/mips/boot/Makefile index 2728a9a9c7c5..145b5ce8eb7e 100644 --- a/arch/mips/boot/Makefile +++ b/arch/mips/boot/Makefile @@ -128,19 +128,19 @@ quiet_cmd_cpp_its_S = ITS $@ -DADDR_BITS=$(ADDR_BITS) \ -DADDR_CELLS=$(itb_addr_cells) -$(obj)/vmlinux.its: $(srctree)/arch/mips/$(PLATFORM)/vmlinux.its.S FORCE +$(obj)/vmlinux.its: $(srctree)/arch/mips/$(PLATFORM)/vmlinux.its.S $(VMLINUX) FORCE $(call if_changed_dep,cpp_its_S,none,vmlinux.bin) -$(obj)/vmlinux.gz.its: $(srctree)/arch/mips/$(PLATFORM)/vmlinux.its.S FORCE +$(obj)/vmlinux.gz.its: $(srctree)/arch/mips/$(PLATFORM)/vmlinux.its.S $(VMLINUX) FORCE $(call if_changed_dep,cpp_its_S,gzip,vmlinux.bin.gz) -$(obj)/vmlinux.bz2.its: $(srctree)/arch/mips/$(PLATFORM)/vmlinux.its.S FORCE +$(obj)/vmlinux.bz2.its: $(srctree)/arch/mips/$(PLATFORM)/vmlinux.its.S $(VMLINUX) FORCE $(call if_changed_dep,cpp_its_S,bzip2,vmlinux.bin.bz2) -$(obj)/vmlinux.lzma.its: $(srctree)/arch/mips/$(PLATFORM)/vmlinux.its.S FORCE +$(obj)/vmlinux.lzma.its: $(srctree)/arch/mips/$(PLATFORM)/vmlinux.its.S $(VMLINUX) FORCE $(call if_changed_dep,cpp_its_S,lzma,vmlinux.bin.lzma) -$(obj)/vmlinux.lzo.its: $(srctree)/arch/mips/$(PLATFORM)/vmlinux.its.S FORCE +$(obj)/vmlinux.lzo.its: $(srctree)/arch/mips/$(PLATFORM)/vmlinux.its.S $(VMLINUX) FORCE $(call if_changed_dep,cpp_its_S,lzo,vmlinux.bin.lzo) quiet_cmd_itb-image = ITB $@ diff --git a/arch/mips/kernel/branch.c b/arch/mips/kernel/branch.c index 12c718181e5e..c86b66b57fc6 100644 --- a/arch/mips/kernel/branch.c +++ b/arch/mips/kernel/branch.c @@ -804,8 +804,10 @@ int __compute_return_epc_for_insn(struct pt_regs *regs, break; } /* Compact branch: BNEZC || JIALC */ - if (insn.i_format.rs) + if (!insn.i_format.rs) { +