Portenta H7 and I2C pull-up resistors

That module also has pull ups to 5V, resistors R2,R4. So you're not out of jail yet. It is not just your external resistors that are a problem.