CVE-2022-50764

Summary

In the Linux kernel, the following vulnerability has been resolved:

ipv6/sit: use DEV_STATS_INC() to avoid data-races

syzbot/KCSAN reported that multiple cpus are updating dev->stats.tx_error concurrently.

This is because sit tunnels are NETIF_F_LLTX, meaning their ndo_start_xmit() is not protected by a spinlock.

While original KCSAN report was about tx path, rx path has the same issue.

Affected Software

VendorProductVersion RangeStatus
LinuxLinux8df40d1033d64597dcf1efd4f7547e817f7a953b < 222cc04356984f3f98acfa756a69d4bed7c501acaffected
LinuxLinux8df40d1033d64597dcf1efd4f7547e817f7a953b < 4eed93bb3e57b8cc78d17166a14e40a73276015aaffected
LinuxLinux8df40d1033d64597dcf1efd4f7547e817f7a953b < 207501a986831174df09a36a8cb62a28f92f0dc8affected
LinuxLinux8df40d1033d64597dcf1efd4f7547e817f7a953b < cb34b7cf17ecf33499c9298943f85af247abc1e9affected
LinuxLinux2.6.37affected
LinuxLinux0 < 2.6.37unaffected
LinuxLinux5.15.86 <= 5.15.*unaffected
LinuxLinux6.0.16 <= 6.0.*unaffected
LinuxLinux6.1.2 <= 6.1.*unaffected
LinuxLinux6.2 <= *unaffected

Weaknesses

References