Bug 2223718 - CVE-2023-3750 libvirt: improper locking in virStoragePoolObjListSearch may lead to denial of service [fedora-all]
Summary: CVE-2023-3750 libvirt: improper locking in virStoragePoolObjListSearch may le...
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: libvirt
Version: 38
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Libvirt Maintainers
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: CVE-2023-3750
TreeView+ depends on / blocked
 
Reported: 2023-07-18 15:38 UTC by Mauro Matteo Cascella
Modified: 2024-05-28 13:32 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-05-28 13:32:24 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Mauro Matteo Cascella 2023-07-18 15:38:29 UTC
More information about this security flaw is available in the following bug:

http://bugzilla.redhat.com/show_bug.cgi?id=2222210

Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

Comment 1 Mauro Matteo Cascella 2023-07-18 15:38:33 UTC
Use the following template to for the 'fedpkg update' request to submit an
update for this issue as it contains the top-level parent bug(s) as well as
this tracking bug.  This will ensure that all associated bugs get updated
when new packages are pushed to stable.

=====

# bugfix, security, enhancement, newpackage (required)
type=security

# low, medium, high, urgent (required)
severity=medium

# testing, stable
request=testing

# Bug numbers: 1234,9876
bugs=2222210,2223718

# Description of your update
notes=Security fix for [PUT CVEs HERE]

# Enable request automation based on the stable/unstable karma thresholds
autokarma=True
stable_karma=3
unstable_karma=-3

# Automatically close bugs when this marked as stable
close_bugs=True

# Suggest that users restart after update
suggest_reboot=False

======

Additionally, you may opt to use the bodhi web interface to submit updates:

https://bodhi.fedoraproject.org/updates/new

Comment 2 Peter Krempa 2023-07-25 11:51:44 UTC
Fixed upstream:

commit 9a47442366fcf8a7b6d7422016d7bbb6764a1098
Author: Peter Krempa <pkrempa>
Date:   Thu Jul 13 16:16:37 2023 +0200

    storage: Fix returning of locked objects from 'virStoragePoolObjListSearch'
    
    CVE-2023-3750
    
    'virStoragePoolObjListSearch' explicitly documents that it's returning
    a pointer to a locked and ref'd pool that maches the lookup function.
    
    This was not the case as in commit 0c4b391e2a9 (released in
    libvirt-8.3.0) the code was accidentally converted to use 'VIR_LOCK_GUARD'
    which auto-unlocked it when leaving the scope, even when the code was
    originally "leaking" the lock.
    
    Revert the corresponding conversion and add a comment that this function
    is intentionally leaking a locked object.
    
    Fixes: 0c4b391e2a9
    Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2221851
    Signed-off-by: Peter Krempa <pkrempa>
    Reviewed-by: Ján Tomko <jtomko>

v9.5.0-78-g9a47442366

Comment 3 Aoife Moloney 2024-05-28 13:32:24 UTC
Fedora Linux 38 entered end-of-life (EOL) status on 2024-05-21.

Fedora Linux 38 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.