{"id":"CVE-2022-49619","aliases":["CVE-2022-49619"],"related":[],"kind":"vulnerability","state":"published","title":"net: sfp: fix memory leak in sfp_probe()","summary":"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().","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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().","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: net: sfp: se corrige la pérdida de memoria en sfp_probe() sfp_probe() asigna un fragmento de memoria de sfp con sfp_alloc(). Cuando devm_add_action() falla, sfp no se libera, lo que provoca una pérdida de memoria. Deberíamos utilizar devm_add_action_or_reset() en lugar de devm_add_action().","source":"nvd"}],"published":"2025-02-26T02:23:37.879Z","modified":"2026-06-17T05:18:38.733Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-401"],"affected":[{"ranges":[{"type":"git","introduced":"73970055450eebc6fc36fd170e56cc45889d0093","fixed":"9ec5a97f327a89031fce6cfc3e95543c53936638","status":"affected"},{"type":"git","introduced":"73970055450eebc6fc36fd170e56cc45889d0093","fixed":"1545bc727625ea6e8decd717e5d1e8cc704ccf8f","status":"affected"},{"type":"git","introduced":"73970055450eebc6fc36fd170e56cc45889d0093","fixed":"ede990cfc42775bd0141e21f37ee365dcaeeb50f","status":"affected"},{"type":"git","introduced":"73970055450eebc6fc36fd170e56cc45889d0093","fixed":"67dc32542a1fb7790d0853cf4a5cf859ac6a2002","status":"affected"},{"type":"git","introduced":"73970055450eebc6fc36fd170e56cc45889d0093","fixed":"204543581a2f26bb3b997a304c0bd06926ba7f15","status":"affected"},{"type":"git","introduced":"73970055450eebc6fc36fd170e56cc45889d0093","fixed":"f22ddc8a5278d7fb6369a0aeb0d8775a0aefaaee","status":"affected"},{"type":"git","introduced":"73970055450eebc6fc36fd170e56cc45889d0093","fixed":"0a18d802d65cf662644fd1d369c86d84a5630652","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.14","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.14","status":"unaffected"},{"type":"semver","introduced":"4.14.289","lastAffected":"4.14.*","status":"unaffected"},{"type":"semver","introduced":"4.19.253","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.207","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.132","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.56","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"5.18.13","lastAffected":"5.18.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"5.19","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"4.14.289"},{"status":"affected","introduced":"4.15","fixed":"4.19.253"},{"status":"affected","introduced":"4.20","fixed":"5.4.207"},{"status":"affected","introduced":"5.5","fixed":"5.10.132"},{"status":"affected","introduced":"5.11","fixed":"5.15.56"},{"status":"affected","introduced":"5.16","fixed":"5.18.13"},{"status":"affected","version":"5.19"},{"status":"affected","version":"5.19"},{"status":"affected","version":"5.19"},{"status":"affected","version":"5.19"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/9ec5a97f327a89031fce6cfc3e95543c53936638","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1545bc727625ea6e8decd717e5d1e8cc704ccf8f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ede990cfc42775bd0141e21f37ee365dcaeeb50f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/67dc32542a1fb7790d0853cf4a5cf859ac6a2002","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/204543581a2f26bb3b997a304c0bd06926ba7f15","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f22ddc8a5278d7fb6369a0aeb0d8775a0aefaaee","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0a18d802d65cf662644fd1d369c86d84a5630652","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-10-01T19:34:45.038Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-49619","url":"https://www.cve.org/CVERecord?id=CVE-2022-49619","licence":"CVE Terms of Use","modified":"2026-05-11T19:03:26.099Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-49619","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49619","licence":"Public domain","modified":"2026-06-17T05:18:38.733Z"}],"updatedAt":"2026-11-25T22:58:20.762Z","epss":{"score":0.00266,"percentile":0.19743,"date":"2026-12-01T12:00:22.000Z"}}