5.5
MEDIUM CVSS 3.1
CVE-2026-52979
net: psp: check for device unregister when creating assoc
Description

In the Linux kernel, the following vulnerability has been resolved: net: psp: check for device unregister when creating assoc psp_assoc_device_get_locked() obtains a psp_dev reference via psp_dev_get_for_sock() (which uses psp_dev_tryget() under RCU); it then acquires psd->lock and drops the reference. Before the lock is taken, psp_dev_unregister() can run to completion: take psd->lock, clear out state, unlock, drop the registration reference. The expectation is that the lock prevents device unregistration, but much like with netdevs special care has to be taken when "upgrading" a reference to a locked device. Add the missing check if device is still alive. psp_dev_is_registered() exists already but had no callers, which makes me wonder if I either forgot to add this or lost the check during refactoring...

INFO

Published Date :

June 24, 2026, 5:17 p.m.

Last Modified :

July 14, 2026, 4:51 p.m.

Remotely Exploit :

No

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products

The following products are affected by CVE-2026-52979 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 MEDIUM [email protected]
Solution
Address race condition by checking device registration status before accessing locked device data.
  • Check if the device is registered before accessing its data.
  • Ensure the lock prevents device unregistration during access.
  • Update the Linux kernel to the latest version.
  • Review related refactoring for similar issues.
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2026-52979.

URL Resource
https://git.kernel.org/stable/c/b89769f936a8fa9e66de72ddc1b71a9745a488e6 Patch
https://git.kernel.org/stable/c/d90df5ce6deb2424de3ad89bcc693ac1b67accc9 Patch
https://git.kernel.org/stable/c/e201c57073e624dd2ba5beaf9eda31e19b77b332 Patch
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-52979 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-52979 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-52979 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-52979 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Jul. 14, 2026

    Action Type Old Value New Value
    Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
    Added CWE CWE-667
    Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.19 up to (excluding) 7.0.10 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.18 up to (excluding) 6.18.33
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/b89769f936a8fa9e66de72ddc1b71a9745a488e6 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/d90df5ce6deb2424de3ad89bcc693ac1b67accc9 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/e201c57073e624dd2ba5beaf9eda31e19b77b332 Types: Patch
  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Jun. 24, 2026

    Action Type Old Value New Value
    Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '6b46ca260e2290e3453d1355ab5b6d283d73d780', 'lessThan': 'd90df5ce6deb2424de3ad89bcc693ac1b67accc9', 'versionType': 'git'}, {'status': 'affected', 'version': '6b46ca260e2290e3453d1355ab5b6d283d73d780', 'lessThan': 'e201c57073e624dd2ba5beaf9eda31e19b77b332', 'versionType': 'git'}, {'status': 'affected', 'version': '6b46ca260e2290e3453d1355ab5b6d283d73d780', 'lessThan': 'b89769f936a8fa9e66de72ddc1b71a9745a488e6', 'versionType': 'git'}], 'programFiles': ['net/psp/psp_nl.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '6.18'}, {'status': 'unaffected', 'version': '0', 'lessThan': '6.18', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.18.33', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.0.10', 'versionType': 'semver', 'lessThanOrEqual': '7.0.*'}, {'status': 'unaffected', 'version': '7.1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['net/psp/psp_nl.c'], 'defaultStatus': 'affected'}]
    Added Description In the Linux kernel, the following vulnerability has been resolved: net: psp: check for device unregister when creating assoc psp_assoc_device_get_locked() obtains a psp_dev reference via psp_dev_get_for_sock() (which uses psp_dev_tryget() under RCU); it then acquires psd->lock and drops the reference. Before the lock is taken, psp_dev_unregister() can run to completion: take psd->lock, clear out state, unlock, drop the registration reference. The expectation is that the lock prevents device unregistration, but much like with netdevs special care has to be taken when "upgrading" a reference to a locked device. Add the missing check if device is still alive. psp_dev_is_registered() exists already but had no callers, which makes me wonder if I either forgot to add this or lost the check during refactoring...
    Added Reference https://git.kernel.org/stable/c/b89769f936a8fa9e66de72ddc1b71a9745a488e6
    Added Reference https://git.kernel.org/stable/c/d90df5ce6deb2424de3ad89bcc693ac1b67accc9
    Added Reference https://git.kernel.org/stable/c/e201c57073e624dd2ba5beaf9eda31e19b77b332
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.