CVE-2022-50839

published 30 Dec 2025 · updated 11 May 2026

jbd2: fix potential buffer head reference count leak

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 68ed9c76b2affd47177b92495446abb7262d0ef7, Kernel 7a33dde572fceb45d02d188e0213c47059401c93, Kernel 9b073d73725366d886b711b74e058c02f51e7a0e and 2 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.10, >=ff780b91efe901b8eecd8114785abae5341820ad <68ed9c76b2affd47177b92495446abb7262d0ef7, >=ff780b91efe901b8eecd8114785abae5341820ad <7a33dde572fceb45d02d188e0213c47059401c93, >=ff780b91efe901b8eecd8114785abae5341820ad <9b073d73725366d886b711b74e058c02f51e7a0e, >=ff780b91efe901b8eecd8114785abae5341820ad <e0d5fc7a6d80ac2406c7dfc6bb625201d0250a8a, >=ff780b91efe901b8eecd8114785abae5341820ad <e7385c868ee038d6a0cb0e85c22d2741e7910fd568ed9c76b2affd47177b92495446abb7262d0ef7, 7a33dde572fceb45d02d188e0213c47059401c93, 9b073d73725366d886b711b74e058c02f51e7a0e, e0d5fc7a6d80ac2406c7dfc6bb625201d0250a8a, e7385c868ee038d6a0cb0e85c22d2741e7910fd5

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-50839 severity on Zeptric[![CVE-2022-50839](https://zeptric.io/badge/cve/CVE-2022-50839.svg)](https://zeptric.io/cve/CVE-2022-50839)