15.04.2020 21:53, Sowjanya Komatineni пишет:...>>>>>>> Have you tried to test this driver under KASAN? I suspect that>>>>>>> you just>>>>>>> masked the problem, instead of fixing it.> Tested with kmemleak scan and did not see any memory leaksYou should get use-after-free and not memleak.