Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: RDMA/irdma: Fix potential NULL-ptr-dereference in_dev_get() can return NULL which will cause a failure once idev is dereferenced in in_dev_for_each_ifa_rtnl(). This patch adds a check for NULL value in idev beforehand. Found by Linux Verification Center (linuxtesting.org) with SVACE.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 146b9756f14c04894226fb97e2f102f217139c27 before 8f5fe1cd8e6a97f94840b55f59ed08cbc397086f; affected 146b9756f14c04894226fb97e2f102f217139c27 before 360682fe7df262d94fae54f737c487bec0f9190d; affected 146b9756f14c04894226fb97e2f102f217139c27 before 5d9745cead1f121974322b94ceadfb4d1e67960e |
| Linux / Linux | affected 5.14; unaffected 0 before 5.14; unaffected 5.15.94 through 5.15.*; unaffected 6.1.12 through 6.1.*; unaffected 6.2 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/8f5fe1cd8e6a97f94840b55f59ed08cbc397086f
- https://git.kernel.org/stable/c/360682fe7df262d94fae54f737c487bec0f9190d
- https://git.kernel.org/stable/c/5d9745cead1f121974322b94ceadfb4d1e67960e
ADP enrichment
No English description supplied.
No references supplied.
No English description supplied.