A dog walker has been stabbed in the stomach in an apparent unprovoked attack in Perth's northern suburbs on Tuesday night.

The 24-year-old victim was approached by a man at 6.55pm, while walking his dog in a park near Pomodora Avenue and Porro Road, in Lansdale, before engaging in conversation with the attacker

Shortly after, the victim felt pain to his stomach and realised he had been stabbed.

He managed to walk home before his partner took him to Joondalup Health Campus.