sfc: fix NULL dereferences in ef100_process_design_param()
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:
sfc: fix NULL dereferences in ef100_process_design_param()
Since cited commit, ef100_probe_main() and hence also ef100_check_design_params() run before efx->net_dev is created; consequently, we cannot netif_set_tso_max_size() or _segs() at this point. Move those netif calls to ef100_probe_netdev(), and also replace netif_err within the design params code with pci_err.
From the CVE record · Linux
The Linux kernel sfc driver can dereference a NULL network device while processing EF100 design parameters because the probe runs before the device is created. The input does not specify how an attacker could trigger this or whether access or user interaction is required.
Engineers running the Linux kernel with the sfc driver should check their kernel versions; affected versions are not specified.