SOCS3-deficient BMM showed increased STAT3 activation and diminished secretion of TNF and IL-12 after infection with either M. tuberculosis or BCG. Here, TNF is linked to infection.