Nested interrupts using NOBLOCK

tero2011:
All this is due to the fact that I have to use malloc() inside my ISR (not in all cases of my ISR) which I know can delay the execution.

Delay execution? Maybe. Fatal flaw? Absolutely. The AVR-Libc malloc is not safe to use from an interrupt service routine.