# CVE-2022-49811: drbd: use after free in drbd_create_device()

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/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.23%, higher than 14% of CVEs (2026-12-01)
- Published: 2025-05-01T14:09:36.098Z
- Modified: 2026-11-05T20:17:13.360Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

drbd: use after free in drbd_create_device()

The drbd_destroy_connection() frees the "connection" so use the _safe()
iterator to prevent a use after free.

(As written by CVE List.)

## Affected

- Linux Linux: from b6f85ef9538b2111a8ba0bbfae9aaebabfc94961 before fc1897f16ebcfd22364f2afcc27f53a740f3bc7a; from b6f85ef9538b2111a8ba0bbfae9aaebabfc94961 before bf47ca1b35fc1f55091ffaff5fbe41ea0c6f59a1; from b6f85ef9538b2111a8ba0bbfae9aaebabfc94961 before 813a8dd9c45fd46f5cbbfbedf0791afa7740ccf5; from b6f85ef9538b2111a8ba0bbfae9aaebabfc94961 before 9ed51414aef6e59e832e2960f10766dce2d5b1a1; from b6f85ef9538b2111a8ba0bbfae9aaebabfc94961 before 7d93417d596402ddd46bd76c721f205d09d0d025; from b6f85ef9538b2111a8ba0bbfae9aaebabfc94961 before c2a00b149836d60c222930bbea6b2139caf34d4f; from b6f85ef9538b2111a8ba0bbfae9aaebabfc94961 before a7a1598189228b5007369a9622ccdf587be0730f; 3.15 (not affected: before 3.15; from 4.14.300 up to 4.14.*; from 4.19.267 up to 4.19.*; from 5.4.225 up to 5.4.*; from 5.10.156 up to 5.10.*; from 5.15.80 up to 5.15.*; from 6.0.10 up to 6.0.*; from 6.1 up to *)
- linux linux_kernel: from 3.15 before 4.14.300; from 4.15 before 4.19.267; from 4.20 before 5.4.225; from 5.5 before 5.10.156; from 5.11 before 5.15.80; from 5.16 before 6.0.10; 6.1

## References

- <https://git.kernel.org/stable/c/fc1897f16ebcfd22364f2afcc27f53a740f3bc7a> (patch)
- <https://git.kernel.org/stable/c/bf47ca1b35fc1f55091ffaff5fbe41ea0c6f59a1> (patch)
- <https://git.kernel.org/stable/c/813a8dd9c45fd46f5cbbfbedf0791afa7740ccf5> (patch)
- <https://git.kernel.org/stable/c/9ed51414aef6e59e832e2960f10766dce2d5b1a1> (patch)
- <https://git.kernel.org/stable/c/7d93417d596402ddd46bd76c721f205d09d0d025> (patch)
- <https://git.kernel.org/stable/c/c2a00b149836d60c222930bbea6b2139caf34d4f> (patch)
- <https://git.kernel.org/stable/c/a7a1598189228b5007369a9622ccdf587be0730f> (patch)

## Sources

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

---

Page: https://cve.day/CVE-2022-49811 · Whole record: https://cve.day/CVE-2022-49811.json · Rebuilt by cve.day 2026-11-25T22:58:20.882Z
