Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2022-49337

published high CVSS 3.1 · 7.8

ocfs2: dlmfs: fix error handling of user_dlm_destroy_lock

Published
26 Feb 2025, 02:10:55 UTC
Updated
05 Aug 2026, 08:54:48 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux2cd9888590c52ac7592e3607d0a3174ccd57ef86 to < 1434cd71ad9f3a6beda3036972983b6c4869207c · 2cd9888590c52ac7592e3607d0a3174ccd57ef86 to < 02480e2e82ae0e5588374bbbcf4fa6e4959fa174 · 2cd9888590c52ac7592e3607d0a3174ccd57ef86 to < 733a35c00ef363a1c774d7ea486e0735b7c13a15 · 2cd9888590c52ac7592e3607d0a3174ccd57ef86 to < 82bf8e7271fade40184177cb406203addc34c4a0 · 2cd9888590c52ac7592e3607d0a3174ccd57ef86 to < 337e36550788dbe03254f0593a231c1c4873b20d · 2cd9888590c52ac7592e3607d0a3174ccd57ef86 to < 9c96238fac045b289993d7bc5aae7b2d72b25c76 · 2cd9888590c52ac7592e3607d0a3174ccd57ef86 to < efb54ec548829e1d3605f0434526f86e345b1b28 · 2cd9888590c52ac7592e3607d0a3174ccd57ef86 to < 2c5e26a626fe46675bceba853e12aaf13c712e10 · 2cd9888590c52ac7592e3607d0a3174ccd57ef86 to < 863e0d81b6683c4cbc588ad831f560c90e494bef · Other versions: unaffected Affected Not stated Linux
Linux — Linux2.6.17 (affected) · 0 to < 2.6.17 (unaffected · semver) · 4.9.318 through 4.9.* (unaffected · semver) · 4.14.283 through 4.14.* (unaffected · semver) · 4.19.247 through 4.19.* (unaffected · semver) · 5.4.198 through 5.4.* (unaffected · semver) · 5.10.121 through 5.10.* (unaffected · semver) · 5.15.46 through 5.15.* (unaffected · semver) · 5.17.14 through 5.17.* (unaffected · semver) · 5.18.3 through 5.18.* (unaffected · semver) · 5.19 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
SUSE / openSUSE SLE-12-SP5 cluster-md-kmp-defaultaarch64 Advisory build 4.12.14-122.255.1 SUSE-SU-2025:1293-1
SUSE / openSUSE SLE-12-SP5 cluster-md-kmp-defaultppc64le Advisory build 4.12.14-122.255.1 SUSE-SU-2025:1293-1
SUSE / openSUSE SLE-12-SP5 cluster-md-kmp-defaults390x Advisory build 4.12.14-122.255.1 SUSE-SU-2025:1293-1
SUSE / openSUSE SLE-12-SP5 cluster-md-kmp-defaultx86_64 Advisory build 4.12.14-122.255.1 SUSE-SU-2025:1293-1
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
SUSE / openSUSE SLE-12-SP5 dlm-kmp-defaultaarch64 Advisory build 4.12.14-122.255.1 SUSE-SU-2025:1293-1
SUSE / openSUSE SLE-12-SP5 dlm-kmp-defaultppc64le Advisory build 4.12.14-122.255.1 SUSE-SU-2025:1293-1
SUSE / openSUSE SLE-12-SP5 dlm-kmp-defaults390x Advisory build 4.12.14-122.255.1 SUSE-SU-2025:1293-1
SUSE / openSUSE SLE-12-SP5 dlm-kmp-defaultx86_64 Advisory build 4.12.14-122.255.1 SUSE-SU-2025:1293-1
SUSE / openSUSE SLE-12-SP5 gfs2-kmp-defaultaarch64 Advisory build 4.12.14-122.255.1 SUSE-SU-2025:1293-1
SUSE / openSUSE SLE-12-SP5 gfs2-kmp-defaultppc64le Advisory build 4.12.14-122.255.1 SUSE-SU-2025:1293-1
SUSE / openSUSE SLE-12-SP5 gfs2-kmp-defaults390x Advisory build 4.12.14-122.255.1 SUSE-SU-2025:1293-1
SUSE / openSUSE SLE-12-SP5 gfs2-kmp-defaultx86_64 Advisory build 4.12.14-122.255.1 SUSE-SU-2025:1293-1
SUSE / openSUSE SLE-12-SP5 kernel-defaultaarch64 Advisory build 4.12.14-122.255.1 SUSE-SU-2025:1293-1
SUSE / openSUSE SLE-12-SP5 kernel-defaultppc64le Advisory build 4.12.14-122.255.1 SUSE-SU-2025:1293-1
SUSE / openSUSE SLE-12-SP5 kernel-defaults390x Advisory build 4.12.14-122.255.1 SUSE-SU-2025:1293-1
SUSE / openSUSE SLE-12-SP5 kernel-defaultx86_64 Advisory build 4.12.14-122.255.1 SUSE-SU-2025:1293-1
SUSE / openSUSE SLE-12-SP5 kernel-default-baseaarch64 Advisory build 4.12.14-122.255.1 SUSE-SU-2025:1293-1
SUSE / openSUSE SLE-12-SP5 kernel-default-baseppc64le Advisory build 4.12.14-122.255.1 SUSE-SU-2025:1293-1
SUSE / openSUSE SLE-12-SP5 kernel-default-bases390x Advisory build 4.12.14-122.255.1 SUSE-SU-2025:1293-1
SUSE / openSUSE SLE-12-SP5 kernel-default-basex86_64 Advisory build 4.12.14-122.255.1 SUSE-SU-2025:1293-1
SUSE / openSUSE SLE-12-SP5 kernel-default-develaarch64 Advisory build 4.12.14-122.255.1 SUSE-SU-2025:1293-1
SUSE / openSUSE SLE-12-SP5 kernel-default-develppc64le Advisory build 4.12.14-122.255.1 SUSE-SU-2025:1293-1
SUSE / openSUSE SLE-12-SP5 kernel-default-devels390x Advisory build 4.12.14-122.255.1 SUSE-SU-2025:1293-1
SUSE / openSUSE SLE-12-SP5 kernel-default-develx86_64 Advisory build 4.12.14-122.255.1 SUSE-SU-2025:1293-1
SUSE / openSUSE SLE-12-SP5 kernel-default-kgraftppc64le Advisory build 4.12.14-122.255.1 SUSE-SU-2025:1293-1
SUSE / openSUSE SLE-12-SP5 kernel-default-kgrafts390x Advisory build 4.12.14-122.255.1 SUSE-SU-2025:1293-1
SUSE / openSUSE SLE-12-SP5 kernel-default-kgraftx86_64 Advisory build 4.12.14-122.255.1 SUSE-SU-2025:1293-1
SUSE / openSUSE SLE-12-SP5 kernel-default-kgraft-develppc64le Advisory build 4.12.14-122.255.1 SUSE-SU-2025:1293-1
SUSE / openSUSE SLE-12-SP5 kernel-default-kgraft-devels390x Advisory build 4.12.14-122.255.1 SUSE-SU-2025:1293-1
SUSE / openSUSE SLE-12-SP5 kernel-default-kgraft-develx86_64 Advisory build 4.12.14-122.255.1 SUSE-SU-2025:1293-1
SUSE / openSUSE SLE-12-SP5 kernel-default-mans390x Advisory build 4.12.14-122.255.1 SUSE-SU-2025:1293-1
SUSE / openSUSE SLE-12-SP5 kernel-develnoarch Advisory build 4.12.14-122.255.1 SUSE-SU-2025:1293-1
SUSE / openSUSE SLE-12-SP5 kernel-macrosnoarch Advisory build 4.12.14-122.255.1 SUSE-SU-2025:1293-1
SUSE / openSUSE SLE-12-SP5 kernel-sourcenoarch Advisory build 4.12.14-122.255.1 SUSE-SU-2025:1293-1
SUSE / openSUSE SLE-12-SP5 kernel-symsaarch64 Advisory build 4.12.14-122.255.1 SUSE-SU-2025:1293-1
SUSE / openSUSE SLE-12-SP5 kernel-symsppc64le Advisory build 4.12.14-122.255.1 SUSE-SU-2025:1293-1
SUSE / openSUSE SLE-12-SP5 kernel-symss390x Advisory build 4.12.14-122.255.1 SUSE-SU-2025:1293-1
SUSE / openSUSE SLE-12-SP5 kernel-symsx86_64 Advisory build 4.12.14-122.255.1 SUSE-SU-2025:1293-1
SUSE / openSUSE SLE-12-SP5 kgraft-patch-4_12_14-122_255-defaultppc64le Advisory build 1-8.5.1 SUSE-SU-2025:1293-1
SUSE / openSUSE SLE-12-SP5 kgraft-patch-4_12_14-122_255-defaults390x Advisory build 1-8.5.1 SUSE-SU-2025:1293-1
SUSE / openSUSE SLE-12-SP5 kgraft-patch-4_12_14-122_255-defaultx86_64 Advisory build 1-8.5.1 SUSE-SU-2025:1293-1
SUSE / openSUSE SLE-12-SP5 ocfs2-kmp-defaultaarch64 Advisory build 4.12.14-122.255.1 SUSE-SU-2025:1293-1
SUSE / openSUSE SLE-12-SP5 ocfs2-kmp-defaultppc64le Advisory build 4.12.14-122.255.1 SUSE-SU-2025:1293-1
SUSE / openSUSE SLE-12-SP5 ocfs2-kmp-defaults390x Advisory build 4.12.14-122.255.1 SUSE-SU-2025:1293-1
SUSE / openSUSE SLE-12-SP5 ocfs2-kmp-defaultx86_64 Advisory build 4.12.14-122.255.1 SUSE-SU-2025:1293-1
SUSE / openSUSE SLE-15-SP4 cluster-md-kmp-defaultaarch64 Advisory build 5.14.21-150400.24.158.1 SUSE-SU-2025:1027-1
SUSE / openSUSE SLE-15-SP4 cluster-md-kmp-defaultppc64le Advisory build 5.14.21-150400.24.158.1 SUSE-SU-2025:1027-1
SUSE / openSUSE SLE-15-SP4 cluster-md-kmp-defaults390x Advisory build 5.14.21-150400.24.158.1 SUSE-SU-2025:1027-1
SUSE / openSUSE SLE-15-SP4 cluster-md-kmp-defaultx86_64 Advisory build 5.14.21-150400.24.158.1 SUSE-SU-2025:1027-1
SUSE / openSUSE SLE-15-SP4 dlm-kmp-defaultaarch64 Advisory build 5.14.21-150400.24.158.1 SUSE-SU-2025:1027-1
SUSE / openSUSE SLE-15-SP4 dlm-kmp-defaultppc64le Advisory build 5.14.21-150400.24.158.1 SUSE-SU-2025:1027-1
SUSE / openSUSE SLE-15-SP4 dlm-kmp-defaults390x Advisory build 5.14.21-150400.24.158.1 SUSE-SU-2025:1027-1
SUSE / openSUSE SLE-15-SP4 dlm-kmp-defaultx86_64 Advisory build 5.14.21-150400.24.158.1 SUSE-SU-2025:1027-1
SUSE / openSUSE SLE-15-SP4 gfs2-kmp-defaultaarch64 Advisory build 5.14.21-150400.24.158.1 SUSE-SU-2025:1027-1
SUSE / openSUSE SLE-15-SP4 gfs2-kmp-defaultppc64le Advisory build 5.14.21-150400.24.158.1 SUSE-SU-2025:1027-1
SUSE / openSUSE SLE-15-SP4 gfs2-kmp-defaults390x Advisory build 5.14.21-150400.24.158.1 SUSE-SU-2025:1027-1
SUSE / openSUSE SLE-15-SP4 gfs2-kmp-defaultx86_64 Advisory build 5.14.21-150400.24.158.1 SUSE-SU-2025:1027-1
SUSE / openSUSE SLE-15-SP4 kernel-64kbaarch64 Advisory build 5.14.21-150400.24.158.1 SUSE-SU-2025:1027-1
SUSE / openSUSE SLE-15-SP4 kernel-64kb-develaarch64 Advisory build 5.14.21-150400.24.158.1 SUSE-SU-2025:1027-1
SUSE / openSUSE SLE-15-SP4 kernel-defaultaarch64 Advisory build 5.14.21-150400.24.158.1 SUSE-SU-2025:1027-1
SUSE / openSUSE SLE-15-SP4 kernel-defaultppc64le Advisory build 5.14.21-150400.24.158.1 SUSE-SU-2025:1027-1
SUSE / openSUSE SLE-15-SP4 kernel-defaults390x Advisory build 5.14.21-150400.24.158.1 SUSE-SU-2025:1027-1
SUSE / openSUSE SLE-15-SP4 kernel-defaultx86_64 Advisory build 5.14.21-150400.24.158.1 SUSE-SU-2025:1027-1
SUSE / openSUSE SLE-15-SP4 kernel-default-baseaarch64 Advisory build 5.14.21-150400.24.158.1.150400.24.78.1 SUSE-SU-2025:1027-1
SUSE / openSUSE SLE-15-SP4 kernel-default-baseppc64le Advisory build 5.14.21-150400.24.158.1.150400.24.78.1 SUSE-SU-2025:1027-1
SUSE / openSUSE SLE-15-SP4 kernel-default-basex86_64 Advisory build 5.14.21-150400.24.158.1.150400.24.78.1 SUSE-SU-2025:1027-1
SUSE / openSUSE SLE-15-SP4 kernel-default-develaarch64 Advisory build 5.14.21-150400.24.158.1 SUSE-SU-2025:1027-1
SUSE / openSUSE SLE-15-SP4 kernel-default-develppc64le Advisory build 5.14.21-150400.24.158.1 SUSE-SU-2025:1027-1
SUSE / openSUSE SLE-15-SP4 kernel-default-devels390x Advisory build 5.14.21-150400.24.158.1 SUSE-SU-2025:1027-1
SUSE / openSUSE SLE-15-SP4 kernel-default-develx86_64 Advisory build 5.14.21-150400.24.158.1 SUSE-SU-2025:1027-1
SUSE / openSUSE SLE-15-SP4 kernel-default-livepatchppc64le Advisory build 5.14.21-150400.24.158.1 SUSE-SU-2025:1027-1
SUSE / openSUSE SLE-15-SP4 kernel-default-livepatchs390x Advisory build 5.14.21-150400.24.158.1 SUSE-SU-2025:1027-1
SUSE / openSUSE SLE-15-SP4 kernel-default-livepatchx86_64 Advisory build 5.14.21-150400.24.158.1 SUSE-SU-2025:1027-1
SUSE / openSUSE SLE-15-SP4 kernel-default-livepatch-develppc64le Advisory build 5.14.21-150400.24.158.1 SUSE-SU-2025:1027-1
SUSE / openSUSE SLE-15-SP4 kernel-default-livepatch-devels390x Advisory build 5.14.21-150400.24.158.1 SUSE-SU-2025:1027-1
SUSE / openSUSE SLE-15-SP4 kernel-default-livepatch-develx86_64 Advisory build 5.14.21-150400.24.158.1 SUSE-SU-2025:1027-1
SUSE / openSUSE SLE-15-SP4 kernel-develnoarch Advisory build 5.14.21-150400.24.158.1 SUSE-SU-2025:1027-1
SUSE / openSUSE SLE-15-SP4 kernel-docsnoarch Advisory build 5.14.21-150400.24.158.1 SUSE-SU-2025:1027-1
SUSE / openSUSE SLE-15-SP4 kernel-livepatch-5_14_21-150400_24_158-defaultppc64le Advisory build 1-150400.9.3.1 SUSE-SU-2025:1027-1
SUSE / openSUSE SLE-15-SP4 kernel-livepatch-5_14_21-150400_24_158-defaults390x Advisory build 1-150400.9.3.1 SUSE-SU-2025:1027-1
SUSE / openSUSE SLE-15-SP4 kernel-livepatch-5_14_21-150400_24_158-defaultx86_64 Advisory build 1-150400.9.3.1 SUSE-SU-2025:1027-1
SUSE / openSUSE SLE-15-SP4 kernel-macrosnoarch Advisory build 5.14.21-150400.24.158.1 SUSE-SU-2025:1027-1
SUSE / openSUSE SLE-15-SP4 kernel-obs-buildaarch64 Advisory build 5.14.21-150400.24.158.1 SUSE-SU-2025:1027-1
SUSE / openSUSE SLE-15-SP4 kernel-obs-buildppc64le Advisory build 5.14.21-150400.24.158.1 SUSE-SU-2025:1027-1
SUSE / openSUSE SLE-15-SP4 kernel-obs-builds390x Advisory build 5.14.21-150400.24.158.1 SUSE-SU-2025:1027-1
SUSE / openSUSE SLE-15-SP4 kernel-obs-buildx86_64 Advisory build 5.14.21-150400.24.158.1 SUSE-SU-2025:1027-1
SUSE / openSUSE SLE-15-SP4 kernel-sourcenoarch Advisory build 5.14.21-150400.24.158.1 SUSE-SU-2025:1027-1
SUSE / openSUSE SLE-15-SP4 kernel-symsaarch64 Advisory build 5.14.21-150400.24.158.1 SUSE-SU-2025:1027-1
SUSE / openSUSE SLE-15-SP4 kernel-symsppc64le Advisory build 5.14.21-150400.24.158.1 SUSE-SU-2025:1027-1
SUSE / openSUSE SLE-15-SP4 kernel-symss390x Advisory build 5.14.21-150400.24.158.1 SUSE-SU-2025:1027-1
SUSE / openSUSE SLE-15-SP4 kernel-symsx86_64 Advisory build 5.14.21-150400.24.158.1 SUSE-SU-2025:1027-1
SUSE / openSUSE SLE-15-SP4 kernel-zfcpdumps390x Advisory build 5.14.21-150400.24.158.1 SUSE-SU-2025:1027-1
SUSE / openSUSE SLE-15-SP4 ocfs2-kmp-defaultaarch64 Advisory build 5.14.21-150400.24.158.1 SUSE-SU-2025:1027-1
SUSE / openSUSE SLE-15-SP4 ocfs2-kmp-defaultppc64le Advisory build 5.14.21-150400.24.158.1 SUSE-SU-2025:1027-1
SUSE / openSUSE SLE-15-SP4 ocfs2-kmp-defaults390x Advisory build 5.14.21-150400.24.158.1 SUSE-SU-2025:1027-1
SUSE / openSUSE SLE-15-SP4 ocfs2-kmp-defaultx86_64 Advisory build 5.14.21-150400.24.158.1 SUSE-SU-2025:1027-1
SUSE / openSUSE SLE-15-SP4 reiserfs-kmp-defaultaarch64 Advisory build 5.14.21-150400.24.158.1 SUSE-SU-2025:1027-1
SUSE / openSUSE SLE-15-SP4 reiserfs-kmp-defaultppc64le Advisory build 5.14.21-150400.24.158.1 SUSE-SU-2025:1027-1
SUSE / openSUSE SLE-15-SP4 reiserfs-kmp-defaults390x Advisory build 5.14.21-150400.24.158.1 SUSE-SU-2025:1027-1
SUSE / openSUSE SLE-15-SP4 reiserfs-kmp-defaultx86_64 Advisory build 5.14.21-150400.24.158.1 SUSE-SU-2025:1027-1

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

