CVEvulnerability
CVE-2021-47186
5.5 MEDIUM
Official page ↗
- Status
- Analyzed
- Published
- 2024-04-10
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-476
Description
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 configurations
• linux linux kernel (>= 5.5 < 5.10.82)
• linux linux kernel (>= 5.11 < 5.15.5)
• linux linux kernel 5.16
Related
Weakness · CWE (1)
- CWE-476 NULL Pointer Dereference weakness
References
- https://git.kernel.org/stable/c/3e6db079751afd527bf3db32314ae938dc571916 Patch
- https://git.kernel.org/stable/c/9404c4145542c23019a80ab1bb2ecf73cd057b10 Patch
- https://git.kernel.org/stable/c/a7d91625863d4ffed63b993b5e6dc1298b6430c9 Patch
- https://git.kernel.org/stable/c/3e6db079751afd527bf3db32314ae938dc571916 Patch
- https://git.kernel.org/stable/c/9404c4145542c23019a80ab1bb2ecf73cd057b10 Patch
- https://git.kernel.org/stable/c/a7d91625863d4ffed63b993b5e6dc1298b6430c9 Patch