Mediation analysis highlighted an indirect pathway where T2DM contributes to iRBD by increasing BAFF-R on IgD- CD38- B cells and reducing plasma SDF-2 levels. Here, CD38 is linked to type 2 diabetes mellitus.