CVE-2022-50839
jbd2: fix potential buffer head reference count leak
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= ff780b91efe901b8eecd8114785abae5341820ad, < 7a33dde572fceb45d02d188e0213c47059401c93; >= ff780b91efe901b8eecd8114785abae5341820ad, < e7385c868ee038d6a0cb0e85c22d2741e7910fd5; >= ff780b91efe901b8eecd8114785abae5341820ad, < 68ed9c76b2affd47177b92495446abb7262d0ef7; >= ff780b91efe901b8eecd8114785abae5341820ad, < 9b073d73725366d886b711b74e058c02f51e7a0e; >= ff780b91efe901b8eecd8114785abae5341820ad, < e0d5fc7a6d80ac2406c7dfc6bb625201d0250a8a
- Anyone running Linux 5.10
Vulnerability facts
- Affected
- Linux >= ff780b91efe901b8eecd8114785abae5341820ad, < 7a33dde572fceb45d02d188e0213c47059401c93; >= ff780b91efe901b8eecd8114785abae5341820ad, < e7385c868ee038d6a0cb0e85c22d2741e7910fd5; >= ff780b91efe901b8eecd8114785abae5341820ad, < 68ed9c76b2affd47177b92495446abb7262d0ef7; >= ff780b91efe901b8eecd8114785abae5341820ad, < 9b073d73725366d886b711b74e058c02f51e7a0e; >= ff780b91efe901b8eecd8114785abae5341820ad, < e0d5fc7a6d80ac2406c7dfc6bb625201d0250a8a; Linux 5.10
- Fixed in
- Linux 7a33dde572fceb45d02d188e0213c47059401c93, Linux 68ed9c76b2affd47177b92495446abb7262d0ef7, Linux 9b073d73725366d886b711b74e058c02f51e7a0e
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- EPSS
- 0.26% chance of exploitation in 30 days (percentile 11, 2026-11-26)
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= ff780b91efe901b8eecd8114785abae5341820ad, < 7a33dde572fceb45d02d188e0213c47059401c93; >= ff780b91efe901b8eecd8114785abae5341820ad, < e7385c868ee038d6a0cb0e85c22d2741e7910fd5; >= ff780b91efe901b8eecd8114785abae5341820ad, < 68ed9c76b2affd47177b92495446abb7262d0ef7; >= ff780b91efe901b8eecd8114785abae5341820ad, < 9b073d73725366d886b711b74e058c02f51e7a0e; >= ff780b91efe901b8eecd8114785abae5341820ad, < e0d5fc7a6d80ac2406c7dfc6bb625201d0250a8a | — | cvelist |
| Linux | 5.10 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2022-50839. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-50839.md Affected: Linux >= ff780b91efe901b8eecd8114785abae5341820ad, < 7a33dde572fceb45d02d188e0213c47059401c93; >= ff780b91efe901b8eecd8114785abae5341820ad, < e7385c868ee038d6a0cb0e85c22d2741e7910fd5; >= ff780b91efe901b8eecd8114785abae5341820ad, < 68ed9c76b2affd47177b92495446abb7262d0ef7; >= ff780b91efe901b8eecd811… Fixed in: Linux 7a33dde572fceb45d02d188e0213c47059401c93, Linux 68ed9c76b2affd47177b92495446abb7262d0ef7, Linux 9b073d73725366d886b711b74e058c02f51e7a0e Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Other
- https://git.kernel.org/stable/c/7a33dde572fceb45d02d188e0213c47059401c93
- https://git.kernel.org/stable/c/e7385c868ee038d6a0cb0e85c22d2741e7910fd5
- https://git.kernel.org/stable/c/68ed9c76b2affd47177b92495446abb7262d0ef7
- https://git.kernel.org/stable/c/9b073d73725366d886b711b74e058c02f51e7a0e
- https://git.kernel.org/stable/c/e0d5fc7a6d80ac2406c7dfc6bb625201d0250a8a
FAQ
Is CVE-2022-50839 being exploited?
There is no confirmed exploitation: CVE-2022-50839 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.26% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2022-50839?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2022-50839?
Linux >= ff780b91efe901b8eecd8114785abae5341820ad, < 7a33dde572fceb45d02d188e0213c47059401c93; >= ff780b91efe901b8eecd8114785abae5341820ad, < e7385c868ee038d6a0cb0e85c22d2741e7910fd5; >= ff780b91efe901b8eecd8114785abae5341820ad, < 68ed9c76b2affd47177b92495446abb7262d0ef7; >= ff780b91efe901b8eecd8114785abae5341820ad, < 9b073d73725366d886b711b74e058c02f51e7a0e; >= ff780b91efe901b8eecd8114785abae5341820ad, < e0d5fc7a6d80ac2406c7dfc6bb625201d0250a8a; Linux 5.10.
Is there a fix for CVE-2022-50839?
Yes. Fixed in Linux 7a33dde572fceb45d02d188e0213c47059401c93, Linux 68ed9c76b2affd47177b92495446abb7262d0ef7, Linux 9b073d73725366d886b711b74e058c02f51e7a0e. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2022-50839?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.