Which of the following conditions is commonly associated with acute respiratory distress syndrome (ARDS)?