Skip to content
OpenAdvisories

Weakness (CWE)

CWE-667: Improper Locking

Class Draft

The product does not properly acquire or release a lock on a resource, leading to unexpected resource state changes and behaviors.

How to prevent it (1 mitigation)
  1. Implementation

    Use industry standard APIs to implement locking mechanism.

Source: MITRE CWE-667

188 results · Feed

  • High 7.5

    bnxt_en: Fix XDP_TX path

    In the Linux kernel, the following vulnerability has been resolved: bnxt_en: Fix XDP_TX path For XDP_TX action in bnxt_rx_xdp(), clearing of the event flags is not correct. __bnxt_poll_work() -> bnxt_rx_pkt() -> bnxt_rx_xdp() may be looping within NAPI and so…

  • Medium 6.4

    espressif/usb_host_hid Double-Free Race Condition in USB Host HID Device Close Path

    Espressif ESP-IDF USB Host HID (Human Interface Device) Driver allows access to HID devices. Prior to 1.1.0, calls to hid_host_device_close() can free the same usb_transfer_t twice. The USB event callback and user code share the hid_iface_t state without lock…

  • Medium 5.3

    ZwiiCMS < 13.7.00 Lock Persistence Authenticated DoS Against Administrative Pages

    ZwiiCMS versions prior to 13.7.00 contain a denial-of-service vulnerability in multiple administrative endpoints due to improper authorization checks combined with flawed resource state management. When an authenticated low-privilege user requests an administ…

  • High 7.8
    CVE-2025-43510 Exploited

    A memory corruption issue was addressed with improved lock state checking. This issue is fixed in iOS 18.7.2 and iPadOS…

    KEV Mar 20, 2026
  • Medium 4.2

    Cross-Shard Failovers May Lead to Partial Transaction Commit in MongoDB Server

    A post-authentication flaw in the network two-phase commit protocol used for cross-shard transactions in MongoDB Server may lead to logical data inconsistencies under specific conditions which are not predictable and exist for a very short period of time. Thi…

  • Medium 6.6

    In processLaunchBrowser of CommandParamsFactory.java, there is a possible browser interaction from the lockscreen due t…

  • Low 3.3

    An issue was discovered in PyTorch v2.5 and v2.7.1. Omission of profiler.stop() can cause torch.profiler.profile (Pytho…

  • High 7.2

    Malicious TCP/IP thread locking leads into diverse malfunctions

    Improper locking vulnerability in Softing Industrial Automation GmbH gateways allows infected memory and/or resource leak exposure.This issue affects smartLink HW-PN: from 1.02 through 1.03 smartLink HW-DP: 1.31

  • Medium 5.9

    BIG-IP HSB vulnerability

    Under undisclosed traffic conditions along with conditions beyond the attacker's control, hardware systems with a High-Speed Bridge (HSB) may experience a lockup of the HSB.  Note: Software versions which have reached End of Technical Support (EoTS) are not e…

  • Medium 5.5

    net: phy: transfer phy_config_inband() locking responsibility to phylink

    In the Linux kernel, the following vulnerability has been resolved: net: phy: transfer phy_config_inband() locking responsibility to phylink Problem description =================== Lockdep reports a possible circular locking dependency (AB/BA) between &pl->st…

  • Medium 5.5

    mm/vmalloc, mm/kasan: respect gfp mask in kasan_populate_vmalloc()

    In the Linux kernel, the following vulnerability has been resolved: mm/vmalloc, mm/kasan: respect gfp mask in kasan_populate_vmalloc() kasan_populate_vmalloc() and its helpers ignore the caller's gfp_mask and always allocate memory using the hardcoded GFP_KER…

  • Medium 4.7

    btrfs: fix subvolume deletion lockup caused by inodes xarray race

    In the Linux kernel, the following vulnerability has been resolved: btrfs: fix subvolume deletion lockup caused by inodes xarray race There is a race condition between inode eviction and inode caching that can cause a live struct btrfs_inode to be missing fro…

  • Medium 5.5

    padata: Always leave BHs disabled when running ->parallel()

    In the Linux kernel, the following vulnerability has been resolved: padata: Always leave BHs disabled when running ->parallel() A deadlock can happen when an overloaded system runs ->parallel() in the context of the current task: padata_do_parallel ->parallel…

  • Medium 5.5

    btrfs: fix deadlock when aborting transaction during relocation with scrub

    In the Linux kernel, the following vulnerability has been resolved: btrfs: fix deadlock when aborting transaction during relocation with scrub Before relocating a block group we pause scrub, then do the relocation and then unpause scrub. The relocation proces…

  • Medium 5.5

    led: qcom-lpg: Fix sleeping in atomic

    In the Linux kernel, the following vulnerability has been resolved: led: qcom-lpg: Fix sleeping in atomic lpg_brighness_set() function can sleep, while led's brightness_set() callback must be non-blocking. Change LPG driver to use brightness_set_blocking() in…

  • Medium 5.5

    net/mlx5: Fix lockdep assertion on sync reset unload event

    In the Linux kernel, the following vulnerability has been resolved: net/mlx5: Fix lockdep assertion on sync reset unload event Fix lockdep assertion triggered during sync reset unload event. When the sync reset flow is initiated using the devlink reload fw_ac…

  • Medium 5.5

    drivers: staging: rtl8723bs: Fix locking in _rtw_join_timeout_handler()

    In the Linux kernel, the following vulnerability has been resolved: drivers: staging: rtl8723bs: Fix locking in _rtw_join_timeout_handler() Commit 041879b12ddb ("drivers: staging: rtl8192bs: Fix deadlock in rtw_joinbss_event_prehandle()") besides fixing the d…

  • Medium 5.5

    net/smc: fix deadlock triggered by cancel_delayed_work_syn()

    In the Linux kernel, the following vulnerability has been resolved: net/smc: fix deadlock triggered by cancel_delayed_work_syn() The following LOCKDEP was detected: Workqueue: events smc_lgr_free_work [smc] WARNING: possible circular locking dependency detect…

  • Medium 4.1

    Improper locking for some Intel(R) TDX Module firmware before version 1.5.13 may allow a privileged user to potentially…

  • Medium 5.9

    DoS in Zigbee device due to heavy traffic

    A Zigbee Radio Co-Processor (RCP), which is using SiLabs EmberZNet Zigbee stack, was unable to send messages to the host system (CPCd) due to heavy Zigbee traffic, resulting in a Denial of Service (DoS) attack, Only hard reset will bring the device to normal …

  • Medium 5.5

    Xorg-x11-server-xwayland: xorg-x11-server: tigervnc: unprocessed client request due to bytes to ignore

    A flaw was found in the X server's request handling. Non-zero 'bytes to ignore' in a client's request can cause the server to skip processing another client's request, potentially leading to a denial of service.

  • Medium 5.7

    Improper locking in the Intel(R) Integrated Connectivity I/O interface (CNVi) for some Intel(R) Core™ Ultra Processors …

  • Medium 5.5

    nilfs2: fix deadlock in nilfs_count_free_blocks()

    In the Linux kernel, the following vulnerability has been resolved: nilfs2: fix deadlock in nilfs_count_free_blocks() A semaphore deadlock can occur if nilfs_get_block() detects metadata corruption while locating data blocks and a superblock writeback occurs …

  • Medium 5.5
    CVE-2025-23134 Public exploit

    ALSA: timer: Don't take register_mutex with copy_from/to_user()

    In the Linux kernel, the following vulnerability has been resolved: ALSA: timer: Don't take register_mutex with copy_from/to_user() The infamous mmap_lock taken in copy_from/to_user() can be often problematic when it's called inside another mutex, as they mig…

  • High 8.8

    Revert "arm64: dts: qcom: sdm845: Affirm IDR0.CCTW on apps_smmu"

    In the Linux kernel, the following vulnerability has been resolved: Revert "arm64: dts: qcom: sdm845: Affirm IDR0.CCTW on apps_smmu" There are reports that the pagetable walker cache coherency is not a given across the spectrum of SDM845/850 devices, leading …

  • Medium 5.5

    bus: mhi: host: pci_generic: Use pci_try_reset_function() to avoid deadlock

    In the Linux kernel, the following vulnerability has been resolved: bus: mhi: host: pci_generic: Use pci_try_reset_function() to avoid deadlock There are multiple places from where the recovery work gets scheduled asynchronously. Also, there are multiple plac…

  • Medium 5.5

    drm/imagination: avoid deadlock on fence release

    In the Linux kernel, the following vulnerability has been resolved: drm/imagination: avoid deadlock on fence release Do scheduler queue fence release processing on a workqueue, rather than in the release function itself. Fixes deadlock issues such as the foll…

  • Medium 5.5

    NFS: fix nfs_release_folio() to not deadlock via kcompactd writeback

    In the Linux kernel, the following vulnerability has been resolved: NFS: fix nfs_release_folio() to not deadlock via kcompactd writeback Add PF_KCOMPACTD flag and current_is_kcompactd() helper to check for it so nfs_release_folio() can skip calling nfs_wb_fol…

  • High 7.5

    NFSv4: Fix a deadlock when recovering state on a sillyrenamed file

    In the Linux kernel, the following vulnerability has been resolved: NFSv4: Fix a deadlock when recovering state on a sillyrenamed file If the file is sillyrenamed, and slated for delete on close, it is possible for a server reboot to triggeer an open reclaim,…

  • Medium 5.5

    net: enetc: avoid deadlock in enetc_tx_onestep_tstamp()

    In the Linux kernel, the following vulnerability has been resolved: net: enetc: avoid deadlock in enetc_tx_onestep_tstamp() This lockdep splat says it better than I could: ================================ WARNING: inconsistent lock state 6.2.0-rc2-07010-ga9b9…

  • Medium 5.5

    Bluetooth: Fix possible deadlock in rfcomm_sk_state_change

    In the Linux kernel, the following vulnerability has been resolved: Bluetooth: Fix possible deadlock in rfcomm_sk_state_change syzbot reports a possible deadlock in rfcomm_sk_state_change [1]. While rfcomm_sock_connect acquires the sk lock and waits for the r…

  • Medium 5.5

    ptdma: pt_core_execute_cmd() should use spinlock

    In the Linux kernel, the following vulnerability has been resolved: ptdma: pt_core_execute_cmd() should use spinlock The interrupt handler (pt_core_irq_handler()) of the ptdma driver can be called from interrupt context. The code flow in this function can lea…

  • Medium 5.5

    VMCI: Use threaded irqs instead of tasklets

    In the Linux kernel, the following vulnerability has been resolved: VMCI: Use threaded irqs instead of tasklets The vmci_dispatch_dgs() tasklet function calls vmci_read_data() which uses wait_event() resulting in invalid sleep in an atomic context (and theref…

  • Medium 5.5

    f2fs: initialize locks earlier in f2fs_fill_super()

    In the Linux kernel, the following vulnerability has been resolved: f2fs: initialize locks earlier in f2fs_fill_super() syzbot is reporting lockdep warning at f2fs_handle_error() [1], for spin_lock(&sbi->error_lock) is called before spin_lock_init() is called…

  • Medium 5.5

    mm/swapfile: add cond_resched() in get_swap_pages()

    In the Linux kernel, the following vulnerability has been resolved: mm/swapfile: add cond_resched() in get_swap_pages() The softlockup still occurs in get_swap_pages() under memory pressure. 64 CPU cores, 64GB memory, and 28 zram devices, the disksize of each…

  • Medium 5.5

    USB: gadget: f_midi: f_midi_complete to call queue_work

    In the Linux kernel, the following vulnerability has been resolved: USB: gadget: f_midi: f_midi_complete to call queue_work When using USB MIDI, a lock is attempted to be acquired twice through a re-entrant call to f_midi_transmit, causing a deadlock. Fix it …

  • High 7.8

    bpf: Fix softlockup in arena_map_free on 64k page kernel

    In the Linux kernel, the following vulnerability has been resolved: bpf: Fix softlockup in arena_map_free on 64k page kernel On an aarch64 kernel with CONFIG_PAGE_SIZE_64KB=y, arena_htab tests cause a segmentation fault and soft lockup. The same failure is no…

  • Medium 5.5

    drm/i915/gt: Use spin_lock_irqsave() in interruptible context

    In the Linux kernel, the following vulnerability has been resolved: drm/i915/gt: Use spin_lock_irqsave() in interruptible context spin_lock/unlock() functions used in interrupt contexts could result in a deadlock, as seen in GitLab issue #13399, which occurs …

  • Medium 5.5

    bpf: Fix deadlock when freeing cgroup storage

    In the Linux kernel, the following vulnerability has been resolved: bpf: Fix deadlock when freeing cgroup storage The following commit bc235cdb423a ("bpf: Prevent deadlock from recursive bpf_task_storage_[get|delete]") first introduced deadlock prevention for…

  • Critical 9.8

    ksmbd: fix racy issue from session lookup and expire

    In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix racy issue from session lookup and expire Increment the session reference count within the lock for lookup to avoid racy issue with session expire.