CVE-2022-50839
jbd2: fix potential buffer head reference count leak
- Published
- Updated
- Reserved
- Assigned by
- Linux
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.
Scores
No CVSS score yet: neither the CNA, CISA nor NVD has scored this CVE. NVD status: Deferred.
- EPSS (exploitation in 30 days)
- 0.24% · top 84% of all CVEs (6 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Not scored.
Affected products
- affected ff780b91efe901b8eecd8114785abae5341820ad – < 7a33dde572fceb45d02d188e0213c47059401c93
- affected ff780b91efe901b8eecd8114785abae5341820ad – < e7385c868ee038d6a0cb0e85c22d2741e7910fd5
- affected ff780b91efe901b8eecd8114785abae5341820ad – < 68ed9c76b2affd47177b92495446abb7262d0ef7
- affected ff780b91efe901b8eecd8114785abae5341820ad – < 9b073d73725366d886b711b74e058c02f51e7a0e
- affected ff780b91efe901b8eecd8114785abae5341820ad – < e0d5fc7a6d80ac2406c7dfc6bb625201d0250a8a
- affected 5.10
- unaffected < 5.10
- unaffected 5.10.150 – ≤ 5.10.*
- unaffected 5.15.75 – ≤ 5.15.*
- unaffected 5.19.17 – ≤ 5.19.*
- unaffected 6.0.3 – ≤ 6.0.*
- unaffected 6.1 – ≤ *
References (5)
- https://git.kernel.org/stable/c/7a33dde572fceb45d02d188e0213c47059401c93 (opens in a new tab)
- https://git.kernel.org/stable/c/e7385c868ee038d6a0cb0e85c22d2741e7910fd5 (opens in a new tab)
- https://git.kernel.org/stable/c/68ed9c76b2affd47177b92495446abb7262d0ef7 (opens in a new tab)
- https://git.kernel.org/stable/c/9b073d73725366d886b711b74e058c02f51e7a0e (opens in a new tab)
- https://git.kernel.org/stable/c/e0d5fc7a6d80ac2406c7dfc6bb625201d0250a8a (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2022-50839)Record last updated .