Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2022-50482

iommu/vt-d: Clean up si_domain in the init_dmars() error path

Description

In the Linux kernel, the following vulnerability has been resolved: iommu/vt-d: Clean up si_domain in the init_dmars() error path A splat from kmem_cache_destroy() was seen with a kernel prior to commit ee2653bbe89d ("iommu/vt-d: Remove domain and devinfo mempool") when there was a failure in init_dmars(), because the iommu_domain cache still had objects. While the mempool code is now gone, there still is a leak of the si_domain memory if init_dmars() fails. So clean up si_domain in the init_dmars() error path.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 86080ccc223aabf8d0b85a504f4f06aa88e82fb3 to < 749bea542b67513e99240dc58bbfc099e842d508affected
  • 86080ccc223aabf8d0b85a504f4f06aa88e82fb3 to < 5cecfe151874b835331efe086bbdcaeaf64f6b90affected
  • 86080ccc223aabf8d0b85a504f4f06aa88e82fb3 to < 724483b585a1b1e063d42ac5aa835707ff2ec165affected
  • 86080ccc223aabf8d0b85a504f4f06aa88e82fb3 to < d74196bb278b8f8af88e16bd595997dfa3d6fdb0affected
  • 86080ccc223aabf8d0b85a504f4f06aa88e82fb3 to < 0365d6af75f9f2696e94a0fef24a2c8464c037c8affected
  • 86080ccc223aabf8d0b85a504f4f06aa88e82fb3 to < c4ad3ae4c6be9d8b0701761c839771116bca6ea3affected
  • 86080ccc223aabf8d0b85a504f4f06aa88e82fb3 to < 620bf9f981365c18cc2766c53d92bf8131c63f32affected

Linux Linux

Default version status: affected

  • 4.2affected
  • 0 to < 4.2unaffected
  • 4.14.298 to ≤ 4.14.*unaffected
  • 4.19.264 to ≤ 4.19.*unaffected
  • 5.4.221 to ≤ 5.4.*unaffected
  • 5.10.152 to ≤ 5.10.*unaffected
  • 5.15.76 to ≤ 5.15.*unaffected
  • 6.0.6 to ≤ 6.0.*unaffected
  • 6.1 to ≤ *unaffected

References