[PATCH 0/1] kasan: fix memory leak of kasan quarantine

Kuan-Ying Lee Kuan-Ying.Lee at mediatek.com
Tue Dec 15 06:28:02 EST 2020


When cpu is going offline, set q->offline as true
and interrupt happened. The interrupt may call the
quarantine_put. But quarantine_put do not free the
the object. The object will cause memory leak.

Add qlink_free() to free the object.

Kuan-Ying Lee (1):
  kasan: fix memory leak of kasan quarantine

 mm/kasan/quarantine.c | 1 +
 1 file changed, 1 insertion(+)

-- 
2.18.0


More information about the Linux-mediatek mailing list