{"schema_version":"1.9.0","id":"CVE-2022-50328","published":"2025-09-15T14:49:30.483Z","modified":"2026-08-12T03:51:43.495059753Z","related":["SUSE-SU-2025:03615-1","SUSE-SU-2025:03628-1","SUSE-SU-2025:3716-1","SUSE-SU-2025:3761-1"],"summary":"jbd2: fix potential use-after-free in jbd2_fc_wait_bufs","details":"In the Linux kernel, the following vulnerability has been resolved:\n\njbd2: fix potential use-after-free in jbd2_fc_wait_bufs\n\nIn 'jbd2_fc_wait_bufs' use 'bh' after put buffer head reference count\nwhich may lead to use-after-free.\nSo judge buffer if uptodate before put buffer head reference count.","affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"ff780b91efe901b8eecd8114785abae5341820ad"},{"fixed":"1d4d16daec2a6689b6d3fbfc7d2078643adc6619"},{"fixed":"d11d2ded293976a1a0d9d9471827a44dc9e3c63f"},{"fixed":"2e6d9f381c1ed844531a577783fc352de7a44c8a"},{"fixed":"effd9b3c029ecdd853a11933dcf857f5a7ca8c3d"},{"fixed":"243d1a5d505d0b0460c9af0ad56ed4a56ef0bebd"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50328.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.10.0"},{"fixed":"5.10.150"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.75"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"5.19.17"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.20.0"},{"fixed":"6.0.3"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50328.json"}}],"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/1d4d16daec2a6689b6d3fbfc7d2078643adc6619"},{"type":"WEB","url":"https://git.kernel.org/stable/c/243d1a5d505d0b0460c9af0ad56ed4a56ef0bebd"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2e6d9f381c1ed844531a577783fc352de7a44c8a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d11d2ded293976a1a0d9d9471827a44dc9e3c63f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/effd9b3c029ecdd853a11933dcf857f5a7ca8c3d"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50328.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50328"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50328.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}