Linux
net: dlink: handle copy_thresh allocation failure
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
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 84fd710a704f3d53d4120e452e86cea558cf73a8
- >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 5aa9b885602811a026a3f45c92ea2b4b04c54f09
- >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 9d49e4b14609e1a20d931e718962c4b6b5485174
- >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < ea87151df398d407a632c7bf63013290f01c5009
- >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 7ed5010fef0930f4322d620052edc854ef3ec41f
- >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < fd7b6b2c920d7fd370a612be416a904d6e1ebe55
- >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 8169a6011c5fecc6cb1c3654c541c567d3318de8
Fixed in 84fd710a704f3d53d4120e452e86cea558cf73a8, 5aa9b885602811a026a3f45c92ea2b4b04c54f09, 9d49e4b14609e1a20d931e718962c4b6b5485174, ea87151df398d407a632c7bf63013290f01c5009, 7ed5010fef0930f4322d620052edc854ef3ec41f, fd7b6b2c920d7fd370a612be416a904d6e1ebe55, 8169a6011c5fecc6cb1c3654c541c567d3318de8
- 2.6.12
Fixed in 0, 5.10.246, 5.15.195, 6.1.156, 6.6.112, 6.12.53, 6.17.3, 6.18
Mitigation
Upgrade Linux to 84fd710a704f3d53d4120e452e86cea558cf73a8 or 5aa9b885602811a026a3f45c92ea2b4b04c54f09 or 9d49e4b14609e1a20d931e718962c4b6b5485174 or ea87151df398d407a632c7bf63013290f01c5009 or 7ed5010fef0930f4322d620052edc854ef3ec41f or fd7b6b2c920d7fd370a612be416a904d6e1ebe55 or 8169a6011c5fecc6cb1c3654c541c567d3318de8 or later.
Upgrade Linux to 0 or 5.10.246 or 5.15.195 or 6.1.156 or 6.6.112 or 6.12.53 or 6.17.3 or 6.18 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.