CVE-2022-50839 Details
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.
A vulnerability in the Linux kernel's JBD2 (Journaling Block Device) component can lead to a buffer head reference count leak. This issue arises in the 'jbd2_fc_wait_bufs' function, where if a buffer is not up to date, the function returns an error without updating the journal's flush offset. Consequently, the 'jbd2_fc_release_bufs' function may release a buffer head from an incorrect offset, leading to a premature release and a reference count leak.
Users can apply the latest patches available in the Linux kernel stable tree to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Dec 30, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/68ed9c76b2affd47177b92495446abb7262d0ef7 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/7a33dde572fceb45d02d188e0213c47059401c93 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/9b073d73725366d886b711b74e058c02f51e7a0e | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/e0d5fc7a6d80ac2406c7dfc6bb625201d0250a8a | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/e7385c868ee038d6a0cb0e85c22d2741e7910fd5 | kernel.org | Source CodeVendor |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| Linux kernel | All versions |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Dec 30, 2025 | New CVE Received | kernel.org |
Volerion