CVE-2023-54127
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2023-54127 is a double-free vulnerability in the Linux kernel's JFS (Journaled File System) subsystem, specifically in the dbUnmount() function triggered after a failed jfs_remount() operation. The flaw was discovered via Syzkaller fuzzing and publicly disclosed on December 24, 2025. It affects the Linux kernel across multiple stable branches, with patches available for affected versions. The vulnerability carries a CVSS v3.1 base score of 5.5 (Medium), reflecting a local attack vector with high availability impact (Red Hat CVE, Red Hat Bugzilla).

Technical details

The root cause is a double-free memory error (CWE-415) in fs/jfs/jfs_dmap.c. When jfs_remount() fails — specifically if either diMount() or dbMount() fail during the remount process — the cleanup path calls diUnmount() or dbUnmount(), which frees the block map (bmap) structure. However, JFS_SBI(ipbmap->i_sb)->bmap is not set to NULL after the kfree() in dbUnmount(), leaving a dangling pointer. On the subsequent unmount or remount attempt, dbUnmount() is called again on the already-freed memory, triggering a KASAN-detected double-free. Exploitation requires local access and the ability to perform mount/remount operations on a JFS filesystem (Red Hat Bugzilla).

Impact

Successful exploitation can cause kernel memory corruption and system crashes, resulting in a denial of service (kernel panic). The vulnerability has no confidentiality or integrity impact, but the high availability impact means a low-privileged local attacker could destabilize or crash the affected system. There is no evidence of lateral movement potential or data exposure risk associated with this vulnerability (Red Hat CVE, Red Hat Bugzilla).

Mitigation and workarounds

The primary remediation is to update to a patched Linux kernel version that includes the fix for fs/jfs/jfs_dmap.c (setting bmap to NULL after kfree() in dbUnmount()). Patches have been committed to multiple stable kernel branches (commits 2f7a364, 6f8b344, 798c5f6, aa5b019). As a workaround, administrators can restrict local user access to mount and remount operations, or avoid using JFS filesystems where possible. Monitoring system logs for unusual filesystem mount/remount activity is also recommended (Red Hat Bugzilla, Red Hat CVE).

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-2026-64557NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-selftests-internal
NoNoJul 29, 2026
CVE-2026-64556NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-devel
NoNoJul 29, 2026
CVE-2026-64555NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-fde-6.14
NoNoJul 27, 2026
CVE-2026-64554NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-gcp-6.14
NoYesJul 27, 2026
CVE-2026-64553NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-64k-debug-modules-internal
NoYesJul 27, 2026

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