# CVE-2025-39926: genetlink: fix genl_bind() invoking bind() after -EPERM

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Published: 2025-10-01T08:07:13.883Z
- Modified: 2026-10-19T21:10:00.160Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 3de21a8990d3c2cc507e9cc4ed00f36358d5b93e before 98c9d884047a3051c203708914a874dece3cbe54; from 3de21a8990d3c2cc507e9cc4ed00f36358d5b93e before 8858c1e9405906c09589d7c336f04058ea198207; from 3de21a8990d3c2cc507e9cc4ed00f36358d5b93e before 1dbfb0363224f6da56f6655d596dc5097308d6f5; 6.9 (not affected: before 6.9; from 6.12.48 up to 6.12.*; from 6.16.8 up to 6.16.*; from 6.17 up to *)
- linux linux_kernel: from 6.9 before 6.12.48; from 6.13 before 6.16.8; 6.17

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/98c9d884047a3051c203708914a874dece3cbe54> (patch)
- <https://git.kernel.org/stable/c/8858c1e9405906c09589d7c336f04058ea198207> (patch)
- <https://git.kernel.org/stable/c/1dbfb0363224f6da56f6655d596dc5097308d6f5> (patch)

## Sources

- CVE List: [CVE-2025-39926](https://www.cve.org/CVERecord?id=CVE-2025-39926), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2025-39926](https://nvd.nist.gov/vuln/detail/CVE-2025-39926), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2025-39926 · Whole record: https://cve.day/CVE-2025-39926.json · Rebuilt by cve.day 2026-11-25T22:59:05.396Z
