{"id":"CVE-2022-48958","summary":"ethernet: aeroflex: fix potential skb leak in greth_init_rings()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nethernet: aeroflex: fix potential skb leak in greth_init_rings()\n\nThe greth_init_rings() function won't free the newly allocated skb when\ndma_mapping_error() returns error, so add dev_kfree_skb() to fix it.\n\nCompile tested only.","modified":"2026-04-11T12:43:20.983310Z","published":"2024-10-21T20:05:43.778Z","related":["SUSE-SU-2024:3983-1","SUSE-SU-2024:3985-1","SUSE-SU-2024:4100-1","SUSE-SU-2024:4364-1","SUSE-SU-2025:0034-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48958.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/063a932b64db3317ec020c94466fe52923a15f60"},{"type":"WEB","url":"https://git.kernel.org/stable/c/223654e2e2c8d05347cd8e300f8d1ec6023103dd"},{"type":"WEB","url":"https://git.kernel.org/stable/c/87277bdf2c370ab2d07cfe77dfa9b37f82bbe1e5"},{"type":"WEB","url":"https://git.kernel.org/stable/c/99669d94ce145389f1d6f197e6e18ed50d43fb76"},{"type":"WEB","url":"https://git.kernel.org/stable/c/bfaa8f6c5b84b295dd73b0138b57c5555ca12b1c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c7adcbd0fd3fde1b19150c3e955fb4a30c5bd9b7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cb1e293f858e5e1152b8791047ed4bdaaf392189"},{"type":"WEB","url":"https://git.kernel.org/stable/c/dd62867a6383f78f75f07039394aac25924a3307"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48958.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-48958"},{"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":"d4c41139df6e74c6fff0cbac43e51cab782133be"},{"fixed":"223654e2e2c8d05347cd8e300f8d1ec6023103dd"},{"fixed":"cb1e293f858e5e1152b8791047ed4bdaaf392189"},{"fixed":"bfaa8f6c5b84b295dd73b0138b57c5555ca12b1c"},{"fixed":"99669d94ce145389f1d6f197e6e18ed50d43fb76"},{"fixed":"87277bdf2c370ab2d07cfe77dfa9b37f82bbe1e5"},{"fixed":"c7adcbd0fd3fde1b19150c3e955fb4a30c5bd9b7"},{"fixed":"dd62867a6383f78f75f07039394aac25924a3307"},{"fixed":"063a932b64db3317ec020c94466fe52923a15f60"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-48958.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.34"},{"fixed":"4.9.336"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.10.0"},{"fixed":"4.14.302"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.15.0"},{"fixed":"4.19.269"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.20.0"},{"fixed":"5.4.227"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.5.0"},{"fixed":"5.10.159"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.83"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.0.13"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-48958.json"}}],"schema_version":"1.7.5"}