# CVE-2026-53261: devlink: Release nested relation on devlink free

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.11%, higher than 1% of CVEs (2026-12-01)
- Published: 2026-06-25T08:39:49.891Z
- Modified: 2026-11-06T17:18:17.077Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from c137743bce02b18c1537d4681aa515f7b80bf0a8 before a9137286884703113b1c9e6403bd6d7d97b14754; from c137743bce02b18c1537d4681aa515f7b80bf0a8 before 927f96861f939c0b517d13ed27bf4fabbfc1cfb3; from c137743bce02b18c1537d4681aa515f7b80bf0a8 before 11324d52b0c63f4f202b35793c6507a575e9a689; from c137743bce02b18c1537d4681aa515f7b80bf0a8 before 3522b21fd7e1863d0734537737bd59f1b90d0190; 6.7 (not affected: before 6.7; from 6.12.94 up to 6.12.*; from 6.18.36 up to 6.18.*; from 7.0.13 up to 7.0.*; from 7.1 up to *)
- linux 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

## References

- <https://git.kernel.org/stable/c/a9137286884703113b1c9e6403bd6d7d97b14754> (patch)
- <https://git.kernel.org/stable/c/927f96861f939c0b517d13ed27bf4fabbfc1cfb3> (patch)
- <https://git.kernel.org/stable/c/11324d52b0c63f4f202b35793c6507a575e9a689> (patch)
- <https://git.kernel.org/stable/c/3522b21fd7e1863d0734537737bd59f1b90d0190> (patch)

## Sources

- CVE List: [CVE-2026-53261](https://www.cve.org/CVERecord?id=CVE-2026-53261), CVE Terms of Use, modified 2026-11-06
- NVD: [CVE-2026-53261](https://nvd.nist.gov/vuln/detail/CVE-2026-53261), Public domain, modified 2026-11-06

---

Page: https://cve.day/CVE-2026-53261 · Whole record: https://cve.day/CVE-2026-53261.json · Rebuilt by cve.day 2026-11-25T22:59:26.338Z
