{
  "cveId": "CVE-2022-48796",
  "url": "https://patchblox.com/security/cve/CVE-2022-48796",
  "summary": "CVE-2022-48796 is fixed in linux on 1 platform, first by DEBIAN-CVE-2022-48796, released July 16, 2024. It is not reported as exploited. Patch Radar priority: High.",
  "title": "linux: In the Linux kernel, the following vulnerability has been resolved:  iommu: Fix potential use-after-free during probe...",
  "description": "In the Linux kernel, the following vulnerability has been resolved:  iommu: Fix potential use-after-free during probe  Kasan has reported the following use after free on dev-\u003Eiommu. when a device probe fails and it is in process of freeing dev-\u003Eiommu in dev_iommu_free function, a deferred_probe_work_func runs in parallel and tries to access dev-\u003Eiommu-\u003Efwspec in of_iommu_configure path thus causing use after free.  BUG: KASAN: use-after-free in of_iommu_configure\u002B0xb4/0x4a4 Read of size 8 at addr ffffff87a2f1acb8 by task kworker/u16:2/153  Workqueue: events_unbound deferred_probe_work_func Call trace:  dump_backtrace\u002B0x0/0x33c  show_stack\u002B0x18/0x24  dump_stack_lvl\u002B0x16c/0x1e0  print_address_description\u002B0x84/0x39c  __kasan_report\u002B0x184/0x308  kasan_report\u002B0x50/0x78  __asan_load8\u002B0xc0/0xc4  of_iommu_configure\u002B0xb4/0x4a4  of_dma_configure_id\u002B0x2fc/0x4d4  platform_dma_configure\u002B0x40/0x5c  really_probe\u002B0x1b4/0xb74  driver_probe_device\u002B0x11c/0x228  __device_attach_driver\u002B0x14c/0x304  bus_for_each_drv\u002B0x124/0x1b0  __device_attach\u002B0x25c/0x334  device_initial_probe\u002B0x24/0x34  bus_probe_device\u002B0x78/0x134  deferred_probe_work_func\u002B0x130/0x1a8  process_one_work\u002B0x4c8/0x970  worker_thread\u002B0x5c8/0xaec  kthread\u002B0x1f8/0x220  ret_from_fork\u002B0x10/0x18  Allocated by task 1:  ____kasan_kmalloc\u002B0xd4/0x114  __kasan_kmalloc\u002B0x10/0x1c  kmem_cache_alloc_trace\u002B0xe4/0x3d4  __iommu_probe_device\u002B0x90/0x394  probe_iommu_group\u002B0x70/0x9c  bus_for_each_dev\u002B0x11c/0x19c  bus_iommu_probe\u002B0xb8/0x7d4  bus_set_iommu\u002B0xcc/0x13c  arm_smmu_bus_init\u002B0x44/0x130 [arm_smmu]  arm_smmu_device_probe\u002B0xb88/0xc54 [arm_smmu]  platform_drv_probe\u002B0xe4/0x13c  really_probe\u002B0x2c8/0xb74  driver_probe_device\u002B0x11c/0x228  device_driver_attach\u002B0xf0/0x16c  __driver_attach\u002B0x80/0x320  bus_for_each_dev\u002B0x11c/0x19c  driver_attach\u002B0x38/0x48  bus_add_driver\u002B0x1dc/0x3a4  driver_register\u002B0x18c/0x244  __platform_driver_register\u002B0x88/0x9c  init_module\u002B0x64/0xff4 [arm_smmu]  do_one_initcall\u002B0x17c/0x2f0  do_init_module\u002B0xe8/0x378  load_module\u002B0x3f80/0x4a40  __se_sys_finit_module\u002B0x1a0/0x1e4  __arm64_sys_finit_module\u002B0x44/0x58  el0_svc_common\u002B0x100/0x264  do_el0_svc\u002B0x38/0xa4  el0_svc\u002B0x20/0x30  el0_sync_handler\u002B0x68/0xac  el0_sync\u002B0x160/0x180  Freed by task 1:  kasan_set_track\u002B0x4c/0x84  kasan_set_free_info\u002B0x28/0x4c  ____kasan_slab_free\u002B0x120/0x15c  __kasan_slab_free\u002B0x18/0x28  slab_free_freelist_hook\u002B0x204/0x2fc  kfree\u002B0xfc/0x3a4  __iommu_probe_device\u002B0x284/0x394  probe_iommu_group\u002B0x70/0x9c  bus_for_each_dev\u002B0x11c/0x19c  bus_iommu_probe\u002B0xb8/0x7d4  bus_set_iommu\u002B0xcc/0x13c  arm_smmu_bus_init\u002B0x44/0x130 [arm_smmu]  arm_smmu_device_probe\u002B0xb88/0xc54 [arm_smmu]  platform_drv_probe\u002B0xe4/0x13c  really_probe\u002B0x2c8/0xb74  driver_probe_device\u002B0x11c/0x228  device_driver_attach\u002B0xf0/0x16c  __driver_attach\u002B0x80/0x320  bus_for_each_dev\u002B0x11c/0x19c  driver_attach\u002B0x38/0x48  bus_add_driver\u002B0x1dc/0x3a4  driver_register\u002B0x18c/0x244  __platform_driver_register\u002B0x88/0x9c  init_module\u002B0x64/0xff4 [arm_smmu]  do_one_initcall\u002B0x17c/0x2f0  do_init_module\u002B0xe8/0x378  load_module\u002B0x3f80/0x4a40  __se_sys_finit_module\u002B0x1a0/0x1e4  __arm64_sys_finit_module\u002B0x44/0x58  el0_svc_common\u002B0x100/0x264  do_el0_svc\u002B0x38/0xa4  el0_svc\u002B0x20/0x30  el0_sync_handler\u002B0x68/0xac  el0_sync\u002B0x160/0x180  Fix this by setting dev-\u003Eiommu to NULL first and then freeing dev_iommu structure in dev_iommu_free function.",
  "published": "2024-07-16T12:15:04Z",
  "severity": "high",
  "cvss": 7.8,
  "cvssVector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
  "epss": 0.00255,
  "epssPercentile": 0.17138,
  "priority": "High",
  "priorityTier": 3,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "fixes": [
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 12.15 (bookworm)",
      "fixedVersion": "5.16.10-1",
      "fix": "DEBIAN-CVE-2022-48796",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2022-48796",
      "released": "2024-07-16T12:15:04Z"
    },
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 13.5 (trixie)",
      "fixedVersion": "5.16.10-1",
      "fix": "DEBIAN-CVE-2022-48796",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2022-48796",
      "released": "2024-07-16T12:15:04Z"
    },
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 14",
      "fixedVersion": "5.16.10-1",
      "fix": "DEBIAN-CVE-2022-48796",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2022-48796",
      "released": "2024-07-16T12:15:04Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-08T06:59:42Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}