In the Linux kernel, the following vulnerability has been resolved: ocfs2: dlmfs: fix error handling of user_dlm_destroy_lock When user_dlm_destroy_lock failed, it didn't clean up the flags it set before exit. For USER_LOCK_IN_TEARDOWN, if this function fails because of lock is still in used, next time when unlink invokes this function, it will return succeed, and then unlink will remove inode and dentry if lock is not in used(file closed), but the dlm lock is still linked in dlm lock resource, then when bast come in, it will trigger a panic due to user-after-free. See the following panic call trace. To fix this, USER_LOCK_IN_TEARDOWN should be reverted if fail. And also error should be returned if USER_LOCK_IN_TEARDOWN is set to let user know that unlink fail. For the case of ocfs2_dlm_unlock failure, besides USER_LOCK_IN_TEARDOWN, USER_LOCK_BUSY is also required to be cleared. Even though spin lock is released in between, but USER_LOCK_IN_TEARDOWN is still set, for USER_LOCK_BUSY, if before every place that waits on this flag, USER_LOCK_IN_TEARDOWN is checked to bail out, that will make sure no flow waits on the busy flag set by user_dlm_destroy_lock(), then we can simplely revert USER_LOCK_BUSY when ocfs2_dlm_unlock fails. Fix user_dlm_cluster_lock() which is the only function not following this. [ 941.336392] (python,26174,16):dlmfs_unlink:562 ERROR: unlink 004fb0000060000b5a90b8c847b72e1, error -16 from destroy [ 989.757536] ------------[ cut here ]------------ [ 989.757709] kernel BUG at fs/ocfs2/dlmfs/userdlm.c:173! [ 989.757876] invalid opcode: 0000 [#1] SMP [ 989.758027] Modules linked in: ksplice_2zhuk2jr_ib_ipoib_new(O) ksplice_2zhuk2jr(O) mptctl mptbase xen_netback xen_blkback xen_gntalloc xen_gntdev xen_evtchn cdc_ether usbnet mii ocfs2 jbd2 rpcsec_gss_krb5 auth_rpcgss nfsv4 nfsv3 nfs_acl nfs fscache lockd grace ocfs2_dlmfs ocfs2_stack_o2cb ocfs2_dlm ocfs2_nodemanager ocfs2_stackglue configfs bnx2fc fcoe libfcoe libfc scsi_transport_fc sunrpc ipmi_devintf bridge stp llc rds_rdma rds bonding ib_sdp ib_ipoib rdma_ucm ib_ucm ib_uverbs ib_umad rdma_cm ib_cm iw_cm falcon_lsm_serviceable(PE) falcon_nf_netcontain(PE) mlx4_vnic falcon_kal(E) falcon_lsm_pinned_13402(E) mlx4_ib ib_sa ib_mad ib_core ib_addr xenfs xen_privcmd dm_multipath iTCO_wdt iTCO_vendor_support pcspkr sb_edac edac_core i2c_i801 lpc_ich mfd_core ipmi_ssif i2c_core ipmi_si ipmi_msghandler [ 989.760686] ioatdma sg ext3 jbd mbcache sd_mod ahci libahci ixgbe dca ptp pps_core vxlan udp_tunnel ip6_udp_tunnel megaraid_sas mlx4_core crc32c_intel be2iscsi bnx2i cnic uio cxgb4i cxgb4 cxgb3i libcxgbi ipv6 cxgb3 mdio libiscsi_tcp qla4xxx iscsi_boot_sysfs libiscsi scsi_transport_iscsi wmi dm_mirror dm_region_hash dm_log dm_mod [last unloaded: ksplice_2zhuk2jr_ib_ipoib_old] [ 989.761987] CPU: 10 PID: 19102 Comm: dlm_thread Tainted: P OE 4.1.12-124.57.1.el6uek.x86_64 #2 [ 989.762290] Hardware name: Oracle Corporation ORACLE SERVER X5-2/ASM,MOTHERBOARD,1U, BIOS 30350100 06/17/2021 [ 989.762599] task: ffff880178af6200 ti: ffff88017f7c8000 task.ti: ffff88017f7c8000 [ 989.762848] RIP: e030:[<ffffffffc07d4316>] [<ffffffffc07d4316>] __user_dlm_queue_lockres.part.4+0x76/0x80 [ocfs2_dlmfs] [ 989.763185] RSP: e02b:ffff88017f7cbcb8 EFLAGS: 00010246 [ 989.763353] RAX: 0000000000000000 RBX: ffff880174d48008 RCX: 0000000000000003 [ 989.763565] RDX: 0000000000120012 RSI: 0000000000000003 RDI: ffff880174d48170 [ 989.763778] RBP: ffff88017f7cbcc8 R08: ffff88021f4293b0 R09: 0000000000000000 [ 989.763991] R10: ffff880179c8c000 R11: 0000000000000003 R12: ffff880174d48008 [ 989.764204] R13: 0000000000000003 R14: ffff880179c8c000 R15: ffff88021db7a000 [ 989.764422] FS: 0000000000000000(0000) GS:ffff880247480000(0000) knlGS:ffff880247480000 [ 989.764685] CS: e033 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 989.764865] CR2: ffff8000007f6800 CR3: 0000000001ae0000 CR4: 0000000000042660 [ 989.765081] Stack: [ 989.765167] 00000000000 ---truncated---

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

