What’s Vulnerable › Vulnerabilities
CVE-2026-53261: devlink: Release nested relation on devlink free
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-06-25 · updated 2026-07-08
- Weakness: CWE-401
Description
In the Linux kernel, the following vulnerability has been resolved: devlink: Release nested relation on devlink free devlink relation state is normally released from devl_unregister(), which calls devlink_rel_put(). This misses devlink instances that get a nested relation before registration and then fail probe before devl_register() is reached. That flow can happen for SFs. The child devlink gets linked to its parent before registration, then a later probe error calls devlink_free() directly. Since the instance was never registered, devl_unregister() is not called and devlink->rel is leaked. Release any pending relation from devlink_free() as well. The registered path is unchanged because devl_unregister() already clears devlink->rel before devlink_free() runs.
Affected products
- Linux kernel: from 6.7 before 6.12.94; from 6.13 before 6.18.36; from 6.19 before 7.0.13; 7.1-rc1, 7.1-rc2, 7.1-rc3, 7.1-rc4, 7.1-rc5, 7.1-rc6 — fixed in 6.12.94, 6.18.36, 7.0.13
How to fix
Upgrade to a fixed version: Linux kernel 6.12.94, 6.18.36, 7.0.13. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/11324d52b0c63f4f202b35793c6507a575e9a689
- https://git.kernel.org/stable/c/3522b21fd7e1863d0734537737bd59f1b90d0190
- https://git.kernel.org/stable/c/927f96861f939c0b517d13ed27bf4fabbfc1cfb3
- https://git.kernel.org/stable/c/a9137286884703113b1c9e6403bd6d7d97b14754
Get alerted when CVE-2026-53261 or the next vulnerability affects your stack