This is a common problem, BMW knows about problematic crank case vents(those are just the hoses in the pic). Dealerships were supposed to check and replace hoses and valves accordingly although most will only change the hoses and wait till the actual valves burst leaving a nice oily mess in your engine bay.