VDB

CVE-2025-38717

CVE-2025-38717 PUBLISHED CVSS 7.8 HIGH

net: kcm: Fix race condition in kcm_unattach()

Reported by linux · Published September 4, 2025

In the Linux kernel, the following vulnerability has been resolved: net: kcm: Fix race condition in kcm_unattach() syzbot found a race condition when kcm_unattach(psock) and kcm_release(kcm) are executed at the same time. kcm_unattach() is missing a check of the flag kcm->tx_stopped before calling queue_work(). If the kcm has a reserved psock, kcm_unattach() might get executed between cancel_work_sync() and unreserve_psock() in kcm_release(), requeuing kcm->tx_work right before kcm gets freed in kcm_done(). Remove kcm->tx_stopped and replace it by the less error-prone disable_work_sync().

EPSS 0.12% · 2.1th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel6.12-headersAmazon Linux1:6.12.46-66.121.amzn2023
python3-perf6.12Amazon Linux1:6.12.46-66.121.amzn2023

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS Score
0.12%
2.1th percentile

Affected products

VendorProductVersions
LinuxLinuxab7ac4eb9832e32a09f4e8042705484d2fb0aad3, ab7ac4eb9832e32a09f4e8042705484d2fb0aad3, ab7ac4eb9832e32a09f4e8042705484d2fb0aad3
LinuxLinux4.6, 0, 6.12.43
amazon:2023kernel6.12-headers0
amazon:2023python3-perf6.120
linuxlinux_kernel4.6, 4.6, 4.6
amazon:2023kernel-livepatch-6.12.46-66.1210
amazon:2023bpftool6.120
amazon:2023kernel6.120
amazon:2023kernel6.12-tools-devel0
LinuxLinux*, *, 4.6
amazon:2023perf6.120
amazon:2023kernel6.12-libbpf-devel0
amazon:2023kernel6.12-libbpf-static0
amazon:2023kernel6.12-devel0
amazon:2023kernel6.12-modules-extra0
amazon:2023kernel6.12-tools0
amazon:2023kernel6.12-libbpf0
amazon:2023kernel6.12-modules-extra-common0

Timeline

  • Sep 4, 2025 Coalition ESS Score (11 in total, the first dated here)
  • Sep 4, 2025 CVE Published
  • Sep 5, 2025 EPSS Score (30 in total, the first dated here)
  • Oct 12, 2025 PoC Published (9 in total, the first dated here)
  • Dec 15, 2025 Security Advisory (123 in total, the first dated here)
  • Nov 2, 2026 Distribution Patch (110 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-38717
vulnetix vdb fixes CVE-2025-38717

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-38717/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›