Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 916497 (CVE-2023-3750) - <app-emulation/libvirt-{9.3.0-r1,9.4.0-r4,9.5.0-r1,9.6.0}: libvirt daemon crash
Summary: <app-emulation/libvirt-{9.3.0-r1,9.4.0-r4,9.5.0-r1,9.6.0}: libvirt daemon crash
Status: CONFIRMED
Alias: CVE-2023-3750
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Security
URL: https://listman.redhat.com/archives/l...
Whiteboard: B3 [glsa?]
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2023-10-29 18:56 UTC by John Helmert III
Modified: 2023-11-21 15:16 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2023-10-29 18:56:21 UTC
CVE-2023-3750:

A flaw was found in libvirt. The virStoragePoolObjListSearch function does not return a locked pool as expected, resulting in a race condition and denial of service when attempting to lock the same object from another thread. This issue could allow clients connecting to the read-only socket to crash the libvirt daemon.
Comment 1 Larry the Git Cow gentoo-dev 2023-10-31 16:25:24 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42fd27c7046a483b588a8e4e59f6ab8c1d2edcc2

commit 42fd27c7046a483b588a8e4e59f6ab8c1d2edcc2
Author:     Michal Privoznik <michal.privoznik@gmail.com>
AuthorDate: 2023-10-31 09:00:44 +0000
Commit:     Matthias Maier <tamiko@gentoo.org>
CommitDate: 2023-10-31 16:25:18 +0000

    app-emulation/libvirt: Backport fix for CVE-2023-3750
    
    A security flaw was identified in <app-emulation/libvirt-9.6.0
    which can result int DoS. The upstream is fixed from 9.6.0.
    Backport the fix to older versions found in portage.
    
    Bug: https://bugs.gentoo.org/916497
    Closes: https://github.com/gentoo/gentoo/pull/33604
    Signed-off-by: Michal Privoznik <michal.privoznik@gmail.com>
    Signed-off-by: Matthias Maier <tamiko@gentoo.org>

 ...-returning-of-locked-objects-from-virStor.patch | 57 ++++++++++++++++++++++
 ...ibvirt-9.3.0.ebuild => libvirt-9.3.0-r1.ebuild} |  1 +
 ...irt-9.4.0-r3.ebuild => libvirt-9.4.0-r4.ebuild} |  1 +
 ...ibvirt-9.5.0.ebuild => libvirt-9.5.0-r1.ebuild} |  1 +
 4 files changed, 60 insertions(+)
Comment 2 Matthias Maier gentoo-dev 2023-10-31 16:27:50 UTC
All versions remaining in the tree (including stable versions) are fixed.