CVE-2022-50328
jbd2: fix potential use-after-free in jbd2_fc_wait_bufs
Mitigation
- Upgrade Linux to 243d1a5d505d0b0460c9af0ad56ed4a56ef0bebd or later.
Who should check
- Anyone running Linux >= ff780b91efe901b8eecd8114785abae5341820ad, < 1d4d16daec2a6689b6d3fbfc7d2078643adc6619; >= ff780b91efe901b8eecd8114785abae5341820ad, < d11d2ded293976a1a0d9d9471827a44dc9e3c63f; >= ff780b91efe901b8eecd8114785abae5341820ad, < 2e6d9f381c1ed844531a577783fc352de7a44c8a; >= ff780b91efe901b8eecd8114785abae5341820ad, < effd9b3c029ecdd853a11933dcf857f5a7ca8c3d; >= ff780b91efe901b8eecd8114785abae5341820ad, < 243d1a5d505d0b0460c9af0ad56ed4a56ef0bebd
- Anyone running Linux 5.10
Vulnerability facts
- Affected
- Linux >= ff780b91efe901b8eecd8114785abae5341820ad, < 1d4d16daec2a6689b6d3fbfc7d2078643adc6619; >= ff780b91efe901b8eecd8114785abae5341820ad, < d11d2ded293976a1a0d9d9471827a44dc9e3c63f; >= ff780b91efe901b8eecd8114785abae5341820ad, < 2e6d9f381c1ed844531a577783fc352de7a44c8a; >= ff780b91efe901b8eecd8114785abae5341820ad, < effd9b3c029ecdd853a11933dcf857f5a7ca8c3d; >= ff780b91efe901b8eecd8114785abae5341820ad, < 243d1a5d505d0b0460c9af0ad56ed4a56ef0bebd; Linux 5.10
- Fixed in
- Linux 1d4d16daec2a6689b6d3fbfc7d2078643adc6619, Linux 2e6d9f381c1ed844531a577783fc352de7a44c8a, Linux 243d1a5d505d0b0460c9af0ad56ed4a56ef0bebd
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.24% chance of exploitation in 30 days (percentile 9, 2026-11-26)
- CWE
- CWE-416
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: jbd2: fix potential use-after-free in jbd2_fc_wait_bufs In 'jbd2_fc_wait_bufs' use 'bh' after put buffer head reference count which may lead to use-after-free. So judge buffer if uptodate before put buffer head reference count.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= ff780b91efe901b8eecd8114785abae5341820ad, < 1d4d16daec2a6689b6d3fbfc7d2078643adc6619; >= ff780b91efe901b8eecd8114785abae5341820ad, < d11d2ded293976a1a0d9d9471827a44dc9e3c63f; >= ff780b91efe901b8eecd8114785abae5341820ad, < 2e6d9f381c1ed844531a577783fc352de7a44c8a; >= ff780b91efe901b8eecd8114785abae5341820ad, < effd9b3c029ecdd853a11933dcf857f5a7ca8c3d; >= ff780b91efe901b8eecd8114785abae5341820ad, < 243d1a5d505d0b0460c9af0ad56ed4a56ef0bebd | — | 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-50328. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-50328.md Affected: Linux >= ff780b91efe901b8eecd8114785abae5341820ad, < 1d4d16daec2a6689b6d3fbfc7d2078643adc6619; >= ff780b91efe901b8eecd8114785abae5341820ad, < d11d2ded293976a1a0d9d9471827a44dc9e3c63f; >= ff780b91efe901b8eecd8114785abae5341820ad, < 2e6d9f381c1ed844531a577783fc352de7a44c8a; >= ff780b91efe901b8eecd811… Fixed in: Linux 1d4d16daec2a6689b6d3fbfc7d2078643adc6619, Linux 2e6d9f381c1ed844531a577783fc352de7a44c8a, Linux 243d1a5d505d0b0460c9af0ad56ed4a56ef0bebd 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
Patches
- https://git.kernel.org/stable/c/1d4d16daec2a6689b6d3fbfc7d2078643adc6619
- https://git.kernel.org/stable/c/d11d2ded293976a1a0d9d9471827a44dc9e3c63f
- https://git.kernel.org/stable/c/2e6d9f381c1ed844531a577783fc352de7a44c8a
- https://git.kernel.org/stable/c/effd9b3c029ecdd853a11933dcf857f5a7ca8c3d
- https://git.kernel.org/stable/c/243d1a5d505d0b0460c9af0ad56ed4a56ef0bebd
FAQ
Is CVE-2022-50328 being exploited?
There is no confirmed exploitation: CVE-2022-50328 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.24% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2022-50328?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2022-50328?
Linux >= ff780b91efe901b8eecd8114785abae5341820ad, < 1d4d16daec2a6689b6d3fbfc7d2078643adc6619; >= ff780b91efe901b8eecd8114785abae5341820ad, < d11d2ded293976a1a0d9d9471827a44dc9e3c63f; >= ff780b91efe901b8eecd8114785abae5341820ad, < 2e6d9f381c1ed844531a577783fc352de7a44c8a; >= ff780b91efe901b8eecd8114785abae5341820ad, < effd9b3c029ecdd853a11933dcf857f5a7ca8c3d; >= ff780b91efe901b8eecd8114785abae5341820ad, < 243d1a5d505d0b0460c9af0ad56ed4a56ef0bebd; Linux 5.10.
Is there a fix for CVE-2022-50328?
Yes. Fixed in Linux 1d4d16daec2a6689b6d3fbfc7d2078643adc6619, Linux 2e6d9f381c1ed844531a577783fc352de7a44c8a, Linux 243d1a5d505d0b0460c9af0ad56ed4a56ef0bebd. Upgrade Linux to 243d1a5d505d0b0460c9af0ad56ed4a56ef0bebd or later.
How do I check if I'm affected by CVE-2022-50328?
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.