A passenger on a flight from Malaysia has been arrested after reportedly stripping naked to watch porn before attacking a stewardess.

Shortly after the Malindo Air flight departed from Kuala Lumpur on Saturday, the 20-year-old Bangladeshi took his clothes off and started watching pornography on his laptop, local media reported.

The man, a student at a Malaysian university, initially put his clothes back on at the request of cabin crew, the New Straits Times newspaper reported.

Shortly after the Malindo Air flight departed from Kuala Lumpur on Saturday, the 20-year-old Bangladeshi took his clothes off and started watching pornography on his laptop, local media reported. Pictured: Photographs that circulated online after the incident

But he then tried to hug female crew members while on his way to the toilet, and when his advances were rejected he became aggressive and attacked a stewardess, the paper said.

The cabin crew and passengers reportedly managed to subdue him and his hands were tied up with a piece of cloth for the rest of the flight.

According to Malaysian website Star Online, the man also masturbated and urinated on his seat.

There was no indication as to why he was acting strangely.

The airline, a Malaysian subsidiary of an Indonesian company, declined to confirm all the details but said in a statement that a 'disruptive passenger' was tied up on the flight to Dhaka, and was arrested on arrival.

It explained: 'The crew on board has followed the standard operating procedure in restraining the passenger from causing further disruption onboard the flight.

'The disruptive passenger was accompanied by Dhaka security team upon arrival and he has been put to jail by the authorities there.

The cabin crew and passengers reportedly managed to subdue him and his hands were tied up with a piece of cloth for the rest of the flight

'The airline will continue to stay vigilant to ensure passengers travel soundly.'

The Sun Daily, meanwhile, quoted a man claiming to be a passenger on the plane.

He explained that the Bangladeshi man stripped naked and watched porn while 'ignoring all those around him'.

'The cabin crew approached him and politely asked him to put on his clothes,' he added.

'He complied with their request. A short while later there was some commotion at the toilet area and it turned out that he was harassing a stewardess.'