SMG hydraulic pumps and clutches are documented failure points that typically arise around 40-60k miles, with replacement costs ranging from $1,500 for pump motor alone to $12,000+ for full unit replacement.
SMG hydraulic pump and clutch failures
BMW E60 M5 · drivetrain