{"id":"CVE-2021-47122","aliases":["CVE-2021-47122"],"related":[],"kind":"vulnerability","state":"published","title":"net: caif: fix memory leak in caif_device_notify","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: caif: fix memory leak in caif_device_notify\n\nIn case of caif_enroll_dev() fail, allocated\nlink_support won't be assigned to the corresponding\nstructure. So simply free allocated pointer in case\nof error","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: caif: fix memory leak in caif_device_notify\n\nIn case of caif_enroll_dev() fail, allocated\nlink_support won't be assigned to the corresponding\nstructure. So simply free allocated pointer in case\nof error","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: net: caif: corrige la pérdida de memoria en caif_device_notify En caso de que falle caif_enroll_dev(), el link_support asignado no se asignará a la estructura correspondiente. Así que simplemente libera el puntero asignado en caso de error.","source":"nvd"}],"published":"2024-03-15T20:14:28.089Z","modified":"2026-06-17T04:16:34.420Z","severity":{"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"},"severities":[{"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":"7c18d2205ea76eef9674e59e1ecae4f332a53e9e","fixed":"b042e2b2039565eb8f0eb51c14fbe1ef463c8cd8","status":"affected"},{"type":"git","introduced":"7c18d2205ea76eef9674e59e1ecae4f332a53e9e","fixed":"9348c1f10932f13b299cbc8b1bd5f780751fae49","status":"affected"},{"type":"git","introduced":"7c18d2205ea76eef9674e59e1ecae4f332a53e9e","fixed":"4bca2034b41c15b62d47a19158bb76235fd4455d","status":"affected"},{"type":"git","introduced":"7c18d2205ea76eef9674e59e1ecae4f332a53e9e","fixed":"3be863c11cab725add9fef4237ed4e232c3fc3bb","status":"affected"},{"type":"git","introduced":"7c18d2205ea76eef9674e59e1ecae4f332a53e9e","fixed":"f52f4fd67264c70cd0b4ba326962ebe12d9cba94","status":"affected"},{"type":"git","introduced":"7c18d2205ea76eef9674e59e1ecae4f332a53e9e","fixed":"af2806345a37313f01b1c9f15e046745b8ee2daa","status":"affected"},{"type":"git","introduced":"7c18d2205ea76eef9674e59e1ecae4f332a53e9e","fixed":"6a0e317f61094d377335547e015dd2ff12caf893","status":"affected"},{"type":"git","introduced":"7c18d2205ea76eef9674e59e1ecae4f332a53e9e","fixed":"b53558a950a89824938e9811eddfc8efcd94e1bb","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.3","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.3","status":"unaffected"},{"type":"semver","introduced":"4.4.272","lastAffected":"4.4.*","status":"unaffected"},{"type":"semver","introduced":"4.9.272","lastAffected":"4.9.*","status":"unaffected"},{"type":"semver","introduced":"4.14.236","lastAffected":"4.14.*","status":"unaffected"},{"type":"semver","introduced":"4.19.194","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.125","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.43","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.12.10","lastAffected":"5.12.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"5.13","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","introduced":"3.3","fixed":"4.4.272"},{"status":"affected","introduced":"4.5","fixed":"4.9.272"},{"status":"affected","introduced":"4.10","fixed":"4.14.236"},{"status":"affected","introduced":"4.15","fixed":"4.19.194"},{"status":"affected","introduced":"4.20","fixed":"5.4.125"},{"status":"affected","introduced":"5.5","fixed":"5.10.43"},{"status":"affected","introduced":"5.11","fixed":"5.12.10"},{"status":"affected","version":"5.13"},{"status":"affected","version":"5.13"},{"status":"affected","version":"5.13"},{"status":"affected","version":"5.13"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/b042e2b2039565eb8f0eb51c14fbe1ef463c8cd8","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9348c1f10932f13b299cbc8b1bd5f780751fae49","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4bca2034b41c15b62d47a19158bb76235fd4455d","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3be863c11cab725add9fef4237ed4e232c3fc3bb","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f52f4fd67264c70cd0b4ba326962ebe12d9cba94","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/af2806345a37313f01b1c9f15e046745b8ee2daa","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6a0e317f61094d377335547e015dd2ff12caf893","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b53558a950a89824938e9811eddfc8efcd94e1bb","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-06-21T16:10:05.257Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-47122","url":"https://www.cve.org/CVERecord?id=CVE-2021-47122","licence":"CVE Terms of Use","modified":"2026-05-11T13:48:28.483Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-47122","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-47122","licence":"Public domain","modified":"2026-06-17T04:16:34.420Z"}],"updatedAt":"2026-11-25T22:58:08.672Z","epss":{"score":0.00228,"percentile":0.14506,"date":"2026-12-01T12:00:22.000Z"}}