5.5medium
tipc: check for null after calling kmemdup
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.22% (higher than 13% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 1ef6f7c9390ff5308c940ff8d0a53533a4673ad9 before a7d91625863d4ffed63b993b5e6dc1298b6430c9, from 1ef6f7c9390ff5308c940ff8d0a53533a4673ad9 before 9404c4145542c23019a80ab1bb2ecf73cd057b10, from 1ef6f7c9390ff5308c940ff8d0a53533a4673ad9 before 3e6db079751afd527bf3db32314ae938dc571916, 5.10 Not affected: before 5.10, from 5.10.82 up to 5.10.*, from 5.15.5 up to 5.15.*, from 5.16 up to * | CVE List |
| linux linux_kernel | from 1da177e4c3f4 before a7d91625863d, from 1da177e4c3f4 before 9404c4145542, from 1da177e4c3f4 before 3e6db079751a, from 5.5 before 5.10.82, from 5.11 before 5.15.5, 5.16 Not affected: from 5.10.82 up to 5.11, from 5.15.5 up to 5.16, 5.16 | CVE List, NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
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
NVD (es)
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
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-47186 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2021-47186 changed 2026-06-17 | Public domain |