CVE-2022-50839

jbd2: fix potential buffer head reference count leak

published December 30, 2025

CVSS
—
EPSS
0%
Percentile
14.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00245 · 14.9th percentile
Published
2025-12-30T12:10Z
EPSS history
Timeline
  • 30 DEC 12:10Z
    jbd2: fix potential buffer head reference count leak
    cvelistv5