CVE-2025-39926

In the Linux kernel, the following vulnerability has been resolved: genetlink: fix genl_bind() invoking bind() after -EPERM Per family bind/unbind callbacks were introduced to allow families to track multicast group consumer presence, e.g. to start or stop producing events depending on listeners. However, in genl_bind() the bind() callback was invoked even if capability checks failed and ret was set to -EPERM. This means that callbacks could run on behalf of unauthorized callers while the syscall still returned failure to user space. Fix this by only invoking bind() after "if (ret) break;" check i.e. after permission checks have succeeded.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.17:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.17:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.17:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.17:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.17:rc5:*:*:*:*:*:*

History

19 Oct 2026, 21:10

Type Values Removed Values Added
Summary
  • (es) En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: genetlink: corrige la invocación de bind() por genl_bind() después de -EPERM Las devoluciones de llamada de bind/unbind por familia fueron introducidas para permitir a las familias rastrear la presencia de consumidores de grupos de multidifusión, por ejemplo, para iniciar o detener la producción de eventos dependiendo de los oyentes. Sin embargo, en genl_bind() la devolución de llamada bind() fue invocada incluso si las comprobaciones de capacidad fallaron y ret se estableció en -EPERM. Esto significa que las devoluciones de llamada podrían ejecutarse en nombre de llamadores no autorizados mientras la llamada al sistema aún devolvía un fallo al espacio de usuario. Esto se corrige invocando bind() solo después de la comprobación 'if (ret) break;', es decir, después de que las comprobaciones de permisos hayan tenido éxito.

Information

Published : 2025-10-01 08:15

Updated : 2026-10-19 21:10


NVD link : CVE-2025-39926

Mitre link : CVE-2025-39926

CVE.ORG link : CVE-2025-39926


JSON object : View

Products Affected

linux

  • linux_kernel