CVE-2021-46973

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

State
Published
Severity
7.8 High
Published
Feb 27, 2024
Updated
Aug 5, 2026
Reserved
Feb 27, 2024

Read the record on cve.org

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

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
3.18.4 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HCISA-ADP

Weaknesses

Affected Products

ProductVersions
LinuxLinux
  • 6e728f321393b1fce9e1c2c3e55f9f7c15991321 to before 48ec949ac979b4b42d740f67b6177797af834f80Affected
  • 6e728f321393b1fce9e1c2c3e55f9f7c15991321 to before ea474054c2cc6e1284604b21361f475c7cc8c0a0Affected
  • 6e728f321393b1fce9e1c2c3e55f9f7c15991321 to before 03c649dee8b1eb5600212a249542a70f47a5ab40Affected
  • 6e728f321393b1fce9e1c2c3e55f9f7c15991321 to before 47a017f33943278570c072bc71681809b2567b3aAffected
LinuxLinux
  • 5.8Affected
  • before 5.8Not affected
  • 5.10.35 through 5.10.*Not affected
  • 5.11.19 through 5.11.*Not affected
  • 5.12.2 through 5.12.*Not affected
  • 5.13 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.