drm_ioctl & WARNING at arch/x86/mm/ioremap.c:98
From: Tommi Rantala
Date: Wed Aug 27 2014 - 14:31:33 EST
Hello,
Got this warning while fuzzing v3.17-rc2-40-gff0c57a with Trinity. Was
running as root in qemu.
Tommi
ioremap: invalid physical address 4000000000004000
------------[ cut here ]------------
WARNING: CPU: 0 PID: 2887 at arch/x86/mm/ioremap.c:98
__ioremap_caller+0x7a/0x2e0()
CPU: 0 PID: 2887 Comm: trinity-c6 Not tainted 3.17.0-rc2+ #29
Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
0000000000000009 ffff880036ee7c90 ffffffff8238ba09 0000000000000000
ffff880036ee7cc8 ffffffff8113c603 0000000000000000 4000000000004000
4000000000008000 ffffffff81747c7d 0000000000000010 ffff880036ee7cd8
Call Trace:
[<ffffffff8238ba09>] dump_stack+0x4d/0x66
[<ffffffff8113c603>] warn_slowpath_common+0x73/0x90
[<ffffffff81747c7d>] ? drm_addmap_core+0x1dd/0x600
[<ffffffff8113c6f5>] warn_slowpath_null+0x15/0x20
[<ffffffff810aebaa>] __ioremap_caller+0x7a/0x2e0
[<ffffffff8237ec03>] ? kmemleak_alloc+0x23/0x50
[<ffffffff8126ced9>] ? kmem_cache_alloc_trace+0x119/0x290
[<ffffffff81747adb>] ? drm_addmap_core+0x3b/0x600
[<ffffffff810aee62>] ioremap_nocache+0x12/0x20
[<ffffffff81747c7d>] drm_addmap_core+0x1dd/0x600
[<ffffffff817486c5>] drm_addmap_ioctl+0x45/0x70
[<ffffffff8174d6fe>] drm_ioctl+0x3fe/0x640
[<ffffffff81748680>] ? drm_addmap+0x30/0x30
[<ffffffff815aa790>] ? avc_has_perm+0x20/0x2f0
[<ffffffff81170bb8>] ? sched_clock_cpu+0xa8/0xf0
[<ffffffff812922f0>] do_vfs_ioctl+0x4d0/0x510
[<ffffffff815acf15>] ? selinux_file_ioctl+0xf5/0x100
[<ffffffff8129237e>] SyS_ioctl+0x4e/0x80
[<ffffffff823a47a9>] system_call_fastpath+0x16/0x1b
---[ end trace c988df0287baa491 ]---
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/