CVE-2025-38617

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.
CVSS

No CVSS.

Configurations

No configuration.

History

28 Aug 2025, 15:15

Type Values Removed Values Added
Summary
  • (es) En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: net/packet: corrección de una carrera en packet_set_ring() y packet_notifier(). Cuando packet_set_ring() libera po->bind_lock, otro hilo puede ejecutar packet_notifier() y procesar un evento NETDEV_UP. Esta carrera y la corrección son similares a las del commit 15fe076edea7 ("net/packet: corrección de una carrera en packet_bind() y packet_notifier()"). En este caso, el evento NETDEV_UP de packet_notifier también se ejecutó mientras una sección crítica de po->bind_lock debía liberarse temporalmente. La corrección también consistía en establecer temporalmente po->num en cero para mantener el socket desconectado hasta que se recupere el bloqueo. El po->bind_lock en packet_set_ring y packet_notifier precede a la introducción del historial de Git.
References
  • () https://git.kernel.org/stable/c/18f13f2a83eb81be349a9757ba2141ff1da9ad73 -
  • () https://git.kernel.org/stable/c/7da733f117533e9b2ebbd530a22ae4028713955c -
  • () https://git.kernel.org/stable/c/ba2257034755ae773722f15f4c3ad1dcdad15ca9 -

22 Aug 2025, 14:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-08-22 14:15

Updated : 2025-08-28 15:15


NVD link : CVE-2025-38617

Mitre link : CVE-2025-38617

CVE.ORG link : CVE-2025-38617


JSON object : View

Products Affected

No product.

CWE

No CWE.