lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <fed22c6e-13db-4d11-b225-c9b4b91e7ce3@kernel.org>
Date: Mon, 24 Nov 2025 10:42:04 +0100
From: "David Hildenbrand (Red Hat)" <david@...nel.org>
To: Maurice Hieronymus <mhi@...lbox.org>, mst@...hat.com, jasowang@...hat.com
Cc: virtualization@...ts.linux.dev, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 0/2] Add calls to mutex_destroy in virtio_balloon and
 virtio_mem

On 11/23/25 18:57, Maurice Hieronymus wrote:
> In [1] it is pointed out that each mutex_init call should have a
> corresponding call to mutex_destroy; otherwise, it is considered a bug.

IIUC, mutex_destroy() only ever does something during with 
CONFIG_DEBUG_MUTEXES. And there, it performs mostly sanity checks (so 
it's not some missed memory freeing etc).

I wonder whether we should still ad Fixes tags.

-- 
Cheers

David

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