CVE-2022-50839

jbd2: fix potential buffer head reference count leak

N/A
Published: December 30, 2025 at 12:10 PM UTC
Updated: June 17, 2026 at 05:24 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
N/A
Exploit prediction
EPSS 0.2%

Description

In the Linux kernel, the following vulnerability has been resolved: jbd2: fix potential buffer head reference count leak As in 'jbd2_fc_wait_bufs' if buffer isn't uptodate, will return -EIO without update 'journal->j_fc_off'. But 'jbd2_fc_release_bufs' will release buffer head from ‘j_fc_off - 1’ if 'bh' is NULL will terminal release which will lead to buffer head buffer head reference count leak. To solve above issue, update 'journal->j_fc_off' before return -EIO.

Affected

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

5.10 ≤ v < 5.10.1505.10 ≤ v < 5.15.755.10 ≤ v < 5.19.175.10 ≤ v < 6.0.35.10 ≤ v < 6.15.10ff780b91efe901b8eecd8114785abae5341820ad
Vendor states this is fixed in 68ed9c76b2affd47177b92495446abb7262d0ef7 (fixed)
Vendor states this is fixed in 7a33dde572fceb45d02d188e0213c47059401c93 (fixed)
Vendor states this is fixed in 9b073d73725366d886b711b74e058c02f51e7a0e (fixed)
Vendor states this is fixed in e0d5fc7a6d80ac2406c7dfc6bb625201d0250a8a (fixed)
Vendor states this is fixed in e7385c868ee038d6a0cb0e85c22d2741e7910fd5 (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)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

Quick Info

StatusDEFERRED

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