+1
−1
Loading
The call of alloc_pages_bulk() skips to fill entries of page array when the entries already have values. While, 1394 OHCI PCI driver passes the page array without initializing. It could cause invalid state at PFN validation in vmap(). Fixes: f2ae9278 ("firewire: ohci: split page allocation from dma mapping") Reported-by:John Ogness <john.ogness@linutronix.de> Reported-and-tested-by:
Harald Arnesen <linux@skogtun.org> Reported-and-tested-by:
David Gow <david@davidgow.net> Closes: https://lore.kernel.org/lkml/87tsv1vig5.fsf@jogness.linutronix.de/ Signed-off-by:
Takashi Sakamoto <o-takashi@sakamocchi.jp> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>