Public mode

No access to your tenant or devices. Every item links to its source. What this means

Sources need attention Customize Public modeDiscuss ChangeIntel on Discord

net: kcm: Fix race condition in kcm_unattach()

CVSS 3.1 7.8 HIGHCheck source for fixed versionsKEV status unknown

cve-program · CVE-2025-38717

Published

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

Read the publisher's advisory

Affected versions, risk and source history

cve-program · CVE-2025-38717

Published

Linux

Vendor product

Publisher's version information

Shown as published. These rules are not interpreted as NuGet package version ranges.

{
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "include/net/kcm.h",
                        "net/kcm/kcmsock.c"
                    ],
                    "versions": [
                        {
                            "version": "ab7ac4eb9832e32a09f4e8042705484d2fb0aad3",
                            "lessThan": "c0bffbc92a1ca3960fb9cdb8e9f75a68468eb308",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "ab7ac4eb9832e32a09f4e8042705484d2fb0aad3",
                            "lessThan": "7275dc3bb8f91b23125ff3f47b6529935cf46152",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "ab7ac4eb9832e32a09f4e8042705484d2fb0aad3",
                            "lessThan": "798733ee5d5788b12e8a52db1519abc17e826f69",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "ab7ac4eb9832e32a09f4e8042705484d2fb0aad3",
                            "lessThan": "52565a935213cd6a8662ddb8efe5b4219343a25d",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                }

Linux

Vendor product

Publisher's version information

Shown as published. These rules are not interpreted as NuGet package version ranges.

{
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "include/net/kcm.h",
                        "net/kcm/kcmsock.c"
                    ],
                    "versions": [
                        {
                            "version": "4.6",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "4.6",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.43",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.15.11",
                            "lessThanOrEqual": "6.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.16.2",
                            "lessThanOrEqual": "6.16.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.17",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }

Original source record · Cite this exact observation · Complete original publisher JSON

ChangeIntel

An IT change radar: releases, security, known issues, retirements, documentation changes, and service status from public sources. Every item links to supporting evidence; dates and statuses can change after they are read.

Sources read 22 Nov 23:56 UTC · 274 of 275 readable · 270 fully read · documentation 469/469 current