{"id":"CVE-2021-47186","aliases":["CVE-2021-47186"],"related":[],"kind":"vulnerability","state":"published","title":"tipc: check for null after calling kmemdup","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ntipc: check for null after calling kmemdup\n\nkmemdup can return a null pointer so need to check for it, otherwise\nthe null key will be dereferenced later in tipc_crypto_key_xmit as\ncan be seen in the trace [1].\n\n\n[1] https://syzkaller.appspot.com/bug?id=bca180abb29567b189efdbdb34cbf7ba851c2a58","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ntipc: check for null after calling kmemdup\n\nkmemdup can return a null pointer so need to check for it, otherwise\nthe null key will be dereferenced later in tipc_crypto_key_xmit as\ncan be seen in the trace [1].\n\n\n[1] https://syzkaller.appspot.com/bug?id=bca180abb29567b189efdbdb34cbf7ba851c2a58","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se resolvió la siguiente vulnerabilidad: tipc: verifique si hay valores nulos después de llamar a kmemdup kmemdup puede devolver un puntero nulo, por lo que es necesario verificarlo; de lo contrario, se eliminará la referencia a la clave nula más adelante en tipc_crypto_key_xmit, como se puede ver en el seguimiento. [1]. [1] https://syzkaller.appspot.com/bug?id=bca180abb29567b189efdbdb34cbf7ba851c2a58","source":"nvd"}],"published":"2024-04-10T18:56:26.297Z","modified":"2026-06-17T04:16:51.793Z","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-476"],"affected":[{"ranges":[{"type":"git","introduced":"1ef6f7c9390ff5308c940ff8d0a53533a4673ad9","fixed":"a7d91625863d4ffed63b993b5e6dc1298b6430c9","status":"affected"},{"type":"git","introduced":"1ef6f7c9390ff5308c940ff8d0a53533a4673ad9","fixed":"9404c4145542c23019a80ab1bb2ecf73cd057b10","status":"affected"},{"type":"git","introduced":"1ef6f7c9390ff5308c940ff8d0a53533a4673ad9","fixed":"3e6db079751afd527bf3db32314ae938dc571916","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.10","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.10","status":"unaffected"},{"type":"semver","introduced":"5.10.82","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.5","lastAffected":"5.15.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"5.16","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"1da177e4c3f4","fixed":"a7d91625863d","status":"affected"},{"type":"custom","introduced":"1da177e4c3f4","fixed":"9404c4145542","status":"affected"},{"type":"custom","introduced":"1da177e4c3f4","fixed":"3e6db079751a","status":"affected"},{"type":"custom","introduced":"5.10.82","lastAffected":"5.11","status":"unaffected"},{"type":"custom","introduced":"5.15.5","lastAffected":"5.16","status":"unaffected"},{"version":"5.16","status":"unaffected"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.5","fixed":"5.10.82"},{"status":"affected","introduced":"5.11","fixed":"5.15.5"},{"status":"affected","version":"5.16"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/a7d91625863d4ffed63b993b5e6dc1298b6430c9","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9404c4145542c23019a80ab1bb2ecf73cd057b10","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3e6db079751afd527bf3db32314ae938dc571916","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2024-04-15T14:53:12.521Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-47186","url":"https://www.cve.org/CVERecord?id=CVE-2021-47186","licence":"CVE Terms of Use","modified":"2026-05-11T13:49:38.587Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-47186","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-47186","licence":"Public domain","modified":"2026-06-17T04:16:51.793Z"}],"updatedAt":"2026-11-25T22:58:08.708Z","epss":{"score":0.00222,"percentile":0.13645,"date":"2026-12-01T12:00:22.000Z"}}