According to people familiar with the matter, Cornerstone Building Brands Inc., backed by CD&R, is considering filing for Chapter 11 bankruptcy protection as part of an agreement with lenders to slash its debt burden and raise new capital.