net: ethernet: nixge: fix NULL dereference
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
net: ethernet: nixge: fix NULL dereference
In function nixge_hw_dma_bd_release() dereference of NULL pointer priv->rx_bd_v is possible for the case of its allocation failure in nixge_hw_dma_bd_init().
Move for() loop with priv->rx_bd_v dereference under the check for its validity.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
From the CVE record · Linux
The Linux kernel’s nixge Ethernet driver can dereference a NULL pointer when allocation of its receive descriptor array fails during initialization. The input does not establish whether an attacker can trigger this condition or specify network or local access, authentication, or user-interaction requirements.
Engineers running Linux kernels with the nixge Ethernet driver should check their kernel versions; affected versions are not specified.