idpf: fix aux device unplugging when rdma is not supported by vport
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
idpf: fix aux device unplugging when rdma is not supported by vport
If vport flags do not contain VIRTCHNL2_VPORT_ENABLE_RDMA, driver does not allocate vdev_info for this vport. This leads to kernel NULL pointer dereference in idpf_idc_vport_dev_down(), which references vdev_info for every vport regardless.
Check, if vdev_info was ever allocated before unplugging aux device.
From the CVE record · Linux
The Linux kernel's idpf driver can dereference a NULL pointer while unplugging an auxiliary device if a vport does not support RDMA. The input does not establish whether an attacker can trigger this condition or specify network, authentication, or user-interaction requirements.
Engineers running Linux kernels with the idpf driver should check their versions; affected versions were not provided.