Description
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
Product status
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (git) before 84fd710a704f3d53d4120e452e86cea558cf73a8
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (git) before 5aa9b885602811a026a3f45c92ea2b4b04c54f09
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (git) before 9d49e4b14609e1a20d931e718962c4b6b5485174
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (git) before ea87151df398d407a632c7bf63013290f01c5009
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (git) before 7ed5010fef0930f4322d620052edc854ef3ec41f
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (git) before fd7b6b2c920d7fd370a612be416a904d6e1ebe55
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (git) before 8169a6011c5fecc6cb1c3654c541c567d3318de8
2.6.12
Any version before 2.6.12
5.10.246 (semver)
5.15.195 (semver)
6.1.156 (semver)
6.6.112 (semver)
6.12.53 (semver)
6.17.3 (semver)
6.18-rc1 (original_commit_for_fix)
References
git.kernel.org/...c/84fd710a704f3d53d4120e452e86cea558cf73a8
git.kernel.org/...c/5aa9b885602811a026a3f45c92ea2b4b04c54f09
git.kernel.org/...c/9d49e4b14609e1a20d931e718962c4b6b5485174
git.kernel.org/...c/ea87151df398d407a632c7bf63013290f01c5009
git.kernel.org/...c/7ed5010fef0930f4322d620052edc854ef3ec41f
git.kernel.org/...c/fd7b6b2c920d7fd370a612be416a904d6e1ebe55
git.kernel.org/...c/8169a6011c5fecc6cb1c3654c541c567d3318de8