7.8

CVE-2025-38717: net: kcm: Fix race condition in kcm_unattach()

Modified
AliasesUBUNTU-CVE-2025-38717DEBIAN-CVE-2025-38717
Published 04-09-2025Last modified 05-08-2026

Vulnerability summary

CVE-2025-38717 is a high (CVSS 7.8) vulnerability in linux. EPSS estimates a 0.12% chance of exploitation in the next 30 days, higher than 1.6% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.8/10
010
High · v3.1 (CVE.org)
EPSS score
0.12%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 6 · Related 6

Timeline

  1. 04-09-2025
    PublishedVulnerability first disclosed.
  2. 05-08-2026
    Last modifiedVulnerability information updated.

Description

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().

CVSS metrics

5 scores · 4 sources · 2 versions

EPSS trend

Probability

0.12%

Chance of exploitation in the next 30 days

Percentile

2%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.12% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu150 products
  • linuxAll versions (No fix recorded)
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-awsAll versions (No fix recorded)
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Linux2 products
  • linux≥ ab7ac4eb9832e32a09f4e8042705484d2fb0aad3, < c0bffbc92a1ca3960fb9cdb8e9f75a68468eb308 | ≥ ab7ac4eb9832e32a09f4e8042705484d2fb0aad3, < 7275dc3bb8f91b23125ff3f47b6529935cf46152 | ≥ ab7ac4eb9832e32a09f4e8042705484d2fb0aad3, < 798733ee5d5788b12e8a52db1519abc17e826f69 | ≥ ab7ac4eb9832e32a09f4e8042705484d2fb0aad3, < 52565a935213cd6a8662ddb8efe5b4219343a25d | 4.6
  • linux_kernel≥ 4.6, < 6.12.43 | ≥ 6.13, < 6.15.11 | ≥ 6.16, < 6.16.2 | 6.17:rc1
Debian1 product
  • linuxAll versions (No fix recorded) | < 6.12.43-1 | < 6.16.3-1

3 vendors · 153 products

References

9 links