7.8

CVE-2021-47412: block: don't call rq_qos_ops->done_bio if the bio isn't tracked

Modified
AliasesUBUNTU-CVE-2021-47412DEBIAN-CVE-2021-47412
Published 21-05-2024Last modified 05-08-2026

Vulnerability summary

CVE-2021-47412 is a high (CVSS 7.8) vulnerability in linux. EPSS estimates a 0.23% chance of exploitation in the next 30 days, higher than 14.2% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.8/10
010
High · v3.1 (CVE.org)
EPSS score
0.23%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 8 · Related 5

Timeline

  1. 21-05-2024
    PublishedVulnerability first disclosed.
  2. 05-08-2026
    Last modifiedVulnerability information updated.

Description

In the Linux kernel, the following vulnerability has been resolved: block: don't call rq_qos_ops->done_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->bi_bdev->bd_disk->queue, which may be gone since request queue refcount may not be held in above two cases 2) q->rq_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->done_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.

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.23%

Chance of exploitation in the next 30 days

Percentile

14%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.23% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

No weakness data has been published for this record.

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu91 products
  • linuxAll versions (No fix recorded)
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-awsAll versions (No fix recorded)
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Linux2 products
  • linux≥ 67b42d0bf7a8fd1ec0cf1acdc9550e688d7c8578, < db60edbfff332a6a5477c367af8125f034570989 | ≥ 67b42d0bf7a8fd1ec0cf1acdc9550e688d7c8578, < 004b8f8a691205a93d9e80d98b786b2b97424d6e | ≥ 67b42d0bf7a8fd1ec0cf1acdc9550e688d7c8578, < a647a524a46736786c95cdb553a070322ca096e3 | 4.19
  • linux_kernel< 5.10.241 | ≥ 5.11, < 5.14.11 | 5.15:rc1 | 5.15:rc2
Debian1 product
  • linux< 5.14.12-1

3 vendors · 94 products

References

8 links