CVE-2025-39926

Source
https://cve.org/CVERecord?id=CVE-2025-39926
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-39926.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-39926
Downstream
Related
Published
2025-10-01T08:07:13.883Z
Modified
2026-03-20T12:43:06.671055Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
genetlink: fix genl_bind() invoking bind() after -EPERM
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/39xxx/CVE-2025-39926.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
3de21a8990d3c2cc507e9cc4ed00f36358d5b93e
Fixed
98c9d884047a3051c203708914a874dece3cbe54
Fixed
8858c1e9405906c09589d7c336f04058ea198207
Fixed
1dbfb0363224f6da56f6655d596dc5097308d6f5

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-39926.json"