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

4 results · Clear filters · Feed

  • Critical 9.8

    nvmet-tcp: check INIT_FAILED before nvmet_req_uninit in digest error path

    In the Linux kernel, the following vulnerability has been resolved: nvmet-tcp: check INIT_FAILED before nvmet_req_uninit in digest error path In nvmet_tcp_try_recv_ddgst(), when a data digest mismatch is detected, nvmet_req_uninit() is called unconditionally.…

  • Critical 9.8

    block: recompute nr_integrity_segments in blk_insert_cloned_request

    In the Linux kernel, the following vulnerability has been resolved: block: recompute nr_integrity_segments in blk_insert_cloned_request blk_insert_cloned_request() already recomputes nr_phys_segments against the bottom queue, because "the queue settings relat…

  • 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.

  • Critical 9.8

    In lwis_fence_signal of lwis_debug.c, there is a possible Use after Free due to improper locking. This could lead to lo…