What’s Vulnerable › Vulnerabilities
CVE-2022-50328: jbd2: fix potential use-after-free in jbd2_fc_wait_bufs
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-09-15 · updated 2026-10-15
- Weakness: CWE-416
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 products
- Linux kernel: before 5.10.150; from 5.11 before 5.15.75; from 5.16 before 5.19.17; from 6.0 before 6.0.3 — fixed in 5.10.150, 5.15.75, 5.19.17, 6.0.3
How to fix
Upgrade to a fixed version: Linux kernel 5.10.150, 5.15.75, 5.19.17, 6.0.3. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/1d4d16daec2a6689b6d3fbfc7d2078643adc6619
- https://git.kernel.org/stable/c/243d1a5d505d0b0460c9af0ad56ed4a56ef0bebd
- https://git.kernel.org/stable/c/2e6d9f381c1ed844531a577783fc352de7a44c8a
- https://git.kernel.org/stable/c/d11d2ded293976a1a0d9d9471827a44dc9e3c63f
- https://git.kernel.org/stable/c/effd9b3c029ecdd853a11933dcf857f5a7ca8c3d
Get alerted when CVE-2022-50328 or the next vulnerability affects your stack