{"id":"CVE-2022-49191","summary":"mxser: fix xmit_buf leak in activate when LSR == 0xff","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nmxser: fix xmit_buf leak in activate when LSR == 0xff\n\nWhen LSR is 0xff in -\u003eactivate() (rather unlike), we return an error.\nProvided -\u003eshutdown() is not called when -\u003eactivate() fails, nothing\nactually frees the buffer in this case.\n\nFix this by properly freeing the buffer in a designated label. We jump\nthere also from the \"!info-\u003etype\" if now too.","modified":"2026-03-20T12:22:14.953170Z","published":"2025-02-26T01:55:38.124Z","related":["SUSE-SU-2025:1293-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49191.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/125b7c929fc9b1e5eaa344bceb6367dfa6fd3f9d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2cd05c38a27bee7fb42aa4d43174d68ac55dac0f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/376922045009f8ea2d20a8fa3475e95b47c41690"},{"type":"WEB","url":"https://git.kernel.org/stable/c/685b6d16bf89595310b5d61394c9b97cc9505c7c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6c9041b2f90c0eace73106f22350e1d2c98f5edc"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6dffc2035fbaada60ca8db59e0962e34f760370a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/996291d06851a26678a0fab488b6e1f0677c0576"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b125b08dbee3611f03f53b71471813ed4ccafcdd"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cd3a4907ee334b40d7aa880c7ab310b154fd5cd4"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49191.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49191"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"6769140d304731f0a3b177470a2adb4bacd9036b"},{"fixed":"376922045009f8ea2d20a8fa3475e95b47c41690"},{"fixed":"125b7c929fc9b1e5eaa344bceb6367dfa6fd3f9d"},{"fixed":"685b6d16bf89595310b5d61394c9b97cc9505c7c"},{"fixed":"996291d06851a26678a0fab488b6e1f0677c0576"},{"fixed":"2cd05c38a27bee7fb42aa4d43174d68ac55dac0f"},{"fixed":"b125b08dbee3611f03f53b71471813ed4ccafcdd"},{"fixed":"6c9041b2f90c0eace73106f22350e1d2c98f5edc"},{"fixed":"6dffc2035fbaada60ca8db59e0962e34f760370a"},{"fixed":"cd3a4907ee334b40d7aa880c7ab310b154fd5cd4"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49191.json"}}],"schema_version":"1.7.5"}