---
id: CVE-2022-49786
title: 'blk-cgroup: properly pin the parent in blkcg_css_online'
summary: |-
  In the Linux kernel, the following vulnerability has been resolved:

  blk-cgroup: properly pin the parent in blkcg_css_online

  blkcg_css_online is supposed to pin the blkcg of the parent, but
  397c9f46ee4d refactored things and along the w…
severity: none
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 397c9f46ee4d99024c64954b007c1b5762d01cb4 <
    d118247e404d6338f7b90636a3c6b95a387ed163
  - >-
    Linux >= 397c9f46ee4d99024c64954b007c1b5762d01cb4 <
    d7dbd43f4a828fa1d9a8614d5b0ac40aee6375fe
  - Linux 5.19
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-11-05T19:47:56.638483Z'
published: '2025-05-01'
updated: '2026-11-05'
sourceUpdated: '2026-11-05T19:49:48.626Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2022-49786'
references:
  - url: 'https://git.kernel.org/stable/c/d118247e404d6338f7b90636a3c6b95a387ed163'
  - url: 'https://git.kernel.org/stable/c/d7dbd43f4a828fa1d9a8614d5b0ac40aee6375fe'
tags:
  - cve.org
epss: 0.0017
epssPercentile: 0.06435
ingestedAt: '2026-11-05T22:38:31.594Z'
---

## Overview

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

blk-cgroup: properly pin the parent in blkcg_css_online

blkcg_css_online is supposed to pin the blkcg of the parent, but
397c9f46ee4d refactored things and along the way, changed it to pin the
css instead.  This results in extra pins, and we end up leaking blkcgs
and cgroups.

## Affected

- `Linux >= 397c9f46ee4d99024c64954b007c1b5762d01cb4 < d118247e404d6338f7b90636a3c6b95a387ed163`
- `Linux >= 397c9f46ee4d99024c64954b007c1b5762d01cb4 < d7dbd43f4a828fa1d9a8614d5b0ac40aee6375fe`
- `Linux 5.19`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
