summaryrefslogtreecommitdiffstats
path: root/mm/slab.c
diff options
context:
space:
mode:
authorJoerg Roedel <joro@8bytes.org>2014-03-25 20:16:40 +0100
committerJoerg Roedel <joro@8bytes.org>2014-03-25 20:36:09 +0100
commit11f1a7768cb9179b1f1ce6b8027df7531e0704e7 (patch)
tree18886a2d7dd7756ae1b46009092d4003a5faa09d /mm/slab.c
parentcf04eee8bf0e842dd73a64d02cdcdcbb31b0102c (diff)
downloadlinux-stable-11f1a7768cb9179b1f1ce6b8027df7531e0704e7.tar.gz
linux-stable-11f1a7768cb9179b1f1ce6b8027df7531e0704e7.tar.bz2
linux-stable-11f1a7768cb9179b1f1ce6b8027df7531e0704e7.zip
iommu/vt-d: Check for NULL pointer in dmar_acpi_dev_scope_init()
When ir_dev_scope_init() is called via a rootfs initcall it will check for irq_remapping_enabled before it calls (indirectly) into dmar_acpi_dev_scope_init() which uses the dmar_tbl pointer without any checks. The AMD IOMMU driver also sets the irq_remapping_enabled flag which causes the dmar_acpi_dev_scope_init() function to be called on systems with AMD IOMMU hardware too, causing a boot-time kernel crash. Signed-off-by: Joerg Roedel <joro@8bytes.org>
Diffstat (limited to 'mm/slab.c')
0 files changed, 0 insertions, 0 deletions