7

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The bug is triggered via local VFS operations (open/unlink) on the ocfs2_dlmfs filesystem, not by parsing network packets. Although a remote cluster peer’s DLM request can later deliver the BAST that touches the freed object, setting up the corrupt state requires local syscall access. AC:L - The attacker fully controls both sides of the trigger sequence: hold the lock open, unlink (fails but leaves USER_LOCK_IN_TEARDOWN set), close, then unlink again so the inode is freed while the DLM lock remains. A conflicting lock request (local recreate/open or peer) reliably produces the BAST on the stale lockres. PR:L - dlmfs is a documented userspace DLM API; once an administrator has mounted it and created domain directories (modes/chown are explicitly supported for access control), an unprivileged user with write access can create, open, and unlink lock inodes and hit this path without CAP_SYS_ADMIN. UI:N - Exploitation is performed entirely by the attacker’s own open/close/unlink syscalls against dlmfs; no separate victim action is required. S:U - This is a same-host kernel UAF enabling privilege escalation within the kernel’s security authority; it does not cross a VM, IOMMU, or other security boundary. C:H - The commit documents a use-after-free: after the erroneous successful unlink, the DLM still holds a callback into the freed dlmfs_inode_private/user_lock_res (kmem_cache object), which can be reclaimed and read through the BAST path. I:H - The same UAF on a slab-allocated inode-private object is exploitable for heap reuse and arbitrary write/control-flow hijack when a BAST runs against attacker-controlled reclaimed memory. A:H - The demonstrated impact is a kernel BUG() in user_dlm_grab_inode_ref during BAST handling that escalates to a full kernel panic, and any UAF can also crash via corrupted freed memory.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 2cd9888590c52ac7592e3607d0a3174ccd57ef86 to < 1434cd71ad9f3a6beda3036972983b6c4869207c (affected · git)2cd9888590c52ac7592e3607d0a3174ccd57ef86 to < 02480e2e82ae0e5588374bbbcf4fa6e4959fa174 (affected · git)2cd9888590c52ac7592e3607d0a3174ccd57ef86 to < 733a35c00ef363a1c774d7ea486e0735b7c13a15 (affected · git)2cd9888590c52ac7592e3607d0a3174ccd57ef86 to < 82bf8e7271fade40184177cb406203addc34c4a0 (affected · git)2cd9888590c52ac7592e3607d0a3174ccd57ef86 to < 337e36550788dbe03254f0593a231c1c4873b20d (affected · git)2cd9888590c52ac7592e3607d0a3174ccd57ef86 to < 9c96238fac045b289993d7bc5aae7b2d72b25c76 (affected · git)2cd9888590c52ac7592e3607d0a3174ccd57ef86 to < efb54ec548829e1d3605f0434526f86e345b1b28 (affected · git)2cd9888590c52ac7592e3607d0a3174ccd57ef86 to < 2c5e26a626fe46675bceba853e12aaf13c712e10 (affected · git)2cd9888590c52ac7592e3607d0a3174ccd57ef86 to < 863e0d81b6683c4cbc588ad831f560c90e494bef (affected · git)Default: unaffected Linux · cna
Linux Linux 2.6.17 (affected)0 to < 2.6.17 (unaffected · semver)4.9.318 through 4.9.* (unaffected · semver)4.14.283 through 4.14.* (unaffected · semver)4.19.247 through 4.19.* (unaffected · semver)5.4.198 through 5.4.* (unaffected · semver)5.10.121 through 5.10.* (unaffected · semver)5.15.46 through 5.15.* (unaffected · semver)5.17.14 through 5.17.* (unaffected · semver)5.18.3 through 5.18.* (unaffected · semver)5.19 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

9

Provider assertions

1

Linux · cna

ocfs2: dlmfs: fix error handling of user_dlm_destroy_lock

Provenance

Schema
5.2
Searchable
yes
Content hash
ffe94eb0ac3f10391ae7f5edf58d869932da03e9d904516375cff286f40b1676
Ingested
23 Sep 2026, 08:04:12 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected