CVE-2021-47186

published 10 Apr 2024 · updated 11 May 2026

tipc: check for null after calling kmemdup

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 3e6db079751afd527bf3db32314ae938dc571916, Kernel 9404c4145542c23019a80ab1bb2ecf73cd057b10 and Kernel a7d91625863d4ffed63b993b5e6dc1298b6430c9.

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

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.10, >=1ef6f7c9390ff5308c940ff8d0a53533a4673ad9 <3e6db079751afd527bf3db32314ae938dc571916, >=1ef6f7c9390ff5308c940ff8d0a53533a4673ad9 <9404c4145542c23019a80ab1bb2ecf73cd057b10, >=1ef6f7c9390ff5308c940ff8d0a53533a4673ad9 <a7d91625863d4ffed63b993b5e6dc1298b6430c93e6db079751afd527bf3db32314ae938dc571916, 9404c4145542c23019a80ab1bb2ecf73cd057b10, a7d91625863d4ffed63b993b5e6dc1298b6430c9

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-47186 severity on Zeptric[![CVE-2021-47186](https://zeptric.io/badge/cve/CVE-2021-47186.svg)](https://zeptric.io/cve/CVE-2021-47186)