CVE-2022-49921

net: sched: Fix use after free in red_enqueue()

State
Published
Severity
7.8 High
Published
May 1, 2025
Updated
Aug 5, 2026
Reserved
May 1, 2025

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

net: sched: Fix use after free in red_enqueue()

We can't use "skb" again after passing it to qdisc_enqueue(). This is basically identical to commit 2f09707d0c97 ("sch_sfb: Also store skb len before calling child enqueue").

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.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HCISA-ADP

Weaknesses

Affected Products

ProductVersions
LinuxLinux
  • d7f4f332f082c4d4ba53582f902ed6b44fd6f45e to before 795afe0b9bb6c915f0299a8e309936519be01619Affected
  • d7f4f332f082c4d4ba53582f902ed6b44fd6f45e to before a238cdcf2bdc72207c74375fc8be13ee549ca9dbAffected
  • d7f4f332f082c4d4ba53582f902ed6b44fd6f45e to before e877f8fa49fbccc63cb2df2e9179bddc695b825aAffected
  • d7f4f332f082c4d4ba53582f902ed6b44fd6f45e to before 52e0429471976785c155bfbf51d80990c6cd46e2Affected
  • d7f4f332f082c4d4ba53582f902ed6b44fd6f45e to before 5960b9081baca85cc7dcb14aec1de85999ea9d36Affected
  • d7f4f332f082c4d4ba53582f902ed6b44fd6f45e to before fc4b50adb400ee5ec527a04073174e8e73a139faAffected
  • d7f4f332f082c4d4ba53582f902ed6b44fd6f45e to before 170e5317042c302777ed6d59fdb84af9b0219d4eAffected
  • d7f4f332f082c4d4ba53582f902ed6b44fd6f45e to before 8bdc2acd420c6f3dd1f1c78750ec989f02a1e2b9Affected
  • ab0b3b9dbf559a5633d460e748144697bd2d3aa3Affected
  • 4.4.163 to before 4.5Affected
LinuxLinux
  • 4.7Affected
  • before 4.7Not affected
  • 4.9.333 through 4.9.*Not affected
  • 4.14.299 through 4.14.*Not affected
  • 4.19.265 through 4.19.*Not affected
  • 5.4.224 through 5.4.*Not affected
  • 5.10.154 through 5.10.*Not affected
  • 5.15.78 through 5.15.*Not affected
  • 6.0.8 through 6.0.*Not affected
  • 6.1 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.