Use After Free in Linux
CVE-2022-50328
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.
Vulnerability class: Use-After-Free
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.002, 6.4th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Linux — versions ff780b91efe901b8eecd8114785abae5341820ad, 5.10, 0
- Linux Kernel
Weakness classification (CWE)
References
- git.kernel.org/stable/c/1d4d16daec2a6689b6d3fbfc7d2078643adc6619 (Patch)
- git.kernel.org/stable/c/d11d2ded293976a1a0d9d9471827a44dc9e3c63f (Patch)
- git.kernel.org/stable/c/2e6d9f381c1ed844531a577783fc352de7a44c8a (Patch)
- git.kernel.org/stable/c/effd9b3c029ecdd853a11933dcf857f5a7ca8c3d (Patch)
- git.kernel.org/stable/c/243d1a5d505d0b0460c9af0ad56ed4a56ef0bebd (Patch)