CVE-2022-28796
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2022-28796 affects the Linux kernel versions before 5.17.1, specifically in the jbd2journalwaitupdates function in fs/jbd2/transaction.c. The vulnerability was discovered and disclosed on April 8, 2022. The issue involves a use-after-free vulnerability caused by a transactiont race condition (NVD, MITRE).

Technical details

The vulnerability occurs in the jbd2journalwaitupdates function where a transaction might get committed and freed via jbd2journalcommittransaction() -> jbd2journalfreetransaction() when jstate_lock is released. The issue arises because the running transaction can get freed under certain conditions when the bind operation fails before attempting to grab a reference count on a device (Linux Commit). The vulnerability has been assigned a CVSS v3.1 score of 7.0 (HIGH) with a vector of CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H (NetApp Advisory).

Impact

Successful exploitation of this vulnerability could lead to disclosure of sensitive information, addition or modification of data, or Denial of Service (DoS). The vulnerability allows potential attackers with local access to exploit a race condition that could result in a use-after-free scenario (NetApp Advisory).

Mitigation and workarounds

The vulnerability has been fixed in Linux kernel version 5.17.1. The fix involves checking for journal->jrunningtransaction every time the jstatelock is released and acquired to avoid use-after-free issues. Users are advised to upgrade to Linux kernel version 5.17.1 or later (Linux Commit).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-40205HIGH7.8
  • Linux KernelLinux Kernel
  • linux-hwe-6.14
NoYesNov 12, 2025
CVE-2025-40211HIGH7.1
  • Linux KernelLinux Kernel
  • linux-azure-fde-6.14
NoYesNov 21, 2025
CVE-2025-40206MEDIUM5.5
  • Linux KernelLinux Kernel
  • kernel-64k-debug-devel
NoYesNov 12, 2025
CVE-2025-40210MEDIUM5.1
  • Linux KernelLinux Kernel
  • kernel-tools-libs-devel
NoYesNov 21, 2025
CVE-2025-40212N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k
NoYesNov 24, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management