Description
In the Linux kernel, the following vulnerability has been resolved: netdevsim: zero initialize struct iphdr in dummy sk_buff Syzbot reports a KMSAN uninit-value originating from nsim_dev_trap_skb_build, with the allocation also being performed in the same function. Fix this by calling skb_put_zero instead of skb_put to guarantee zero initialization of the whole IP header.
Affected products
- Linux / Linuxda58f90f11f597520f226caff1d3cfc115abedc9 – 175556c049eaec14efde8c6475e763b7579b9de7
- Linux / Linuxda58f90f11f597520f226caff1d3cfc115abedc9 – 6e2cfd0904976e701d7a76b86b694e72af230ab0
- Linux / Linuxda58f90f11f597520f226caff1d3cfc115abedc9 – 1b7b6ae0e93b8d512e208b1378d74af052e4f4e7
- Linux / Linuxda58f90f11f597520f226caff1d3cfc115abedc9 – 818f7673ed7f4a29d4b9cee8184c47d6e57162b4
- Linux / Linuxda58f90f11f597520f226caff1d3cfc115abedc9 – 978ca6ff789f1f19c03288ac20cc1f4774e88490
- Linux / Linuxda58f90f11f597520f226caff1d3cfc115abedc9 – 750d0091bebf44975421268d37484ef87060d263
- Linux / Linuxda58f90f11f597520f226caff1d3cfc115abedc9 – bc6002865e8c4fcf9e94975f7cf023448d8764e2
- Linux / Linuxda58f90f11f597520f226caff1d3cfc115abedc9 – 35eaa6d8d6c2ee65e96f507add856e0eacf24591
- Linux / Linux5.4 – 5.4
- Linux / Linux0 – 5.4
- Linux / Linux5.10.258 – 5.10.*
- Linux / Linux5.15.209 – 5.15.*
- Linux / Linux6.1.175 – 6.1.*
- Linux / Linux6.6.141 – 6.6.*
- Linux / Linux6.12.91 – 6.12.*
- Linux / Linux6.18.33 – 6.18.*
- Linux / Linux7.0.10 – 7.0.*
- Linux / Linux7.1 – *
References
- MISChttps://git.kernel.org/stable/c/175556c049eaec14efde8c6475e763b7579b9de7
- MISChttps://git.kernel.org/stable/c/6e2cfd0904976e701d7a76b86b694e72af230ab0
- MISChttps://git.kernel.org/stable/c/1b7b6ae0e93b8d512e208b1378d74af052e4f4e7
- MISChttps://git.kernel.org/stable/c/818f7673ed7f4a29d4b9cee8184c47d6e57162b4
- MISChttps://git.kernel.org/stable/c/978ca6ff789f1f19c03288ac20cc1f4774e88490
- MISChttps://git.kernel.org/stable/c/750d0091bebf44975421268d37484ef87060d263
- MISChttps://git.kernel.org/stable/c/bc6002865e8c4fcf9e94975f7cf023448d8764e2
- MISChttps://git.kernel.org/stable/c/35eaa6d8d6c2ee65e96f507add856e0eacf24591