1. Dec 20, 2018
  2. Dec 19, 2018
  3. Dec 17, 2018
  4. Dec 15, 2018
  5. Dec 14, 2018
  6. Dec 13, 2018
    • Thomas Hellstrom's avatar
      drm/vmwgfx: Protect from excessive execbuf kernel memory allocations v3 · fd567467
      Thomas Hellstrom authored
      
      
      With the new validation code, a malicious user-space app could
      potentially submit command streams with enough buffer-object and resource
      references in them to have the resulting allocated validion nodes and
      relocations make the kernel run out of GFP_KERNEL memory.
      
      Protect from this by having the validation code reserve TTM graphics
      memory when allocating.
      
      Signed-off-by: default avatarThomas Hellstrom <thellstrom@vmware.com>
      Reviewed-by: default avatarDeepak Rawat <drawat@vmware.com>
      ---
      v2: Removed leftover debug printouts
      fd567467
    • 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