{"id":"DEBIAN-CVE-2024-27066","details":"In the Linux kernel, the following vulnerability has been resolved:  virtio: packed: fix unmap leak for indirect desc table  When use_dma_api and premapped are true, then the do_unmap is false.  Because the do_unmap is false, vring_unmap_extra_packed is not called by detach_buf_packed.    if (unlikely(vq-\u003edo_unmap)) {                 curr = id;                 for (i = 0; i \u003c state-\u003enum; i++) {                         vring_unmap_extra_packed(vq,                                                  &vq-\u003epacked.desc_extra[curr]);                         curr = vq-\u003epacked.desc_extra[curr].next;                 }   }  So the indirect desc table is not unmapped. This causes the unmap leak.  So here, we check vq-\u003euse_dma_api instead. Synchronously, dma info is updated based on use_dma_api judgment  This bug does not occur, because no driver use the premapped with indirect.","modified":"2026-09-15T09:03:06.228305861Z","published":"2024-05-01T13:15:50.850Z","upstream":["CVE-2024-27066"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2024-27066"}],"affected":[{"package":{"name":"linux","ecosystem":"Debian:13","purl":"pkg:deb/debian/linux?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.7.12-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2024-27066.json"}},{"package":{"name":"linux","ecosystem":"Debian:14","purl":"pkg:deb/debian/linux?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.7.12-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2024-27066.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}