What’s Vulnerable › Vulnerabilities

CVE-2022-50328: jbd2: fix potential use-after-free in jbd2_fc_wait_bufs

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

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

Get alerted when CVE-2022-50328 or the next vulnerability affects your stack