---
id: CVE-2021-47049
title: |-
  In the Linux kernel, the following vulnerability has been resolved:

  Drivers: hv: vmbus: Use after free in __vmbus_open()

  The "open_info" variable is added to the &vmbus_connection.chn_msg_list,
  but the error handling frees "open_info" …
summary: |-
  In the Linux kernel, the following vulnerability has been resolved:

  Drivers: hv: vmbus: Use after free in __vmbus_open()

  The "open_info" variable is added to the &vmbus_connection.chn_msg_list,
  but the error handling frees "open_info" …
severity: high
cvss: 8.4
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-416
vendor: linux
product: linux_kernel
affected:
  - 'linux_kernel >= 4.14, < 5.10.37'
  - 'linux_kernel >= 5.11, < 5.11.21'
  - 'linux_kernel >= 5.12, < 5.12.4'
patched:
  - linux_kernel 5.12.4
published: '2024-02-28'
updated: '2026-08-04'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2021-47049'
references:
  - url: 'https://git.kernel.org/stable/c/2728f289b3270b0e273292b46c534421a33bbfd5'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/3e9bf43f7f7a46f21ec071cb47be92d0874c48da'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/d5c7b42c9f56ca46b286daa537d181bd7f69214f'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/f37dd5d1b5d38a79a4f7b8dd7bbb705505f05560'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/2728f289b3270b0e273292b46c534421a33bbfd5'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/3e9bf43f7f7a46f21ec071cb47be92d0874c48da'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/d5c7b42c9f56ca46b286daa537d181bd7f69214f'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/f37dd5d1b5d38a79a4f7b8dd7bbb705505f05560'
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
epss: 0.00232
epssPercentile: 0.12621
ingestedAt: '2026-08-04T10:39:39.597Z'
---

## Overview

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

Drivers: hv: vmbus: Use after free in __vmbus_open()

The "open_info" variable is added to the &vmbus_connection.chn_msg_list,
but the error handling frees "open_info" without removing it from the
list.  This will result in a use after free.  First remove it from the
list, and then free it.

## Affected

- `linux_kernel >= 4.14, < 5.10.37`
- `linux_kernel >= 5.11, < 5.11.21`
- `linux_kernel >= 5.12, < 5.12.4`

## Remediation

Upgrade past the affected range:

- `linux_kernel 5.12.4`
