{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-50328","id":"CVE-2022-50328","title":"jbd2: fix potential use-after-free in jbd2_fc_wait_bufs","description":"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.","descriptionLong":"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.","published":"2025-09-15T14:49:30.483Z","updated":"2026-10-28T02:31:04.586342825Z","reserved":"2025-09-15T14:18:36.815Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"ff780b91efe901b8eecd8114785abae5341820ad","lessThan":"1d4d16daec2a6689b6d3fbfc7d2078643adc6619","status":"affected","versionType":"git"},{"version":"ff780b91efe901b8eecd8114785abae5341820ad","lessThan":"d11d2ded293976a1a0d9d9471827a44dc9e3c63f","status":"affected","versionType":"git"},{"version":"ff780b91efe901b8eecd8114785abae5341820ad","lessThan":"2e6d9f381c1ed844531a577783fc352de7a44c8a","status":"affected","versionType":"git"},{"version":"ff780b91efe901b8eecd8114785abae5341820ad","lessThan":"effd9b3c029ecdd853a11933dcf857f5a7ca8c3d","status":"affected","versionType":"git"},{"version":"ff780b91efe901b8eecd8114785abae5341820ad","lessThan":"243d1a5d505d0b0460c9af0ad56ed4a56ef0bebd","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.10","status":"affected"},{"version":"0","lessThan":"5.10","status":"unaffected","versionType":"semver"},{"version":"5.10.150","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.75","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"5.19.17","lessThanOrEqual":"5.19.*","status":"unaffected","versionType":"semver"},{"version":"6.0.3","lessThanOrEqual":"6.0.*","status":"unaffected","versionType":"semver"},{"version":"6.1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-416"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/1d4d16daec2a6689b6d3fbfc7d2078643adc6619","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/d11d2ded293976a1a0d9d9471827a44dc9e3c63f","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/2e6d9f381c1ed844531a577783fc352de7a44c8a","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/effd9b3c029ecdd853a11933dcf857f5a7ca8c3d","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/243d1a5d505d0b0460c9af0ad56ed4a56ef0bebd","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50328.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50328","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.0017,"epssPercentile":0.06392,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-50328","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50328","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-50328","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-50328","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}