CVE-2026-53261

MEDIUM

devlink: Release nested relation on devlink free

Title source: cna
STIX 2.1

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.

Scores

CVSS v3 5.5
EPSS 0.0012
EPSS Percentile 2.1%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Details

CWE
CWE-401
Status published
Products (15)
linux/Kernel 6.13.0 - 6.18.36linux
linux/Kernel 6.19.0 - 7.0.13linux
linux/Kernel 6.7.0 - 6.12.94linux
Linux/Linux < 6.7
Linux/Linux 6.12.94 - 6.12.*
Linux/Linux 6.18.36 - 6.18.*
Linux/Linux 6.7
Linux/Linux 7.0.13 - 7.0.*
Linux/Linux 7.1
Linux/Linux c137743bce02b18c1537d4681aa515f7b80bf0a8 - 11324d52b0c63f4f202b35793c6507a575e9a689
... and 5 more
Published Jun 25, 2026
Tracked Since Jun 25, 2026