High · published June 20, 2024
In the Linux kernel, the following vulnerability has been resolved:
rtnetlink: make sure to refresh master_dev/m_ops in __rtnl_newlink()
While looking at one unrelated syzbot bug, I found the replay logic
in __rtnl_newlink() to potentially trigger use-after-free.
It is better to clear master_dev and m_ops inside the loop,
in case we have to replay it.
| Product | Versions | Fixed in |
|---|---|---|
| linux/linux_kernel | ≥ 3.14, < 4.9.300 | 4.9.300 |
| linux/linux_kernel | ≥ 4.10, < 4.14.265 | 4.14.265 |
| linux/linux_kernel | ≥ 4.15, < 4.19.228 | 4.19.228 |
| linux/linux_kernel | ≥ 4.20, < 5.4.177 | 5.4.177 |
| linux/linux_kernel | ≥ 5.5, < 5.10.97 | 5.10.97 |
| linux/linux_kernel | ≥ 5.11, < 5.15.20 | 5.15.20 |
| linux/linux_kernel | ≥ 5.16, < 5.16.6 | 5.16.6 |