{"id":"DEBIAN-CVE-2021-47412","details":"In the Linux kernel, the following vulnerability has been resolved:  block: don't call rq_qos_ops-\u003edone_bio if the bio isn't tracked  rq_qos framework is only applied on request based driver, so:  1) rq_qos_done_bio() needn't to be called for bio based driver  2) rq_qos_done_bio() needn't to be called for bio which isn't tracked, such as bios ended from error handling code.  Especially in bio_endio():  1) request queue is referred via bio-\u003ebi_bdev-\u003ebd_disk-\u003equeue, which may be gone since request queue refcount may not be held in above two cases  2) q-\u003erq_qos may be freed in blk_cleanup_queue() when calling into __rq_qos_done_bio()  Fix the potential kernel panic by not calling rq_qos_ops-\u003edone_bio if the bio isn't tracked. This way is safe because both ioc_rqos_done_bio() and blkcg_iolatency_done_bio() are nop if the bio isn't tracked.","modified":"2026-09-15T09:02:40.079440182Z","published":"2024-05-21T15:15:26.700Z","upstream":["CVE-2021-47412"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2021-47412"}],"affected":[{"package":{"name":"linux","ecosystem":"Debian:12","purl":"pkg:deb/debian/linux?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.14.12-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2021-47412.json"}},{"package":{"name":"linux","ecosystem":"Debian:13","purl":"pkg:deb/debian/linux?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.14.12-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2021-47412.json"}},{"package":{"name":"linux","ecosystem":"Debian:14","purl":"pkg:deb/debian/linux?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.14.12-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2021-47412.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"}]}