summaryrefslogtreecommitdiffstats
path: root/block/compat_ioctl.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2008-02-27 20:57:40 +0100
committerIngo Molnar <mingo@elte.hu>2008-04-17 17:40:51 +0200
commite3100c82abd9aa643dc15828202aceeae3504e03 (patch)
treedc4e1b69224a9e795fa9058dcc97c6e77cb71d4d /block/compat_ioctl.c
parentb8c2d3dfbc117dff26058fbac316b8acfc2cb5f7 (diff)
x86: check physical address range in ioremap
Roland Dreier reported in http://lkml.org/lkml/2008/2/27/194 [ 8425.915139] BUG: unable to handle kernel paging request at ffffc20001a0a000 [ 8425.919087] IP: [<ffffffff8021dacc>] clflush_cache_range+0xc/0x25 [ 8425.919087] PGD 1bf80e067 PUD 1bf80f067 PMD 1bb497067 PTE 80000047000ee17b This is on a Intel machine with 36bit physical address space. The PTE entry references 47000ee000, which is outside of it. Add a check for the physical address space and warn/printk about the stupid caller. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'block/compat_ioctl.c')
0 files changed, 0 insertions, 0 deletions