{"id":"CVE-2025-39926","aliases":["CVE-2025-39926"],"related":[],"kind":"vulnerability","state":"published","title":"genetlink: fix genl_bind() invoking bind() after -EPERM","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ngenetlink: fix genl_bind() invoking bind() after -EPERM\n\nPer family bind/unbind callbacks were introduced to allow families\nto track multicast group consumer presence, e.g. to start or stop\nproducing events depending on listeners.\n\nHowever, in genl_bind() the bind() callback was invoked even if\ncapability checks failed and ret was set to -EPERM. This means that\ncallbacks could run on behalf of unauthorized callers while the\nsyscall still returned failure to user space.\n\nFix this by only invoking bind() after \"if (ret) break;\" check\ni.e. after permission checks have succeeded.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ngenetlink: fix genl_bind() invoking bind() after -EPERM\n\nPer family bind/unbind callbacks were introduced to allow families\nto track multicast group consumer presence, e.g. to start or stop\nproducing events depending on listeners.\n\nHowever, in genl_bind() the bind() callback was invoked even if\ncapability checks failed and ret was set to -EPERM. This means that\ncallbacks could run on behalf of unauthorized callers while the\nsyscall still returned failure to user space.\n\nFix this by only invoking bind() after \"if (ret) break;\" check\ni.e. after permission checks have succeeded.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\ngenetlink: corrige la invocación de bind() por genl_bind() después de -EPERM\n\nLas 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.\n\nSin 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.\n\nEsto 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.","source":"nvd"}],"published":"2025-10-01T08:07:13.883Z","modified":"2026-10-19T21:10:00.160Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"3de21a8990d3c2cc507e9cc4ed00f36358d5b93e","fixed":"98c9d884047a3051c203708914a874dece3cbe54","status":"affected"},{"type":"git","introduced":"3de21a8990d3c2cc507e9cc4ed00f36358d5b93e","fixed":"8858c1e9405906c09589d7c336f04058ea198207","status":"affected"},{"type":"git","introduced":"3de21a8990d3c2cc507e9cc4ed00f36358d5b93e","fixed":"1dbfb0363224f6da56f6655d596dc5097308d6f5","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.9","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.9","status":"unaffected"},{"type":"semver","introduced":"6.12.48","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.16.8","lastAffected":"6.16.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.17","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.9","fixed":"6.12.48"},{"status":"affected","introduced":"6.13","fixed":"6.16.8"},{"status":"affected","version":"6.17"},{"status":"affected","version":"6.17"},{"status":"affected","version":"6.17"},{"status":"affected","version":"6.17"},{"status":"affected","version":"6.17"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/98c9d884047a3051c203708914a874dece3cbe54","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8858c1e9405906c09589d7c336f04058ea198207","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1dbfb0363224f6da56f6655d596dc5097308d6f5","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-01-14T17:39:11.553Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-39926","url":"https://www.cve.org/CVERecord?id=CVE-2025-39926","licence":"CVE Terms of Use","modified":"2026-05-11T21:39:05.857Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-39926","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-39926","licence":"Public domain","modified":"2026-10-19T21:10:00.160Z"}],"updatedAt":"2026-11-25T22:59:05.396Z","epss":{"score":0.00154,"percentile":0.04721,"date":"2026-12-01T12:00:22.000Z"}}