1. 13 Dec, 2018 7 commits
    • Linus Torvalds's avatar
      Merge tag 'mmc-v4.20-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc · e861e11c
      Linus Torvalds authored
      Pull mmc fixes from Ulf Hansson:
       "MMC core:
         - Fixup RPMB requests to use mrq->sbc when sending CMD23
      
        MMC host:
         - omap: Fix broken MMC/SD on OMAP15XX/OMAP5910/OMAP310
      
         - sdhci-omap: Fix DCRC error handling during tuning
      
         - sdhci: Fixup the timeout check window for clock and reset"
      
      * tag 'mmc-v4.20-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc:
        mmc: sdhci: fix the timeout check window for clock and reset
        mmc: sdhci-omap: Fix DCRC error handling during tuning
        MMC: OMAP: fix broken MMC on OMAP15XX/OMAP5910/OMAP310
        mmc: core: use mrq->sbc when sending CMD23 for RPMB
      e861e11c
    • Linus Torvalds's avatar
      Merge tag 'sound-4.20-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound · 52a7dc28
      Linus Torvalds authored
      Pull sound fixes from Takashi Iwai:
       "Only usual suspects here: a few more fixups for Realtek HD-audio on
        various PCs, including a regression fix in the previous fix for Lenovo
        X1 Carbon, as well as a typo fix in the recent Fireface patch"
      
      * tag 'sound-4.20-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound:
        ALSA: hda/realtek: Enable audio jacks of ASUS UX433FN/UX333FA with ALC294
        ALSA: hda/realtek: Enable audio jacks of ASUS UX533FD with ALC294
        ALSA: hda/realtek: ALC294 mic and headset-mode fixups for ASUS X542UN
        ALSA: fireface: fix reference to wrong register for clock configuration
        ALSA: hda/realtek - Fix the mute LED regresion on Lenovo X1 Carbon
        ALSA: hda/realtek - Fixed headphone issue for ALC700
      52a7dc28
    • Linus Torvalds's avatar
      Merge tag 'for-4.20/dm-fixes' of... · 67f2a930
      Linus Torvalds authored
      Merge tag 'for-4.20/dm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm
      
      Pull device mapper fixes from Mike Snitzer:
      
       - Fix DM cache metadata to verify that a cache has block before trying
         to continue with operation that requires them.
      
       - Fix bio-based DM core's dm_make_request() to properly impose device
         limits on individual bios by making use of blk_queue_split().
      
       - Fix long-standing race with how DM thinp notified userspace of
         thin-pool mode state changes before they were actually made.
      
       - Fix the zoned target's bio completion handling; this is a fairly
         invassive fix at this stage but it is localized to the zoned target.
         Any zoned target users will benefit from this fix.
      
      * tag 'for-4.20/dm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm:
        dm thin: bump target version
        dm thin: send event about thin-pool state change _after_ making it
        dm zoned: Fix target BIO completion handling
        dm: call blk_queue_split() to impose device limits on bios
        dm cache metadata: verify cache has blocks in blocks_are_clean_separate_dirty()
      67f2a930
    • Linus Torvalds's avatar
      Merge tag 'media/v4.20-5' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media · 14a996c3
      Linus Torvalds authored
      Pull media fixes from Mauro Carvalho Chehab:
      
       - one regression at vsp1 driver
      
       - some last time changes for the upcoming request API logic and for
         stateless codec support. As the stateless codec "cedrus" driver is at
         staging, don't apply the MPEG controls as part of the main V4L2 API,
         as those may not be ready for production yet.
      
      * tag 'media/v4.20-5' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media:
        media: Add a Kconfig option for the Request API
        media: extended-controls.rst: add note to the MPEG2 state controls
        media: mpeg2-ctrls.h: move MPEG2 state controls to non-public header
        media: vicodec: set state resolution from raw format
        media: vivid: drop v4l2_ctrl_request_complete() from start_streaming
        media: vb2: don't unbind/put the object when going to state QUEUED
        media: vb2: keep a reference to the request until dqbuf
        media: vb2: skip request checks for VIDIOC_PREPARE_BUF
        media: vb2: don't call __vb2_queue_cancel if vb2_start_streaming failed
        media: cedrus: Fix a NULL vs IS_ERR() check
        media: vsp1: Fix LIF buffer thresholds
      14a996c3
    • Linus Torvalds's avatar
      Merge tag 'ovl-fixes-4.20-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs · e6333d72
      Linus Torvalds authored
      Pull overlayfs fixes from Miklos Szeredi:
       "Needed to revert a patch, because it possibly introduces a security
        hole. Since the patch is basically a conceptual cleanup, not a bug
        fix, it's safe to revert. I'm not giving up on this, and discussions
        seemed to have reached an agreement over how to move forward, but that
        can wait 'till the next release.
      
        The other two patches are fixes for bugs introduced in recent
        releases"
      
      * tag 'ovl-fixes-4.20-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs:
        Revert "ovl: relax permission checking on underlying layers"
        ovl: fix decode of dir file handle with multi lower layers
        ovl: fix missing override creds in link of a metacopy upper
      e6333d72
    • Linus Torvalds's avatar
      Merge tag 'fuse-fixes-4.20-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse · 70f48282
      Linus Torvalds authored
      Pull fuse fixes from Miklos Szeredi:
       "There's one patch fixing a minor but long lived bug, the others are
        fixing regressions introduced in this cycle"
      
      * tag 'fuse-fixes-4.20-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse:
        fuse: continue to send FUSE_RELEASEDIR when FUSE_OPEN returns ENOSYS
        fuse: Fix memory leak in fuse_dev_free()
        fuse: fix revalidation of attributes for permission check
        fuse: fix fsync on directory
        fuse: Add bad inode check in fuse_destroy_inode()
      70f48282
    • Linus Torvalds's avatar
      Merge tag 'trace-v4.20-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace · b5884002
      Linus Torvalds authored
      Pull tracing fixes from Steven Rostedt:
       "While running various ftrace tests on new development code, the
        kmemleak detector found some allocations that were not freed
        correctly.
      
        This fixes a couple of leaks in the event trigger code as well as in
        adding function trace filters in trace instances"
      
      * tag 'trace-v4.20-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace:
        tracing: Fix memory leak of instance function hash filters
        tracing: Fix memory leak in set_trigger_filter()
        tracing: Fix memory leak in create_filter()
      b5884002
  2. 12 Dec, 2018 1 commit
  3. 11 Dec, 2018 5 commits
    • Chad Austin's avatar
      fuse: continue to send FUSE_RELEASEDIR when FUSE_OPEN returns ENOSYS · 2e64ff15
      Chad Austin authored
      When FUSE_OPEN returns ENOSYS, the no_open bit is set on the connection.
      
      Because the FUSE_RELEASE and FUSE_RELEASEDIR paths share code, this
      incorrectly caused the FUSE_RELEASEDIR request to be dropped and never sent
      to userspace.
      
      Pass an isdir bool to distinguish between FUSE_RELEASE and FUSE_RELEASEDIR
      inside of fuse_file_put.
      
      Fixes: 7678ac50 ("fuse: support clients that don't implement 'open'")
      Cc: <stable@vger.kernel.org> # v3.14
      Signed-off-by: default avatarChad Austin <chadaustin@fb.com>
      Signed-off-by: default avatarMiklos Szeredi <mszeredi@redhat.com>
      2e64ff15
    • Mike Snitzer's avatar
      dm thin: send event about thin-pool state change _after_ making it · f6c36758
      Mike Snitzer authored
      Sending a DM event before a thin-pool state change is about to happen is
      a bug.  It wasn't realized until it became clear that userspace response
      to the event raced with the actual state change that the event was
      meant to notify about.
      
      Fix this by first updating internal thin-pool state to reflect what the
      DM event is being issued about.  This fixes a long-standing racey/buggy
      userspace device-mapper-test-suite 'resize_io' test that would get an
      event but not find the state it was looking for -- so it would just go
      on to hang because no other events caused the test to reevaluate the
      thin-pool's state.
      
      Cc: stable@vger.kernel.org
      Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
      f6c36758
    • Steven Rostedt (VMware)'s avatar
      tracing: Fix memory leak of instance function hash filters · 2840f84f
      Steven Rostedt (VMware) authored
      The following commands will cause a memory leak:
      
       # cd /sys/kernel/tracing
       # mkdir instances/foo
       # echo schedule > instance/foo/set_ftrace_filter
       # rmdir instances/foo
      
      The reason is that the hashes that hold the filters to set_ftrace_filter and
      set_ftrace_notrace are not freed if they contain any data on the instance
      and the instance is removed.
      
      Found by kmemleak detector.
      
      Cc: stable@vger.kernel.org
      Fixes: 591dffda ("ftrace: Allow for function tracing instance to filter functions")
      Signed-off-by: default avatarSteven Rostedt (VMware) <rostedt@goodmis.org>
      2840f84f
    • Steven Rostedt (VMware)'s avatar
      tracing: Fix memory leak in set_trigger_filter() · 3cec638b
      Steven Rostedt (VMware) authored
      When create_event_filter() fails in set_trigger_filter(), the filter may
      still be allocated and needs to be freed. The caller expects the
      data->filter to be updated with the new filter, even if the new filter
      failed (we could add an error message by setting set_str parameter of
      create_event_filter(), but that's another update).
      
      But because the error would just exit, filter was left hanging and
      nothing could free it.
      
      Found by kmemleak detector.
      
      Cc: stable@vger.kernel.org
      Fixes: bac5fb97 ("tracing: Add and use generic set_trigger_filter() implementation")
      Reviewed-by: default avatarTom Zanussi <tom.zanussi@linux.intel.com>
      Signed-off-by: default avatarSteven Rostedt (VMware) <rostedt@goodmis.org>
      3cec638b
    • Steven Rostedt (VMware)'s avatar
      tracing: Fix memory leak in create_filter() · b61c1920
      Steven Rostedt (VMware) authored
      The create_filter() calls create_filter_start() which allocates a
      "parse_error" descriptor, but fails to call create_filter_finish() that
      frees it.
      
      The op_stack and inverts in predicate_parse() were also not freed.
      
      Found by kmemleak detector.
      
      Cc: stable@vger.kernel.org
      Fixes: 80765597 ("tracing: Rewrite filter logic to be simpler and faster")
      Reviewed-by: default avatarTom Zanussi <tom.zanussi@linux.intel.com>
      Signed-off-by: default avatarSteven Rostedt (VMware) <rostedt@goodmis.org>
      b61c1920
  4. 10 Dec, 2018 8 commits
  5. 09 Dec, 2018 19 commits