{"id":"CVE-2022-49619","summary":"net: sfp: fix memory leak in sfp_probe()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: sfp: fix memory leak in sfp_probe()\n\nsfp_probe() allocates a memory chunk from sfp with sfp_alloc(). When\ndevm_add_action() fails, sfp is not freed, which leads to a memory leak.\n\nWe should use devm_add_action_or_reset() instead of devm_add_action().","modified":"2026-04-11T12:44:18.232974Z","published":"2025-02-26T02:23:37.879Z","related":["SUSE-SU-2025:1293-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49619.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0a18d802d65cf662644fd1d369c86d84a5630652"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1545bc727625ea6e8decd717e5d1e8cc704ccf8f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/204543581a2f26bb3b997a304c0bd06926ba7f15"},{"type":"WEB","url":"https://git.kernel.org/stable/c/67dc32542a1fb7790d0853cf4a5cf859ac6a2002"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9ec5a97f327a89031fce6cfc3e95543c53936638"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ede990cfc42775bd0141e21f37ee365dcaeeb50f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f22ddc8a5278d7fb6369a0aeb0d8775a0aefaaee"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49619.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49619"},{"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":"73970055450eebc6fc36fd170e56cc45889d0093"},{"fixed":"9ec5a97f327a89031fce6cfc3e95543c53936638"},{"fixed":"1545bc727625ea6e8decd717e5d1e8cc704ccf8f"},{"fixed":"ede990cfc42775bd0141e21f37ee365dcaeeb50f"},{"fixed":"67dc32542a1fb7790d0853cf4a5cf859ac6a2002"},{"fixed":"204543581a2f26bb3b997a304c0bd06926ba7f15"},{"fixed":"f22ddc8a5278d7fb6369a0aeb0d8775a0aefaaee"},{"fixed":"0a18d802d65cf662644fd1d369c86d84a5630652"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49619.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.14.0"},{"fixed":"4.14.289"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.15.0"},{"fixed":"4.19.253"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.20.0"},{"fixed":"5.4.207"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.5.0"},{"fixed":"5.10.132"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.56"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"5.18.13"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49619.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}