CVE Catalog

CVE-2025-38617

HighCVSS 7.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.33%

25th percentile - higher than 25% of all known CVEs

Summary

In the Linux kernel, in the net/packet subsystem, there is a race condition between packet_set_ring() and packet_notifier(). When packet_set_ring() releases po->bind_lock, another thread can run packet_notifier() and process a NETDEV_UP event. The patch temporarily sets po->num to zero to keep the socket unhooked until the lock is retaken.

Risk Assessment

Risk of unexpected socket behavior, potentially leading to data integrity issues or denial of service due to the race condition.

Recommendation

Apply the Linux kernel patch that fixes the race condition in packet_set_ring() and packet_notifier(), or update the kernel to a version containing this fix.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

In the Linux kernel, the following vulnerability has been resolved: net/packet: fix a race in packet_set_ring() and packet_notifier() When packet_set_ring() releases po->bind_lock, another thread can run packet_notifier() and process an NETDEV_UP event. This race and the fix are both similar to that of commit 15fe076edea7 ("net/packet: fix a race in packet_bind() and packet_notifier()"). There too the packet_notifier NETDEV_UP event managed to run while a po->bind_lock critical section had to be temporarily released. And the fix was similarly to temporarily set po->num to zero to keep the socket unhooked until the lock is retaken. The po->bind_lock in packet_set_ring and packet_notifier precede the introduction of git history.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS