You are correct! Both the alcohol functional group and the alkene functional group react with HBr. The alkene reacts to form the more stable carbocation and the alcohol reacts by the SN2 mechanism.