CVE-2022-50764
JSON

Not scored

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

Severity
Not scored
Exploit likelihood
0.28% (higher than 13% of CVEs)
Published
Last changed
Assigned by
Linux

Description

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

Product or packageVersionsReported by
Linux Linuxfrom 8df40d1033d64597dcf1efd4f7547e817f7a953b before 222cc04356984f3f98acfa756a69d4bed7c501ac, from 8df40d1033d64597dcf1efd4f7547e817f7a953b before 4eed93bb3e57b8cc78d17166a14e40a73276015a, from 8df40d1033d64597dcf1efd4f7547e817f7a953b before 207501a986831174df09a36a8cb62a28f92f0dc8, from 8df40d1033d64597dcf1efd4f7547e817f7a953b before cb34b7cf17ecf33499c9298943f85af247abc1e9, 2.6.37
Not affected: before 2.6.37, from 5.15.86 up to 5.15.*, from 6.0.16 up to 6.0.*, from 6.1.2 up to 6.1.*, from 6.2 up to *
CVE List

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: ipv6/sit: usar DEV_STATS_INC() para evitar condiciones de carrera de datos syzbot/KCSAN informó que múltiples CPUs están actualizando dev -> stats.tx_error concurrentemente. Esto se debe a que los túneles sit son NETIF_F_LLTX, lo que significa que su ndo_start_xmit() no está protegida por un spinlock. Aunque el informe original de KCSAN era sobre la ruta de transmisión (tx), la ruta de recepción (rx) tiene el mismo problema.

References

Sources

SourceRecordLicence
CVE ListCVE-2022-50764 changed 2026-05-11CVE Terms of Use
NVDCVE-2022-50764 changed 2026-11-10Public domain