CVE-2022-50839
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 versions
Linux kernel versions
5.10
and later are affected. Fixed in
5.10.150,
5.15.75,
5.19.17,
6.0.3,
6.1
and their respective stable series.
References
The following references provide additional information about CVE-2022-50839 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/68ed9c76b2affd47177b92495446abb7262d0ef7
-
PatchKernel patch commithttps://git.kernel.org/stable/c/7a33dde572fceb45d02d188e0213c47059401c93
-
PatchKernel patch commithttps://git.kernel.org/stable/c/9b073d73725366d886b711b74e058c02f51e7a0e
Frequently asked questions
-
What is CVE-2022-50839?
CVE-2022-50839 is a unscored severity Linux kernel vulnerability . It affects Linux kernel versions from 5.10 onward and has been patched in 5.10.150, 5.15.75, 5.19.17 and others. CVE-2022-50839 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
Is there a patch available for CVE-2022-50839?
Yes — CVE-2022-50839 has been patched. Fixed versions include 5.10.150, 5.15.75, 5.19.17 and others. If you are running Linux kernel 5.10 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2022-50839 actively exploited?
No — CVE-2022-50839 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.