{"id":"CVE-2026-52979","published":"2026-06-24T16:28:55Z","modified":"2026-06-24T16:28:55Z","title":"net: psp: check for device unregister when creating assoc","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: psp: check for device unregister when creating assoc\n\npsp_assoc_device_get_locked() obtains a psp_dev reference via\npsp_dev_get_for_sock() (which uses psp_dev_tryget() under RCU);\nit then acquires psd->lock and drops the reference. Before\nthe lock is taken, psp_dev_unregister() can run to completion:\ntake psd->lock, clear out state, unlock, drop the registration\nreference.\n\nThe expectation is that the lock prevents device unregistration,\nbut much like with netdevs special care has to be taken when\n\"upgrading\" a reference to a locked device. Add the missing\ncheck if device is still alive. psp_dev_is_registered() exists\nalready but had no callers, which makes me wonder if I either\nforgot to add this or lost the check during refactoring...","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00124,"percentile":0.02088,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/d90df5ce6deb2424de3ad89bcc693ac1b67accc9","tags":[]},{"url":"https://git.kernel.org/stable/c/e201c57073e624dd2ba5beaf9eda31e19b77b332","tags":[]},{"url":"https://git.kernel.org/stable/c/b89769f936a8fa9e66de72ddc1b71a9745a488e6","tags":[]}],"priority":{"score":0.4,"factors":[{"name":"EPSS percentile","points":0.42}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 6b46ca260e2290e3453d1355ab5b6d283d73d780, < d90df5ce6deb2424de3ad89bcc693ac1b67accc9",">= 6b46ca260e2290e3453d1355ab5b6d283d73d780, < e201c57073e624dd2ba5beaf9eda31e19b77b332",">= 6b46ca260e2290e3453d1355ab5b6d283d73d780, < b89769f936a8fa9e66de72ddc1b71a9745a488e6"]},{"vendor":"Linux","product":"Linux","versions":["6.18"]}],"euvd":{"id":"EUVD-2026-38847","exploited":false,"provenance":"source"}}