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

  jbd2: fix potential use-after-free in jbd2_fc_wait_bufs

  In 'jbd2_fc_wait_bufs' use 'bh' after put buffer head reference count
  which may lead to use-after-free.
  So judg…
summary: |-
  In the Linux kernel, the following vulnerability has been resolved:

  jbd2: fix potential use-after-free in jbd2_fc_wait_bufs

  In 'jbd2_fc_wait_bufs' use 'bh' after put buffer head reference count
  which may lead to use-after-free.
  So judg…
severity: high
cvss: 7.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-416
vendor: linux
product: linux_kernel
affected:
  - linux_kernel < 5.10.150
  - 'linux_kernel >= 5.11, < 5.15.75'
  - 'linux_kernel >= 5.16, < 5.19.17'
  - 'linux_kernel >= 6.0, < 6.0.3'
patched:
  - linux_kernel 6.0.3
published: '2025-09-15'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T22:17:30.110'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2022-50328'
references:
  - url: 'https://git.kernel.org/stable/c/1d4d16daec2a6689b6d3fbfc7d2078643adc6619'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/243d1a5d505d0b0460c9af0ad56ed4a56ef0bebd'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/2e6d9f381c1ed844531a577783fc352de7a44c8a'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/d11d2ded293976a1a0d9d9471827a44dc9e3c63f'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/effd9b3c029ecdd853a11933dcf857f5a7ca8c3d'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
tags:
  - nvd
  - cve.org
epss: 0.00163
epssPercentile: 0.05436
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-10-15T21:30:57.434456Z'
ingestedAt: '2026-10-15T21:45:11.286Z'
---

## Overview

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

jbd2: fix potential use-after-free in jbd2_fc_wait_bufs

In 'jbd2_fc_wait_bufs' use 'bh' after put buffer head reference count
which may lead to use-after-free.
So judge buffer if uptodate before put buffer head reference count.

## Affected

- `linux_kernel < 5.10.150`
- `linux_kernel >= 5.11, < 5.15.75`
- `linux_kernel >= 5.16, < 5.19.17`
- `linux_kernel >= 6.0, < 6.0.3`

## Remediation

Upgrade past the affected range:

- `linux_kernel 6.0.3`
