CVE-2026-53157: net: phonet: free phonet_device after RCU grace period
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
net: phonet: free phonet_device after RCU grace period
phonet_device_destroy() removes a phonet_device from the per-net device list with list_del_rcu(), but frees it immediately. RCU readers walking the same list can still hold a pointer to the object after it has been removed, leading to a slab-use-after-free.
Use kfree_rcu(), matching the lifetime rule already used by phonet_address_del() for the same object type.
The Linux kernel CVE team has assigned CVE-2026-53157 to this issue.
Affected and fixed versions
===========================
Issue introduced in 2.6.33 with commit eeb74a9d45f781ec6f47b9e0a75a6a427b53f165 and fixed in 6.18.36 with commit 52b8f5ef82c886f7cd24617915e4b1579ddfd001 Issue introduced in 2.6.33 with commit eeb74a9d45f781ec6f47b9e0a75a6a427b53f165 and fixed in 7.0.13 with commit bff309ea51f1395c1ef8be8b75ce62d28a319113 Issue introduced in 2.6.33 with commit eeb74a9d45f781ec6f47b9e0a75a6a427b53f165 and fixed in 7.1 with commit 71de0177b28da751f407581a4515cf4d762f6296
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-53157
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
net/phonet/pn_dev.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/52b8f5ef82c886f7cd24617915e4b1579ddfd001 https://git.kernel.org/stable/c/bff309ea51f1395c1ef8be8b75ce62d28a319113 https://git.kernel.org/stable/c/71de0177b28da751f407581a4515cf4d762f6296