CVE-2022-50839
kernel: jbd2: fix potential buffer head reference count leak
Severity
LowRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · December 30, 2025
Updated · June 30, 2026
Description
A buffer head reference count leak was found in the JBD2 journaling layer (used by ext4). When jbd2_fc_wait_bufs() encounters a non-uptodate buffer and returns -EIO, the journal offset is not updated, causing subsequent buffer release to skip some buffer heads.
Statement
This affects ext4 filesystems using fast commit. The leak occurs only on I/O error paths during journaling and leads to gradual memory consumption rather than an immediate crash. Regular ext4 operation without I/O errors is unaffected.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 3.3CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
CWE-911 · Improper Update of Reference Count