CVE-2021-46973

net: qrtr: Avoid potential use after free in MHI send

HIGH
7.8
CVSS Score
Published: February 27, 2024 at 06:47 PM UTC
Updated: August 5, 2026 at 09:24 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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..

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.11 ≤ v ≤ 5.11.195.12 ≤ v ≤ 5.12.25.8 ≤ v ≤ 5.10.355.8 ≤ v < 5.10.355.8 ≤ v < 5.11.195.8 ≤ v < 5.12.25.8 ≤ v < 5.135.86e728f3213936e728f321393b1fce9e1c2c3e55f9f7c15991321
Vendor states this is fixed in 03c649dee8b1eb5600212a249542a70f47a5ab40 (fixed)
Vendor states this is fixed in 47a017f33943 (fixed)
Vendor states this is fixed in 47a017f33943278570c072bc71681809b2567b3a (fixed)
Vendor states this is fixed in 48ec949ac979 (fixed)
Vendor states this is fixed in 48ec949ac979b4b42d740f67b6177797af834f80 (fixed)
Vendor states this is fixed in ea474054c2cc (fixed)
Vendor states this is fixed in ea474054c2cc6e1284604b21361f475c7cc8c0a0 (fixed)
Vendor states this is fixed in 5.10.35 (unaffected)
Vendor states this is fixed in 5.11.19 (unaffected)
Vendor states this is fixed in 5.12.2 (unaffected)
Vendor states this is fixed in 5.13 (unaffected)
Vendor states this is fixed in 5.8 (unaffected)

References (4)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/03c649dee8b1eb5600212a249542a70f47a5ab40
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/47a017f33943278570c072bc71681809b2567b3a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/48ec949ac979b4b42d740f67b6177797af834f80
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ea474054c2cc6e1284604b21361f475c7cc8c0a0

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.8HIGHLinux
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-416

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card