netdevsim: zero initialize struct iphdr in dummy sk_buff
3Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackepss 0.1%
exploitation probability
0.1%top 98% of all CVEs
observed exploitation
nono source reports it
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 · LinuxReferences
https://git.kernel.org/stable/c/175556c049eaec14efde8c6475e763b7579b9de7https://git.kernel.org/stable/c/1b7b6ae0e93b8d512e208b1378d74af052e4f4e7https://git.kernel.org/stable/c/35eaa6d8d6c2ee65e96f507add856e0eacf24591https://git.kernel.org/stable/c/6e2cfd0904976e701d7a76b86b694e72af230ab0https://git.kernel.org/stable/c/750d0091bebf44975421268d37484ef87060d263https://git.kernel.org/stable/c/818f7673ed7f4a29d4b9cee8184c47d6e57162b4https://git.kernel.org/stable/c/978ca6ff789f1f19c03288ac20cc1f4774e88490https://git.kernel.org/stable/c/bc6002865e8c4fcf9e94975f7cf023448d8764e2