CVE-2022-3872

NameCVE-2022-3872
DescriptionAn off-by-one read/write issue was found in the SDHCI device of QEMU. It occurs when reading/writing the Buffer Data Port Register in sdhci_read_dataport and sdhci_write_dataport, respectively, if data_count == block_size. A malicious guest could use this flaw to crash the QEMU process on the host, resulting in a denial of service condition.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1024022

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
qemu (PTS)jessie, jessie (lts)1:2.1+dfsg-12+deb8u23vulnerable
stretch (security)1:2.8+dfsg-6+deb9u17vulnerable
stretch (lts), stretch1:2.8+dfsg-6+deb9u19vulnerable
buster (security), buster, buster (lts)1:3.1+dfsg-8+deb10u12vulnerable
bullseye1:5.2+dfsg-11+deb11u3vulnerable
bullseye (security)1:5.2+dfsg-11+deb11u2vulnerable
bookworm1:7.2+dfsg-7+deb12u7vulnerable
sid, trixie1:9.2.0+ds-2vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
qemusource(unstable)(unfixed)1024022

Notes

[bookworm] - qemu <postponed> (Minor issue, revisit when fixed upstream)
[bullseye] - qemu <postponed> (Minor issue, revisit when fixed upstream)
[buster] - qemu <postponed> (Minor issue, DoS, waiting for sanctioned patch)
https://bugzilla.redhat.com/show_bug.cgi?id=2140567
patch proposal 1: https://lists.nongnu.org/archive/html/qemu-devel/2022-11/msg01068.html
https://patchew.org/QEMU/20221107103510.34588-1-mcascell@redhat.com/
patch proposal 2: https://lists.nongnu.org/archive/html/qemu-devel/2022-11/msg01161.html
https://patchew.org/QEMU/20221107221236.47841-1-philmd@linaro.org/
No sanctioned upstream patch as of 2024-08-06
[stretch] - qemu <postponed> (Minor issue, DoS, waiting for sanctioned patch)
[jessie] - qemu <postponed> (Minor issue, DoS, waiting for sanctioned patch)

Search for package or bug name: Reporting problems