1. 03 Jul, 2017 2 commits
    • Rafael J. Wysocki's avatar
      Merge branches 'acpi-pmic', 'acpi-misc' and 'acpi-tables' · bee5799e
      Rafael J. Wysocki authored
      * acpi-pmic:
        ACPI / PMIC: xpower: Add support for the GPI1 regulator to the OpRegion handler
      
      * acpi-misc:
        ACPI: fix whitespace in pr_fmt() to align log entries
      
      * acpi-tables:
        ACPI: configfs: Unload SSDT on configfs entry removal
      bee5799e
    • Rafael J. Wysocki's avatar
      Merge branch 'acpica' · 80abc82e
      Rafael J. Wysocki authored
      * acpica: (53 commits)
        ACPICA: Use designated initializers
        ACPICA: Update version to 20170531
        ACPICA: Update a couple of debug output messages
        ACPICA: acpiexec: enhance local signal handler
        ACPICA: Simplify output for the ACPI Debug Object
        ACPICA: Unix application OSL: Correctly handle control-c (EINTR)
        ACPICA: Improvements for debug output only
        ACPICA: Disassembler: allow conflicting external declarations to be emitted.
        ACPICA: Disassembler: add external op to namespace on first pass
        ACPICA: Disassembler: prevent external op's from opening a new scope
        ACPICA: Changed Gbl_disasm_flag to acpi_gbl_disasm_flag
        ACPICA: Changing External to a named object
        ACPICA: Update two error messages to emit control method name
        ACPICA: Fix for Device/Thermal objects with ObjectType and DerefOf
        ACPICA: Comment update: spelling/format. No functional change
        ACPICA: Update comments, no functional change
        ACPICA: Split resource descriptor decode strings to a new file
        ACPICA: Remove extraneous status check
        ACPICA: Export the public mutex interfaces
        ACPICA: Disassembler: Abort on an invalid/unknown AML opcode
        ...
      80abc82e
  2. 27 Jun, 2017 18 commits
  3. 26 Jun, 2017 1 commit
  4. 25 Jun, 2017 6 commits
  5. 24 Jun, 2017 11 commits
  6. 23 Jun, 2017 2 commits
    • Linus Torvalds's avatar
      Merge branch 'akpm' (patches from Andrew) · 337c6ba2
      Linus Torvalds authored
      Merge misc fixes from Andrew Morton:
       "8 fixes"
      
      * emailed patches from Andrew Morton <akpm@linux-foundation.org>:
        fs/exec.c: account for argv/envp pointers
        ocfs2: fix deadlock caused by recursive locking in xattr
        slub: make sysfs file removal asynchronous
        lib/cmdline.c: fix get_options() overflow while parsing ranges
        fs/dax.c: fix inefficiency in dax_writeback_mapping_range()
        autofs: sanity check status reported with AUTOFS_DEV_IOCTL_FAIL
        mm/vmalloc.c: huge-vmap: fail gracefully on unexpected huge vmap mappings
        mm, thp: remove cond_resched from __collapse_huge_page_copy
      337c6ba2
    • Kees Cook's avatar
      fs/exec.c: account for argv/envp pointers · 98da7d08
      Kees Cook authored
      When limiting the argv/envp strings during exec to 1/4 of the stack limit,
      the storage of the pointers to the strings was not included.  This means
      that an exec with huge numbers of tiny strings could eat 1/4 of the stack
      limit in strings and then additional space would be later used by the
      pointers to the strings.
      
      For example, on 32-bit with a 8MB stack rlimit, an exec with 1677721
      single-byte strings would consume less than 2MB of stack, the max (8MB /
      4) amount allowed, but the pointers to the strings would consume the
      remaining additional stack space (1677721 * 4 == 6710884).
      
      The result (1677721 + 6710884 == 8388605) would exhaust stack space
      entirely.  Controlling this stack exhaustion could result in
      pathological behavior in setuid binaries (CVE-2017-1000365).
      
      [akpm@linux-foundation.org: additional commenting from Kees]
      Fixes: b6a2fea3 ("mm: variable length argument support")
      Link: http://lkml.kernel.org/r/20170622001720.GA32173@beastSigned-off-by: default avatarKees Cook <keescook@chromium.org>
      Acked-by: default avatarRik van Riel <riel@redhat.com>
      Acked-by: default avatarMichal Hocko <mhocko@suse.com>
      Cc: Alexander Viro <viro@zeniv.linux.org.uk>
      Cc: Qualys Security Advisory <qsa@qualys.com>
      Cc: <stable@vger.kernel.org>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      98da7d08