Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2022-49191

mxser: fix xmit_buf leak in activate when LSR == 0xff

Description

In the Linux kernel, the following vulnerability has been resolved: mxser: fix xmit_buf leak in activate when LSR == 0xff When LSR is 0xff in ->activate() (rather unlike), we return an error. Provided ->shutdown() is not called when ->activate() fails, nothing actually frees the buffer in this case. Fix this by properly freeing the buffer in a designated label. We jump there also from the "!info->type" if now too.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 6769140d304731f0a3b177470a2adb4bacd9036b to < 376922045009f8ea2d20a8fa3475e95b47c41690affected
  • 6769140d304731f0a3b177470a2adb4bacd9036b to < 125b7c929fc9b1e5eaa344bceb6367dfa6fd3f9daffected
  • 6769140d304731f0a3b177470a2adb4bacd9036b to < 685b6d16bf89595310b5d61394c9b97cc9505c7caffected
  • 6769140d304731f0a3b177470a2adb4bacd9036b to < 996291d06851a26678a0fab488b6e1f0677c0576affected
  • 6769140d304731f0a3b177470a2adb4bacd9036b to < 2cd05c38a27bee7fb42aa4d43174d68ac55dac0faffected
  • 6769140d304731f0a3b177470a2adb4bacd9036b to < b125b08dbee3611f03f53b71471813ed4ccafcddaffected
  • 6769140d304731f0a3b177470a2adb4bacd9036b to < 6c9041b2f90c0eace73106f22350e1d2c98f5edcaffected
  • 6769140d304731f0a3b177470a2adb4bacd9036b to < 6dffc2035fbaada60ca8db59e0962e34f760370aaffected
  • 6769140d304731f0a3b177470a2adb4bacd9036b to < cd3a4907ee334b40d7aa880c7ab310b154fd5cd4affected

Linux Linux

Default version status: affected

  • 2.6.33affected
  • 0 to < 2.6.33unaffected
  • 4.9.311 to ≤ 4.9.*unaffected
  • 4.14.276 to ≤ 4.14.*unaffected
  • 4.19.238 to ≤ 4.19.*unaffected
  • 5.4.189 to ≤ 5.4.*unaffected
  • 5.10.110 to ≤ 5.10.*unaffected
  • 5.15.33 to ≤ 5.15.*unaffected
  • 5.16.19 to ≤ 5.16.*unaffected
  • 5.17.2 to ≤ 5.17.*unaffected
  • 5.18 to ≤ *unaffected

References