CVE-2026-64118

qed: fix double free in qed_cxt_tables_alloc()

State
Published
Severity
8.4 High
Published
Jul 19, 2026
Updated
Oct 19, 2026
Reserved
Jul 19, 2026

Read the record on cve.org

Description

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

qed: fix double free in qed_cxt_tables_alloc()

If one of the later PF or VF CID bitmap allocations fails, qed_cid_map_alloc() jumps to cid_map_fail and frees the previously allocated CID bitmaps before returning an error. qed_cxt_tables_alloc() then calls qed_cxt_mngr_free(), which invokes qed_cid_map_free() again.

Fix this by setting each CID bitmap pointer to NULL after bitmap_free() to avoid double free.

The bug was first flagged by an experimental analysis tool we are developing for kernel memory-management bugs while analyzing v6.13-rc1. The tool is still under development and is not yet publicly available. Manual inspection confirms that the bug is still present in v7.1-rc3.

Runtime reproduction was not attempted because exercising the failing allocation path requires device-specific setup.

Scores

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

Weaknesses

Affected Products

ProductVersions
LinuxLinux
  • fe56b9e6a8d957d6a20729d626027f800c17a2da to before 9fe030719bd083b766602692ee96c8c985798e3cAffected
  • fe56b9e6a8d957d6a20729d626027f800c17a2da to before 06fa8e69019fd3c41a7b0ea8c5f509c3a33dc227Affected
  • fe56b9e6a8d957d6a20729d626027f800c17a2da to before 8cf5e4d2ca6b101d163c7423a426fb0aec34f7bbAffected
  • fe56b9e6a8d957d6a20729d626027f800c17a2da to before 3904b993cc17ec5d7c5d3b57dbd0b775dafb9684Affected
  • fe56b9e6a8d957d6a20729d626027f800c17a2da to before bdf678a273cadbccc347f331ae2e93ff4d14834cAffected
  • fe56b9e6a8d957d6a20729d626027f800c17a2da to before 0e47fc1c9181ae029e0e35a865cbf2adcbae626cAffected
  • fe56b9e6a8d957d6a20729d626027f800c17a2da to before a04c207f0801abdd23a169b5f902a9845059a65aAffected
  • fe56b9e6a8d957d6a20729d626027f800c17a2da to before 2bccfb8476ca5f3548afbd623dc7a6980d4e77deAffected
LinuxLinux
  • 4.4Affected
  • before 4.4Not affected
  • 5.10.259 through 5.10.*Not affected
  • 5.15.210 through 5.15.*Not affected
  • 6.1.175 through 6.1.*Not affected
  • 6.6.142 through 6.6.*Not affected
  • 6.12.92 through 6.12.*Not affected
  • 6.18.34 through 6.18.*Not affected
  • 7.0.11 through 7.0.*Not affected
  • 7.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.