qemu — security advisory
A NULL pointer dereference issue was found in the block mirror layer of QEMU in versions prior to 6.2.0. The `self` pointer is dereferenced in mirror_wait_on_conflicts() without ensuring that it's not NULL. A malicious unprivileged user within the guest could use this flaw to crash the QEMU process on the host when writing data reaches the threshold of mirroring node.
- Products
- qemu
- Affected versions
- Not specified
- Fixed versions
- 1:6.2+dfsg-1
- CVEs
- CVE-2021-4145
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 00:44 UTC · Revision 1
Source evidence
A NULL pointer dereference issue was found in the block mirror layer of QEMU in versions prior to 6.2.0. The `self` pointer is dereferenced in mirror_wait_on_conflicts() without ensuring that it's not NULL. A malicious unprivileged user within the guest could use this flaw to crash the QEMU process on the host when writing data reaches the threshold of mirroring node.
osv:DEBIAN-CVE-2021-4145
qemu
Fixed versions: 1:6.2+dfsg-1
qemu
Fixed versions: 1:6.2+dfsg-1
qemu
Fixed versions: 1:6.2+dfsg-1
Complete source record
{
"id": "cb7292dff315fab83e4dd1ebf07ed922d7942707c69ae1b6b82be8d481daced1",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2021-4145",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2021-4145",
"summary": "A NULL pointer dereference issue was found in the block mirror layer of QEMU in versions prior to 6.2.0. The `self` pointer is dereferenced in mirror_wait_on_conflicts() without ensuring that it's not NULL. A malicious unprivileged user within the guest could use this flaw to crash the QEMU process on the host when writing data reaches the threshold of mirroring node.",
"evidence": "osv:DEBIAN-CVE-2021-4145",
"products": [
{
"name": {
"value": "qemu",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1:6.2+dfsg-1",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "qemu",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1:6.2+dfsg-1",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "qemu",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1:6.2+dfsg-1",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
}
],
"severity": "medium",
"structured": {
"id": "DEBIAN-CVE-2021-4145",
"aliases": [
"DEBIAN-CVE-2021-4145"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1:6.2+dfsg-1"
}
]
}
],
"package": {
"name": "qemu",
"purl": "pkg:deb/debian/qemu?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-4145.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1:6.2+dfsg-1"
}
]
}
],
"package": {
"name": "qemu",
"purl": "pkg:deb/debian/qemu?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-4145.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1:6.2+dfsg-1"
}
]
}
],
"package": {
"name": "qemu",
"purl": "pkg:deb/debian/qemu?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-4145.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-23T18:03:38.859972081Z",
"provider": "osv",
"upstream": [
"CVE-2021-4145"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2021-4145"
]
},
"related_cves": [
{
"value": "CVE-2021-4145",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 422121,
"published_at": "2022-01-25T20:15:08.657+00:00"
}