CVE-2026-52979

net: psp: check for device unregister when creating assoc

No CVSS score yet EPSS 0.093%

Published 24 Jun 2026 Updated 24 Jun 2026 CNA: Linux

Check your servers for CVE-2026-52979

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-52979 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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

Exploitation

EPSS 0.093%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 0.58% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 6b46ca260e2290e3453d1355ab5b6d283d73d780, before d90df5ce6deb2424de3ad89bcc693ac1b67accc9
affected from 6b46ca260e2290e3453d1355ab5b6d283d73d780, before e201c57073e624dd2ba5beaf9eda31e19b77b332
affected from 6b46ca260e2290e3453d1355ab5b6d283d73d780, before b89769f936a8fa9e66de72ddc1b71a9745a488e6
Other versions: unaffected
Linux
affected 6.18
unaffected before 6.18
unaffected from 6.18.33 up to and including 6.18.*
unaffected from 7.0.10 up to and including 7.0.*
unaffected 7.1 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-52979 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-52979

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-52979
trivy image --scanners vuln IMAGE | grep CVE-2026-52979

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-52979 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.