← CVE Intelligence

CVE-2021-47186

tipc: check for null after calling kmemdup PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected 1ef6f7c9390ff5308c940ff8d0a53533a4673ad9 before a7d91625863d4ffed63b993b5e6dc1298b6430c9; affected 1ef6f7c9390ff5308c940ff8d0a53533a4673ad9 before 9404c4145542c23019a80ab1bb2ecf73cd057b10; affected 1ef6f7c9390ff5308c940ff8d0a53533a4673ad9 before 3e6db079751afd527bf3db32314ae938dc571916
Linux / Linuxaffected 5.10; unaffected 0 before 5.10; unaffected 5.10.82 through 5.10.*; unaffected 5.15.5 through 5.15.*; unaffected 5.16 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.

CVE

No English description supplied.