CVE-2021-46973
published high CVSS 3.1 · 7.8net: qrtr: Avoid potential use after free in MHI send
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux6e728f321393b1fce9e1c2c3e55f9f7c15991321 to < 48ec949ac979b4b42d740f67b6177797af834f80 · 6e728f321393b1fce9e1c2c3e55f9f7c15991321 to < ea474054c2cc6e1284604b21361f475c7cc8c0a0 · 6e728f321393b1fce9e1c2c3e55f9f7c15991321 to < 03c649dee8b1eb5600212a249542a70f47a5ab40 · 6e728f321393b1fce9e1c2c3e55f9f7c15991321 to < 47a017f33943278570c072bc71681809b2567b3a · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.8 (affected) · 0 to < 5.8 (unaffected · semver) · 5.10.35 through 5.10.* (unaffected · semver) · 5.11.19 through 5.11.* (unaffected · semver) · 5.12.2 through 5.12.* (unaffected · semver) · 5.13 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| linux | — | linux_kernel6e728f321393 to < 48ec949ac979 (affected · git) · 6e728f321393 to < ea474054c2cc (affected · git) · 6e728f321393 through 03c649dee8b1 (affected · git) · 6e728f321393 to < 47a017f33943 (affected · git) · 5.8 (affected) · 0 to < 5.8 (unaffected · custom) · 5.10.35 through 5.11 (unaffected · custom) · 5.11.19 through 5.12 (unaffected · custom) · 5.12.2 through 5.13 (unaffected · custom) · 5.13 and later (unaffected · custom) · Other versions: unknown | Version-specific | Not stated | CISA-ADP |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
Description
In the Linux kernel, the following vulnerability has been resolved: net: qrtr: Avoid potential use after free in MHI send It is possible that the MHI ul_callback will be invoked immediately following the queueing of the skb for transmission, leading to the callback decrementing the refcount of the associated sk and freeing the skb. As such the dereference of skb and the increment of the sk refcount must happen before the skb is queued, to avoid the skb to be used after free and potentially the sk to drop its last refcount..
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The bug is in qcom_mhi_qrtr_send, reached only when a local process sendmsg()s on an AF_QIPCRTR socket to a remote QRTR node backed by the MHI IPCR endpoint; it is not triggered by inbound network/modem frames alone. AC:L - An attacker fully controls the send side and can flood sends so the MHI UL completion tasklet runs on another CPU between mhi_queue_skb() and sock_hold(), making the race reliably hittable on SMP without conditions outside attacker influence. PR:L - qrtr_create() imposes no capability check, and ephemeral port bind/send requires only an unprivileged local account (CAP_NET_ADMIN is needed only for ports below the ephemeral range). UI:N - The attacker triggers the vulnerable send path with their own socket operations; no separate victim action is required. S:U - Impact is kernel memory corruption/privilege escalation within the same host kernel authority, with no VM/IOMMU/sandbox boundary crossed. C:H - The UAF lets the UL callback free the skb (and potentially the sk via an unbalanced sock_put) before sock_hold(skb->sk), enabling heap reuse and arbitrary read primitives per UAF guidance. I:H - The same skb/sk use-after-free is exploitable for heap spray and write/control-flow hijack primitives, so integrity impact is High. A:H - Dereferencing the freed skb or prematurely freeing the socket causes kernel oops/panic even without full exploitation, so availability impact is High.
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 8.4 | high | CISA-ADP · adp | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 6e728f321393b1fce9e1c2c3e55f9f7c15991321 to < 48ec949ac979b4b42d740f67b6177797af834f80 (affected · git)6e728f321393b1fce9e1c2c3e55f9f7c15991321 to < ea474054c2cc6e1284604b21361f475c7cc8c0a0 (affected · git)6e728f321393b1fce9e1c2c3e55f9f7c15991321 to < 03c649dee8b1eb5600212a249542a70f47a5ab40 (affected · git)6e728f321393b1fce9e1c2c3e55f9f7c15991321 to < 47a017f33943278570c072bc71681809b2567b3a (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.8 (affected)0 to < 5.8 (unaffected · semver)5.10.35 through 5.10.* (unaffected · semver)5.11.19 through 5.11.* (unaffected · semver)5.12.2 through 5.12.* (unaffected · semver)5.13 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
| linux | linux_kernel | 6e728f321393 to < 48ec949ac979 (affected · git)6e728f321393 to < ea474054c2cc (affected · git)6e728f321393 through 03c649dee8b1 (affected · git)6e728f321393 to < 47a017f33943 (affected · git)5.8 (affected)0 to < 5.8 (unaffected · custom)5.10.35 through 5.11 (unaffected · custom)5.11.19 through 5.12 (unaffected · custom)5.12.2 through 5.13 (unaffected · custom)5.13 and later (unaffected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-416 CWE-416 Use After Free
References
4Provider assertions
3Linux · cna
net: qrtr: Avoid potential use after free in MHI send
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- f940bc452e58580f1b4271d09f3a077cbb514e72cea5a334c0094e75b99f1527
- Ingested
- 23 Sep 2026, 07:57:04 UTC
- Source record
- Official CVE record