score:6
According to https://www.gov.uk/uk-border-control/before-you-leave-for-the-uk, your passport "must be valid for the whole of your stay."
I suppose the border officer might be forced to stamp you in for a shorter period than the standard six months, but aside from some irritation resulting from that, it seems unlikely that you will have any problem.