net: ice: Fix potential NULL pointer dereference in ice_bridge_setlink()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ b1edc14a3fbfe0154a2aecb8bb9775c3012cb6e2 · < 0e296067ae0d74a10b4933601f9aa9f0ec8f157f| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
net: ice: Fix potential NULL pointer dereference in ice_bridge_setlink()
The function ice_bridge_setlink() may encounter a NULL pointer dereference if nlmsg_find_attr() returns NULL and br_spec is dereferenced subsequently in nla_for_each_nested(). To address this issue, add a check to ensure that br_spec is not NULL before proceeding with the nested attribute iteration.
From the CVE record · Linux
The Linux kernel’s ice_bridge_setlink() can dereference a NULL pointer when nlmsg_find_attr() returns NULL. This could allow an attacker to trigger a NULL pointer dereference; the input does not specify the required access or interaction.
Engineers running Linux kernels that include the affected ice driver should check their kernel version against the vendor advisory; affected versions are not specified.