CVE-2022-49811

drbd: use after free in drbd_create_device()

HIGH
7.8
CVSS Score
Published: May 1, 2025 at 02:09 PM UTC
Updated: June 17, 2026 at 05:19 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.2%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

3.15 ≤ v < 4.14.3003.15 ≤ v < 4.19.2673.15 ≤ v < 5.10.1563.15 ≤ v < 5.15.803.15 ≤ v < 5.4.2253.15 ≤ v < 6.0.103.15 ≤ v < 6.14.15 ≤ v < 4.19.2674.20 ≤ v < 5.4.2255.11 ≤ v < 5.15.805.16 ≤ v < 6.0.105.5 ≤ v < 5.10.1563.156.1 rc16.1 rc26.1 rc36.1 rc46.1 rc5b6f85ef9538b2111a8ba0bbfae9aaebabfc94961
Vendor states this is fixed in 7d93417d596402ddd46bd76c721f205d09d0d025 (fixed)
Vendor states this is fixed in 813a8dd9c45fd46f5cbbfbedf0791afa7740ccf5 (fixed)
Vendor states this is fixed in 9ed51414aef6e59e832e2960f10766dce2d5b1a1 (fixed)
Vendor states this is fixed in a7a1598189228b5007369a9622ccdf587be0730f (fixed)
Vendor states this is fixed in bf47ca1b35fc1f55091ffaff5fbe41ea0c6f59a1 (fixed)
Vendor states this is fixed in c2a00b149836d60c222930bbea6b2139caf34d4f (fixed)
Vendor states this is fixed in fc1897f16ebcfd22364f2afcc27f53a740f3bc7a (fixed)
Vendor states this is fixed in 3.15 (unaffected)
Vendor states this is fixed in 4.14.300 (unaffected)
Vendor states this is fixed in 4.19.267 (unaffected)
Vendor states this is fixed in 5.10.156 (unaffected)
Vendor states this is fixed in 5.15.80 (unaffected)
Vendor states this is fixed in 5.4.225 (unaffected)
Vendor states this is fixed in 6.0.10 (unaffected)
Vendor states this is fixed in 6.1 (unaffected)

References (7)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/7d93417d596402ddd46bd76c721f205d09d0d025
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/813a8dd9c45fd46f5cbbfbedf0791afa7740ccf5
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/9ed51414aef6e59e832e2960f10766dce2d5b1a1
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a7a1598189228b5007369a9622ccdf587be0730f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/bf47ca1b35fc1f55091ffaff5fbe41ea0c6f59a1
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c2a00b149836d60c222930bbea6b2139caf34d4f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/fc1897f16ebcfd22364f2afcc27f53a740f3bc7a

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-416

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card