Bugzilla – Bug 1222702
VUL-0: CVE-2021-47186: kernel: tipc: check for null after calling kmemdup
Last modified: 2024-07-15 08:57:27 UTC
In the Linux kernel, the following vulnerability has been resolved: tipc: check for null after calling kmemdup kmemdup can return a null pointer so need to check for it, otherwise the null key will be dereferenced later in tipc_crypto_key_xmit as can be seen in the trace [1]. [1] https://syzkaller.appspot.com/bug?id=bca180abb29567b189efdbdb34cbf7ba851c2a58 References: http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-47186 https://www.cve.org/CVERecord?id=CVE-2021-47186 https://git.kernel.org/stable/c/3e6db079751afd527bf3db32314ae938dc571916 https://git.kernel.org/stable/c/9404c4145542c23019a80ab1bb2ecf73cd057b10 https://git.kernel.org/stable/c/a7d91625863d4ffed63b993b5e6dc1298b6430c9 https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2021/CVE-2021-47186.mbox https://bugzilla.redhat.com/show_bug.cgi?id=2274623