Files
erofs-linux/kernel
Oleg Nesterov f58bea2fec uprobes: Fix the usage of install_special_mapping()
install_special_mapping(pages) expects that "pages" is the zero-
terminated array while xol_add_vma() passes &area->page, this
means that special_mapping_fault() can wrongly use the next
member in xol_area (vaddr) as "struct page *".

Fortunately, this area is not expandable so pgoff != 0 isn't
possible (modulo bugs in special_mapping_vmops), but still this
does not look good.

Signed-off-by: Oleg Nesterov <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Pratyush Anand <[email protected]>
Cc: Srikar Dronamraju <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
2015-07-31 10:38:06 +02:00
..
2015-06-30 19:44:57 -07:00
…
…
…
…
…
…
…
2015-06-25 17:00:43 -07:00
…
…
…
…
…
…
…
2015-07-09 06:57:12 +09:30
…
…
…
…
2015-07-22 17:20:34 +02:00
…
…
2015-06-25 17:00:37 -07:00
…
…
…
…
…