2084AI Security Observatory

CVE

CVE-2022-49377

CVE-2022-49377HIGH 7.8EPSS 22%

CNA description

In the Linux kernel, the following vulnerability has been resolved: blk-mq: don't touch ->tagset in blk_mq_get_sq_hctx blk_mq_run_hw_queues() could be run when there isn't queued request and after queue is cleaned up, at that time tagset is freed, because tagset lifetime is covered by driver, and often freed after blk_cleanup_queue() returns. So don't touch ->tagset for figuring out current default hctx by the mapping built in request queue, so use-after-free on tagset can be avoided. Meantime this way should be fast than retrieving mapping from tagset.

Affected versions

All Linux kernel vulnerabilities →

  • ≥ 5.18, < 5.18.4Fixed in 5.18.4
  • ≥ 5.16, < 5.17.15Fixed in 5.17.15
  • ≥ 5.12, < 5.15.47Fixed in 5.15.47

Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.

Advisories and patches

Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.