1. 20 Apr, 2011 3 commits
    • Jan Glauber's avatar
      [S390] prng: prevent access beyond end of stack · c708c57e
      Jan Glauber authored
      While initializing the state of the prng only the first 8 bytes of
      random data where used, the second 8 bytes were read from the memory
      after the stack. If only 64 bytes of the kernel stack are used and
      CONFIG_DEBUG_PAGEALLOC is enabled a kernel panic may occur because of
      the invalid page access. Use the correct multiplicator to stay within
      the random data buffer.
      Signed-off-by: default avatarJan Glauber <jang@linux.vnet.ibm.com>
      Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
      c708c57e
    • Stefan Weinhuber's avatar
      [S390] dasd: fix race between open and offline · 65f8da47
      Stefan Weinhuber authored
      The dasd_open function uses the private_data pointer of the gendisk to
      find the dasd_block structure that matches the gendisk. When a DASD
      device is set offline, we set the private_data pointer of the gendisk
      to NULL and later remove the dasd_block structure, but there is still
      a small race window, in which dasd_open could first read a pointer
      from the private_data field and then try to use it, after the structure
      has already been freed.
      To close this race window, we will store a pointer to the dasd_devmap
      structure of the base device in the private_data field. The devmap
      entries are not deleted, and we already have proper locking and
      reference counting in place, so that we can safely get from a devmap
      pointer to the dasd_device and dasd_block structures of the device.
      Signed-off-by: default avatarStefan Weinhuber <wein@de.ibm.com>
      Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
      65f8da47
    • Linus Torvalds's avatar
      Merge branch 'drm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6 · 2f666bcf
      Linus Torvalds authored
      * 'drm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6:
        drm/radeon/kms: pll tweaks for r7xx
        drm/nouveau: fix allocation of notifier object
        drm/nouveau: fix notifier memory corruption bug
        drm/nouveau: fix pinning of notifier block
        drm/nouveau: populate ttm_alloced with false, when it's not
        drm/nouveau: fix nv30 pcie boards
        drm/nouveau: split ramin_lock into two locks, one hardirq safe
        drm/radeon/kms: adjust evergreen display watermark setup
        drm/radeon/kms: add connectors even if i2c fails
        drm/radeon/kms: fix bad shift in atom iio table parser
      2f666bcf
  2. 19 Apr, 2011 20 commits
  3. 18 Apr, 2011 17 commits