Local kernel compromise via freed buffer dereference
Published Sep 15, 2025 · Updated Sep 15, 2025
Use-after-free in Linux kernel jbd2 allows local users to crash the system or corrupt kernel memory through ext4 fast commits. The jbd2_fc_wait_bufs function calls put_bh before testing buffer_uptodate, dereferencing a buffer head after dropping its reference. An unprivileged local user needs write access to a file on a fast-commit-enabled ext4 mount; exploitation can panic the kernel or compromise kernel memory.
Summary
What happened
Use-after-free in Linux kernel jbd2 allows local users to crash the system or corrupt kernel memory through ext4 fast commits. The jbd2_fc_wait_bufs function calls put_bh before testing buffer_uptodate, dereferencing a buffer head after dropping its reference. An unprivileged local user needs write access to a file on a fast-commit-enabled ext4 mount; exploitation can panic the kernel or compromise kernel memory.
The record
- CVE
- CVE-2022-50328
- Published
- Sep 15, 2025
- Updated
- Sep 15, 2025
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-416, T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Sep 15, 2025CVE publishedPublication date reported by the CVE source.
- Sep 15, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <1d4d16daec2a6689b6d3fbfc7d2078643adc6619
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <243d1a5d505d0b0460c9af0ad56ed4a56ef0bebd
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <2e6d9f381c1ed844531a577783fc352de7a44c8a
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <d11d2ded293976a1a0d9d9471827a44dc9e3c63f
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <effd9b3c029ecdd853a11933dcf857f5a7ca8c3d
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo