net: dlink: handle copy_thresh allocation failure
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · < fd7b6b2c920d7fd370a612be416a904d6e1ebe55| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
net: dlink: handle copy_thresh allocation failure
The driver did not handle failure of `netdev_alloc_skb_ip_align()`. If the allocation failed, dereferencing `skb->protocol` could lead to a NULL pointer dereference.
This patch tries to allocate `skb`. If the allocation fails, it falls back to the normal path.
Tested-on: D-Link DGE-550T Rev-A3
From the CVE record · Linux
The Linux kernel dlink driver does not handle a failed `netdev_alloc_skb_ip_align()` allocation, which can lead to a NULL pointer dereference when it accesses `skb->protocol`. The input does not establish how an attacker could trigger the failure or whether network access, authentication, or user interaction is required.
Engineers running the Linux kernel with the dlink driver should check their systems; affected versions were not provided.