CVE-2022-50328

jbd2: fix potential use-after-free in jbd2_fc_wait_bufs

HIGH
7.8
CVSS Score
Published: September 15, 2025 at 02:49 PM UTC
Updated: October 15, 2026 at 10:17 PM 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%
SSVC
No known exploit

Description

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

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

v < 5.10.1505.11 ≤ v < 5.15.755.16 ≤ v < 5.19.176.0 ≤ v < 6.0.35.10ff780b91efe901b8eecd8114785abae5341820ad
Vendor states this is fixed in 1d4d16daec2a6689b6d3fbfc7d2078643adc6619 (fixed)
Vendor states this is fixed in 243d1a5d505d0b0460c9af0ad56ed4a56ef0bebd (fixed)
Vendor states this is fixed in 2e6d9f381c1ed844531a577783fc352de7a44c8a (fixed)
Vendor states this is fixed in d11d2ded293976a1a0d9d9471827a44dc9e3c63f (fixed)
Vendor states this is fixed in effd9b3c029ecdd853a11933dcf857f5a7ca8c3d (fixed)
Vendor states this is fixed in 5.10 (unaffected)
Vendor states this is fixed in 5.10.150 (unaffected)
Vendor states this is fixed in 5.15.75 (unaffected)
Vendor states this is fixed in 5.19.17 (unaffected)
Vendor states this is fixed in 6.0.3 (unaffected)
Vendor states this is fixed in 6.1 (unaffected)

References (5)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/1d4d16daec2a6689b6d3fbfc7d2078643adc6619
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/243d1a5d505d0b0460c9af0ad56ed4a56ef0bebd
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2e6d9f381c1ed844531a577783fc352de7a44c8a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d11d2ded293976a1a0d9d9471827a44dc9e3c63f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/effd9b3c029ecdd853a11933dcf857f5a7ca8c3d

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.8HIGHLinux
Vector?

Quick Info

StatusMODIFIED
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