Bug 2425127 (CVE-2022-50764)

Summary: CVE-2022-50764 kernel: ipv6/sit: use DEV_STATS_INC() to avoid data-races
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedKeywords: Security
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was discovered in the Linux kernel’s IPv6 SIT tunnel implementation, where multiple CPUs may concurrently update the dev->stats.tx_error field without appropriate synchronization. This is caused by the SIT tunnel’s transmit function (ndo_start_xmit()) not being protected by a spinlock due to the NETIF_F_LLTX flag, allowing data races on statistics updates, leading to inconsistent statistics and potentially unpredictable kernel behavior
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description OSIDB Bzimport 2025-12-24 14:04:55 UTC
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.