{"id":"DEBIAN-CVE-2022-49270","details":"In the Linux kernel, the following vulnerability has been resolved:  dm: fix use-after-free in dm_cleanup_zoned_dev()  dm_cleanup_zoned_dev() uses queue, so it must be called before blk_cleanup_disk() starts its killing:  blk_cleanup_disk-\u003eblk_cleanup_queue()-\u003ekobject_put()-\u003eblk_release_queue()-\u003e -\u003e...RCU...-\u003eblk_free_queue_rcu()-\u003ekmem_cache_free()  Otherwise, RCU callback may be executed first and dm_cleanup_zoned_dev() will touch free'd memory:   BUG: KASAN: use-after-free in dm_cleanup_zoned_dev+0x33/0xd0  Read of size 8 at addr ffff88805ac6e430 by task dmsetup/681   CPU: 4 PID: 681 Comm: dmsetup Not tainted 5.17.0-rc2+ #6  Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.14.0-2 04/01/2014  Call Trace:   \u003cTASK\u003e   dump_stack_lvl+0x57/0x7d   print_address_description.constprop.0+0x1f/0x150   ? dm_cleanup_zoned_dev+0x33/0xd0   kasan_report.cold+0x7f/0x11b   ? dm_cleanup_zoned_dev+0x33/0xd0   dm_cleanup_zoned_dev+0x33/0xd0   __dm_destroy+0x26a/0x400   ? dm_blk_ioctl+0x230/0x230   ? up_write+0xd8/0x270   dev_remove+0x156/0x1d0   ctl_ioctl+0x269/0x530   ? table_clear+0x140/0x140   ? lock_release+0xb2/0x750   ? remove_all+0x40/0x40   ? rcu_read_lock_sched_held+0x12/0x70   ? lock_downgrade+0x3c0/0x3c0   ? rcu_read_lock_sched_held+0x12/0x70   dm_ctl_ioctl+0xa/0x10   __x64_sys_ioctl+0xb9/0xf0   do_syscall_64+0x3b/0x90   entry_SYSCALL_64_after_hwframe+0x44/0xae  RIP: 0033:0x7fb6dfa95c27","modified":"2026-08-27T23:04:46.377917426Z","published":"2025-02-26T07:01:03.907Z","upstream":["CVE-2022-49270"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2022-49270"}],"affected":[{"package":{"name":"linux","ecosystem":"Debian:12","purl":"pkg:deb/debian/linux?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.17.3-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2022-49270.json"}},{"package":{"name":"linux","ecosystem":"Debian:13","purl":"pkg:deb/debian/linux?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.17.3-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2022-49270.json"}},{"package":{"name":"linux","ecosystem":"Debian:14","purl":"pkg:deb/debian/linux?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.17.3-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2022-49270.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:H/I:H/A:H"}]}