Tag: 0794ec8ce327ec74416b569b8fb1951274693700

drivers/dma: Correct use after free

Author: Julia Lawall <julia@diku.dk> Move the kfree after the iounmap that refers to the same structure. A simplified version of the semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // @@ expression x,e; identifier f; iterator I; statement S; @@ *kfree(x); … when != &x when != x = e when != I(x,…) …

Continue reading