Bug 2179892 (CVE-2023-1513) - CVE-2023-1513 kernel: KVM: information leak in KVM_GET_DEBUGREGS ioctl on 32-bit systems
Summary: CVE-2023-1513 kernel: KVM: information leak in KVM_GET_DEBUGREGS ioctl on 32-...
Keywords:
Status: NEW
Alias: CVE-2023-1513
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On: 2179894 2179895 2179896 2179897 2179898
Blocks: 2169253
TreeView+ depends on / blocked
 
Reported: 2023-03-20 10:54 UTC by Mauro Matteo Cascella
Modified: 2023-09-22 14:08 UTC (History)
46 users (show)

Fixed In Version: kernel 6.2
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in KVM. When calling the KVM_GET_DEBUGREGS ioctl, on 32-bit systems, there might be some uninitialized portions of the kvm_debugregs structure that could be copied to userspace, causing an information leak.
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Mauro Matteo Cascella 2023-03-20 10:54:03 UTC
When calling the KVM_GET_DEBUGREGS ioctl, on some configurations (32-bit systems), there might be some unitialized portions of the kvm_debugregs structure that could be copied to userspace.

Upstream patch & commit:
https://lore.kernel.org/kvm/20230214103304.3689213-1-gregkh@linuxfoundation.org/
https://github.com/torvalds/linux/commit/2c10b61421a28e95a46ab489fd56c0f442ff6952

Comment 1 Mauro Matteo Cascella 2023-03-20 11:03:30 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2179894]

Comment 4 Justin M. Forbes 2023-03-21 13:07:46 UTC
This was fixed for Fedora with the 6.1.13 stable kernel updates.


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