{
  "cveId": "CVE-2022-48913",
  "url": "https://patchblox.com/security/cve/CVE-2022-48913",
  "summary": "CVE-2022-48913 is fixed in linux on 1 platform, first by DEBIAN-CVE-2022-48913, released August 22, 2024. It is not reported as exploited. Patch Radar priority: High.",
  "title": "linux: In the Linux kernel, the following vulnerability has been resolved:  blktrace: fix use after free for struct blk_trac...",
  "description": "In the Linux kernel, the following vulnerability has been resolved:  blktrace: fix use after free for struct blk_trace  When tracing the whole disk, \u0027dropped\u0027 and \u0027msg\u0027 will be created under \u0027q-\u003Edebugfs_dir\u0027 and \u0027bt-\u003Edir\u0027 is NULL, thus blk_trace_free() won\u0027t remove those files. What\u0027s worse, the following UAF can be triggered because of accessing stale \u0027dropped\u0027 and \u0027msg\u0027:  ================================================================== BUG: KASAN: use-after-free in blk_dropped_read\u002B0x89/0x100 Read of size 4 at addr ffff88816912f3d8 by task blktrace/1188  CPU: 27 PID: 1188 Comm: blktrace Not tainted 5.17.0-rc4-next-20220217\u002B #469 Hardware name: QEMU Standard PC (i440FX \u002B PIIX, 1996), BIOS ?-20190727_073836-4 Call Trace:  \u003CTASK\u003E  dump_stack_lvl\u002B0x34/0x44  print_address_description.constprop.0.cold\u002B0xab/0x381  ? blk_dropped_read\u002B0x89/0x100  ? blk_dropped_read\u002B0x89/0x100  kasan_report.cold\u002B0x83/0xdf  ? blk_dropped_read\u002B0x89/0x100  kasan_check_range\u002B0x140/0x1b0  blk_dropped_read\u002B0x89/0x100  ? blk_create_buf_file_callback\u002B0x20/0x20  ? kmem_cache_free\u002B0xa1/0x500  ? do_sys_openat2\u002B0x258/0x460  full_proxy_read\u002B0x8f/0xc0  vfs_read\u002B0xc6/0x260  ksys_read\u002B0xb9/0x150  ? vfs_write\u002B0x3d0/0x3d0  ? fpregs_assert_state_consistent\u002B0x55/0x60  ? exit_to_user_mode_prepare\u002B0x39/0x1e0  do_syscall_64\u002B0x35/0x80  entry_SYSCALL_64_after_hwframe\u002B0x44/0xae RIP: 0033:0x7fbc080d92fd Code: ce 20 00 00 75 10 b8 00 00 00 00 0f 05 48 3d 01 f0 ff ff 73 31 c3 48 83 1 RSP: 002b:00007fbb95ff9cb0 EFLAGS: 00000293 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 00007fbb95ff9dc0 RCX: 00007fbc080d92fd RDX: 0000000000000100 RSI: 00007fbb95ff9cc0 RDI: 0000000000000045 RBP: 0000000000000045 R08: 0000000000406299 R09: 00000000fffffffd R10: 000000000153afa0 R11: 0000000000000293 R12: 00007fbb780008c0 R13: 00007fbb78000938 R14: 0000000000608b30 R15: 00007fbb780029c8  \u003C/TASK\u003E  Allocated by task 1050:  kasan_save_stack\u002B0x1e/0x40  __kasan_kmalloc\u002B0x81/0xa0  do_blk_trace_setup\u002B0xcb/0x410  __blk_trace_setup\u002B0xac/0x130  blk_trace_ioctl\u002B0xe9/0x1c0  blkdev_ioctl\u002B0xf1/0x390  __x64_sys_ioctl\u002B0xa5/0xe0  do_syscall_64\u002B0x35/0x80  entry_SYSCALL_64_after_hwframe\u002B0x44/0xae  Freed by task 1050:  kasan_save_stack\u002B0x1e/0x40  kasan_set_track\u002B0x21/0x30  kasan_set_free_info\u002B0x20/0x30  __kasan_slab_free\u002B0x103/0x180  kfree\u002B0x9a/0x4c0  __blk_trace_remove\u002B0x53/0x70  blk_trace_ioctl\u002B0x199/0x1c0  blkdev_common_ioctl\u002B0x5e9/0xb30  blkdev_ioctl\u002B0x1a5/0x390  __x64_sys_ioctl\u002B0xa5/0xe0  do_syscall_64\u002B0x35/0x80  entry_SYSCALL_64_after_hwframe\u002B0x44/0xae  The buggy address belongs to the object at ffff88816912f380  which belongs to the cache kmalloc-96 of size 96 The buggy address is located 88 bytes inside of  96-byte region [ffff88816912f380, ffff88816912f3e0) The buggy address belongs to the page: page:000000009a1b4e7c refcount:1 mapcount:0 mapping:0000000000000000 index:0x0f flags: 0x17ffffc0000200(slab|node=0|zone=2|lastcpupid=0x1fffff) raw: 0017ffffc0000200 ffffea00044f1100 dead000000000002 ffff88810004c780 raw: 0000000000000000 0000000000200020 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected  Memory state around the buggy address:  ffff88816912f280: fa fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc  ffff88816912f300: fa fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc \u003Effff88816912f380: fa fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc                                                     ^  ffff88816912f400: fa fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc  ffff88816912f480: fa fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc ==================================================================",
  "published": "2024-08-22T02:15:05Z",
  "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.00212,
  "epssPercentile": 0.11527,
  "priority": "High",
  "priorityTier": 3,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "fixes": [
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 12.15 (bookworm)",
      "fixedVersion": "5.16.14-1",
      "fix": "DEBIAN-CVE-2022-48913",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2022-48913",
      "released": "2024-08-22T02:15:05Z"
    },
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 13.5 (trixie)",
      "fixedVersion": "5.16.14-1",
      "fix": "DEBIAN-CVE-2022-48913",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2022-48913",
      "released": "2024-08-22T02:15:05Z"
    },
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 14",
      "fixedVersion": "5.16.14-1",
      "fix": "DEBIAN-CVE-2022-48913",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2022-48913",
      "released": "2024-08-22T02:15:05Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-09T07:25:28Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}