North Korea on Thursday fired shells into disputed waters near a South Korean warship on patrol south of the Yellow Sea border, South Korea's defence ministry said.