High · published February 26, 2025
In the Linux kernel, the following vulnerability has been resolved:
qede: confirm skb is allocated before using
qede_build_skb() assumes build_skb() always works and goes straight
to skb_reserve(). However, build_skb() can fail under memory pressure.
This results in a kernel panic because the skb to reserve is NULL.
Add a check in case build_skb() failed to allocate and return NULL.
The NULL return is handled correctly in callers to qede_build_skb().
| Product | Versions | Fixed in |
|---|---|---|
| linux/linux_kernel | ≥ 4.18, < 4.19.238 | 4.19.238 |
| linux/linux_kernel | ≥ 4.20, < 5.4.189 | 5.4.189 |
| linux/linux_kernel | ≥ 5.5, < 5.10.111 | 5.10.111 |
| linux/linux_kernel | ≥ 5.11, < 5.15.34 | 5.15.34 |
| linux/linux_kernel | ≥ 5.16, < 5.16.20 | 5.16.20 |
| linux/linux_kernel | ≥ 5.17, < 5.17.3 | 5.17.3 |
| linux/linux_kernel | all versions | — |