GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

CVE-2022-49176 (GCVE-0-2022-49176)

Vulnerability from cvelistv5 – Published: 2025-02-26 01:55 – Updated: 2026-08-12 23:58
VLAI
Title
bfq: fix use-after-free in bfq_dispatch_request
Summary
In the Linux kernel, the following vulnerability has been resolved: bfq: fix use-after-free in bfq_dispatch_request KASAN reports a use-after-free report when doing normal scsi-mq test [69832.239032] ================================================================== [69832.241810] BUG: KASAN: use-after-free in bfq_dispatch_request+0x1045/0x44b0 [69832.243267] Read of size 8 at addr ffff88802622ba88 by task kworker/3:1H/155 [69832.244656] [69832.245007] CPU: 3 PID: 155 Comm: kworker/3:1H Not tainted 5.10.0-10295-g576c6382529e #8 [69832.246626] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014 [69832.249069] Workqueue: kblockd blk_mq_run_work_fn [69832.250022] Call Trace: [69832.250541] dump_stack+0x9b/0xce [69832.251232] ? bfq_dispatch_request+0x1045/0x44b0 [69832.252243] print_address_description.constprop.6+0x3e/0x60 [69832.253381] ? __cpuidle_text_end+0x5/0x5 [69832.254211] ? vprintk_func+0x6b/0x120 [69832.254994] ? bfq_dispatch_request+0x1045/0x44b0 [69832.255952] ? bfq_dispatch_request+0x1045/0x44b0 [69832.256914] kasan_report.cold.9+0x22/0x3a [69832.257753] ? bfq_dispatch_request+0x1045/0x44b0 [69832.258755] check_memory_region+0x1c1/0x1e0 [69832.260248] bfq_dispatch_request+0x1045/0x44b0 [69832.261181] ? bfq_bfqq_expire+0x2440/0x2440 [69832.262032] ? blk_mq_delay_run_hw_queues+0xf9/0x170 [69832.263022] __blk_mq_do_dispatch_sched+0x52f/0x830 [69832.264011] ? blk_mq_sched_request_inserted+0x100/0x100 [69832.265101] __blk_mq_sched_dispatch_requests+0x398/0x4f0 [69832.266206] ? blk_mq_do_dispatch_ctx+0x570/0x570 [69832.267147] ? __switch_to+0x5f4/0xee0 [69832.267898] blk_mq_sched_dispatch_requests+0xdf/0x140 [69832.268946] __blk_mq_run_hw_queue+0xc0/0x270 [69832.269840] blk_mq_run_work_fn+0x51/0x60 [69832.278170] process_one_work+0x6d4/0xfe0 [69832.278984] worker_thread+0x91/0xc80 [69832.279726] ? __kthread_parkme+0xb0/0x110 [69832.280554] ? process_one_work+0xfe0/0xfe0 [69832.281414] kthread+0x32d/0x3f0 [69832.282082] ? kthread_park+0x170/0x170 [69832.282849] ret_from_fork+0x1f/0x30 [69832.283573] [69832.283886] Allocated by task 7725: [69832.284599] kasan_save_stack+0x19/0x40 [69832.285385] __kasan_kmalloc.constprop.2+0xc1/0xd0 [69832.286350] kmem_cache_alloc_node+0x13f/0x460 [69832.287237] bfq_get_queue+0x3d4/0x1140 [69832.287993] bfq_get_bfqq_handle_split+0x103/0x510 [69832.289015] bfq_init_rq+0x337/0x2d50 [69832.289749] bfq_insert_requests+0x304/0x4e10 [69832.290634] blk_mq_sched_insert_requests+0x13e/0x390 [69832.291629] blk_mq_flush_plug_list+0x4b4/0x760 [69832.292538] blk_flush_plug_list+0x2c5/0x480 [69832.293392] io_schedule_prepare+0xb2/0xd0 [69832.294209] io_schedule_timeout+0x13/0x80 [69832.295014] wait_for_common_io.constprop.1+0x13c/0x270 [69832.296137] submit_bio_wait+0x103/0x1a0 [69832.296932] blkdev_issue_discard+0xe6/0x160 [69832.297794] blk_ioctl_discard+0x219/0x290 [69832.298614] blkdev_common_ioctl+0x50a/0x1750 [69832.304715] blkdev_ioctl+0x470/0x600 [69832.305474] block_ioctl+0xde/0x120 [69832.306232] vfs_ioctl+0x6c/0xc0 [69832.306877] __se_sys_ioctl+0x90/0xa0 [69832.307629] do_syscall_64+0x2d/0x40 [69832.308362] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [69832.309382] [69832.309701] Freed by task 155: [69832.310328] kasan_save_stack+0x19/0x40 [69832.311121] kasan_set_track+0x1c/0x30 [69832.311868] kasan_set_free_info+0x1b/0x30 [69832.312699] __kasan_slab_free+0x111/0x160 [69832.313524] kmem_cache_free+0x94/0x460 [69832.314367] bfq_put_queue+0x582/0x940 [69832.315112] __bfq_bfqd_reset_in_service+0x166/0x1d0 [69832.317275] bfq_bfqq_expire+0xb27/0x2440 [69832.318084] bfq_dispatch_request+0x697/0x44b0 [69832.318991] __blk_mq_do_dispatch_sched+0x52f/0x830 [69832.319984] __blk_mq_sched_dispatch_requests+0x398/0x4f0 [69832.321087] blk_mq_sched_dispatch_requests+0xdf/0x140 [69832.322225] __blk_mq_run_hw_queue+0xc0/0x270 [69832.323114] blk_mq_run_work_fn+0x51/0x6 ---truncated---
SSVC
Exploitation: none Automatable: no Technical Impact: total
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2025-02-27 18:17 UTC
CWE
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 24bfd19bb7890255693ee5cb6dc100d8d215d00b , < 74e610b5ee0d95e751280567100509eb11517efa (git)
Affected: 24bfd19bb7890255693ee5cb6dc100d8d215d00b , < 5117c9ff4c2ebae0f5c2c262d42a25a8fbc086e6 (git)
Affected: 24bfd19bb7890255693ee5cb6dc100d8d215d00b , < df6e00b1a53c57dca82c63b5ecbcad5452231bc7 (git)
Affected: 24bfd19bb7890255693ee5cb6dc100d8d215d00b , < 080665e2c3cbfc68359b9a348a3546ed9b908e7a (git)
Affected: 24bfd19bb7890255693ee5cb6dc100d8d215d00b , < 5687958bf18f84384d809f521210d0f5deed03b0 (git)
Affected: 24bfd19bb7890255693ee5cb6dc100d8d215d00b , < 40b4ba0030e0b02cbacd424ebb9f4c8b0976c786 (git)
Affected: 24bfd19bb7890255693ee5cb6dc100d8d215d00b , < ab552fcb17cc9e4afe0e4ac4df95fc7b30e8490a (git)
guessed Create a notification for this product.
Linux Linux Affected: 4.15
Unaffected: 0 , < 4.15 (semver)
Unaffected: 4.19.238 , ≤ 4.19.* (semver)
Unaffected: 5.4.189 , ≤ 5.4.* (semver)
Unaffected: 5.10.110 , ≤ 5.10.* (semver)
Unaffected: 5.15.33 , ≤ 5.15.* (semver)
Unaffected: 5.16.19 , ≤ 5.16.* (semver)
Unaffected: 5.17.2 , ≤ 5.17.* (semver)
Unaffected: 5.18 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "cvssV3_1": {
              "attackComplexity": "LOW",
              "attackVector": "LOCAL",
              "availabilityImpact": "HIGH",
              "baseScore": 7.8,
              "baseSeverity": "HIGH",
              "confidentialityImpact": "HIGH",
              "integrityImpact": "HIGH",
              "privilegesRequired": "LOW",
              "scope": "UNCHANGED",
              "userInteraction": "NONE",
              "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
              "version": "3.1"
            }
          },
          {
            "other": {
              "content": {
                "id": "CVE-2022-49176",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "total"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2025-02-27T18:17:06.859094Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "problemTypes": [
          {
            "descriptions": [
              {
                "cweId": "CWE-416",
                "description": "CWE-416 Use After Free",
                "lang": "en",
                "type": "CWE"
              }
            ]
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2025-02-27T18:22:34.604Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "block/bfq-iosched.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "74e610b5ee0d95e751280567100509eb11517efa",
              "status": "affected",
              "version": "24bfd19bb7890255693ee5cb6dc100d8d215d00b",
              "versionType": "git"
            },
            {
              "lessThan": "5117c9ff4c2ebae0f5c2c262d42a25a8fbc086e6",
              "status": "affected",
              "version": "24bfd19bb7890255693ee5cb6dc100d8d215d00b",
              "versionType": "git"
            },
            {
              "lessThan": "df6e00b1a53c57dca82c63b5ecbcad5452231bc7",
              "status": "affected",
              "version": "24bfd19bb7890255693ee5cb6dc100d8d215d00b",
              "versionType": "git"
            },
            {
              "lessThan": "080665e2c3cbfc68359b9a348a3546ed9b908e7a",
              "status": "affected",
              "version": "24bfd19bb7890255693ee5cb6dc100d8d215d00b",
              "versionType": "git"
            },
            {
              "lessThan": "5687958bf18f84384d809f521210d0f5deed03b0",
              "status": "affected",
              "version": "24bfd19bb7890255693ee5cb6dc100d8d215d00b",
              "versionType": "git"
            },
            {
              "lessThan": "40b4ba0030e0b02cbacd424ebb9f4c8b0976c786",
              "status": "affected",
              "version": "24bfd19bb7890255693ee5cb6dc100d8d215d00b",
              "versionType": "git"
            },
            {
              "lessThan": "ab552fcb17cc9e4afe0e4ac4df95fc7b30e8490a",
              "status": "affected",
              "version": "24bfd19bb7890255693ee5cb6dc100d8d215d00b",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "block/bfq-iosched.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.15"
            },
            {
              "lessThan": "4.15",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.19.*",
              "status": "unaffected",
              "version": "4.19.238",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.189",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.110",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.33",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.16.*",
              "status": "unaffected",
              "version": "5.16.19",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.17.*",
              "status": "unaffected",
              "version": "5.17.2",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "5.18",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.19.238",
                  "versionStartIncluding": "4.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.189",
                  "versionStartIncluding": "4.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.110",
                  "versionStartIncluding": "4.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.33",
                  "versionStartIncluding": "4.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.16.19",
                  "versionStartIncluding": "4.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.17.2",
                  "versionStartIncluding": "4.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.18",
                  "versionStartIncluding": "4.15",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nbfq: fix use-after-free in bfq_dispatch_request\n\nKASAN reports a use-after-free report when doing normal scsi-mq test\n\n[69832.239032] ==================================================================\n[69832.241810] BUG: KASAN: use-after-free in bfq_dispatch_request+0x1045/0x44b0\n[69832.243267] Read of size 8 at addr ffff88802622ba88 by task kworker/3:1H/155\n[69832.244656]\n[69832.245007] CPU: 3 PID: 155 Comm: kworker/3:1H Not tainted 5.10.0-10295-g576c6382529e #8\n[69832.246626] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014\n[69832.249069] Workqueue: kblockd blk_mq_run_work_fn\n[69832.250022] Call Trace:\n[69832.250541]  dump_stack+0x9b/0xce\n[69832.251232]  ? bfq_dispatch_request+0x1045/0x44b0\n[69832.252243]  print_address_description.constprop.6+0x3e/0x60\n[69832.253381]  ? __cpuidle_text_end+0x5/0x5\n[69832.254211]  ? vprintk_func+0x6b/0x120\n[69832.254994]  ? bfq_dispatch_request+0x1045/0x44b0\n[69832.255952]  ? bfq_dispatch_request+0x1045/0x44b0\n[69832.256914]  kasan_report.cold.9+0x22/0x3a\n[69832.257753]  ? bfq_dispatch_request+0x1045/0x44b0\n[69832.258755]  check_memory_region+0x1c1/0x1e0\n[69832.260248]  bfq_dispatch_request+0x1045/0x44b0\n[69832.261181]  ? bfq_bfqq_expire+0x2440/0x2440\n[69832.262032]  ? blk_mq_delay_run_hw_queues+0xf9/0x170\n[69832.263022]  __blk_mq_do_dispatch_sched+0x52f/0x830\n[69832.264011]  ? blk_mq_sched_request_inserted+0x100/0x100\n[69832.265101]  __blk_mq_sched_dispatch_requests+0x398/0x4f0\n[69832.266206]  ? blk_mq_do_dispatch_ctx+0x570/0x570\n[69832.267147]  ? __switch_to+0x5f4/0xee0\n[69832.267898]  blk_mq_sched_dispatch_requests+0xdf/0x140\n[69832.268946]  __blk_mq_run_hw_queue+0xc0/0x270\n[69832.269840]  blk_mq_run_work_fn+0x51/0x60\n[69832.278170]  process_one_work+0x6d4/0xfe0\n[69832.278984]  worker_thread+0x91/0xc80\n[69832.279726]  ? __kthread_parkme+0xb0/0x110\n[69832.280554]  ? process_one_work+0xfe0/0xfe0\n[69832.281414]  kthread+0x32d/0x3f0\n[69832.282082]  ? kthread_park+0x170/0x170\n[69832.282849]  ret_from_fork+0x1f/0x30\n[69832.283573]\n[69832.283886] Allocated by task 7725:\n[69832.284599]  kasan_save_stack+0x19/0x40\n[69832.285385]  __kasan_kmalloc.constprop.2+0xc1/0xd0\n[69832.286350]  kmem_cache_alloc_node+0x13f/0x460\n[69832.287237]  bfq_get_queue+0x3d4/0x1140\n[69832.287993]  bfq_get_bfqq_handle_split+0x103/0x510\n[69832.289015]  bfq_init_rq+0x337/0x2d50\n[69832.289749]  bfq_insert_requests+0x304/0x4e10\n[69832.290634]  blk_mq_sched_insert_requests+0x13e/0x390\n[69832.291629]  blk_mq_flush_plug_list+0x4b4/0x760\n[69832.292538]  blk_flush_plug_list+0x2c5/0x480\n[69832.293392]  io_schedule_prepare+0xb2/0xd0\n[69832.294209]  io_schedule_timeout+0x13/0x80\n[69832.295014]  wait_for_common_io.constprop.1+0x13c/0x270\n[69832.296137]  submit_bio_wait+0x103/0x1a0\n[69832.296932]  blkdev_issue_discard+0xe6/0x160\n[69832.297794]  blk_ioctl_discard+0x219/0x290\n[69832.298614]  blkdev_common_ioctl+0x50a/0x1750\n[69832.304715]  blkdev_ioctl+0x470/0x600\n[69832.305474]  block_ioctl+0xde/0x120\n[69832.306232]  vfs_ioctl+0x6c/0xc0\n[69832.306877]  __se_sys_ioctl+0x90/0xa0\n[69832.307629]  do_syscall_64+0x2d/0x40\n[69832.308362]  entry_SYSCALL_64_after_hwframe+0x44/0xa9\n[69832.309382]\n[69832.309701] Freed by task 155:\n[69832.310328]  kasan_save_stack+0x19/0x40\n[69832.311121]  kasan_set_track+0x1c/0x30\n[69832.311868]  kasan_set_free_info+0x1b/0x30\n[69832.312699]  __kasan_slab_free+0x111/0x160\n[69832.313524]  kmem_cache_free+0x94/0x460\n[69832.314367]  bfq_put_queue+0x582/0x940\n[69832.315112]  __bfq_bfqd_reset_in_service+0x166/0x1d0\n[69832.317275]  bfq_bfqq_expire+0xb27/0x2440\n[69832.318084]  bfq_dispatch_request+0x697/0x44b0\n[69832.318991]  __blk_mq_do_dispatch_sched+0x52f/0x830\n[69832.319984]  __blk_mq_sched_dispatch_requests+0x398/0x4f0\n[69832.321087]  blk_mq_sched_dispatch_requests+0xdf/0x140\n[69832.322225]  __blk_mq_run_hw_queue+0xc0/0x270\n[69832.323114]  blk_mq_run_work_fn+0x51/0x6\n---truncated---"
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - The bug is in the BFQ block I/O scheduler dispatch path (bfq_dispatch_request), reached when the local block layer dispatches requests from ordinary local I/O (read/write/ioctl) on a BFQ-scheduled device, not via a network protocol handler.\nAC:L - This is a synchronous dangling-pointer UAF within one locked dispatch call (expire/free of in_serv_queue, then bfq_bfqq_wait_request on the freed object), not a race the attacker cannot control; an unprivileged user can drive the needed queue create/expire/free pattern via I/O from short-lived processes.\nPR:L - Any unprivileged local user who can perform I/O on a filesystem backed by a BFQ device creates bfq_queue objects and exercises the same dispatch path; CAP_SYS_ADMIN is not required along the vulnerable path.\nUI:N - The attacker triggers the bug solely through their own I/O activity; no separate victim action is required.\nS:U - This is standard in-host kernel memory corruption / privilege escalation within the same security authority; it does not cross a VM, IOMMU, or other security boundary.\nC:H - Use-after-free of a bfq_queue slab object (and post-unlock use via bfq_update_dispatch_stats/bfqq_group when debug stats are enabled) enables heap reuse/spray and arbitrary kernel read primitives.\nI:H - The same bfq_queue UAF is exploitable for heap spraying and control-flow hijacking / arbitrary write primitives typical of kernel slab UAFs.\nA:H - The UAF produces kernel oops/panic (as shown by the KASAN report in bfq_dispatch_request) and can be triggered repeatedly to deny service."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-12T23:58:13.436Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/74e610b5ee0d95e751280567100509eb11517efa"
        },
        {
          "url": "https://git.kernel.org/stable/c/5117c9ff4c2ebae0f5c2c262d42a25a8fbc086e6"
        },
        {
          "url": "https://git.kernel.org/stable/c/df6e00b1a53c57dca82c63b5ecbcad5452231bc7"
        },
        {
          "url": "https://git.kernel.org/stable/c/080665e2c3cbfc68359b9a348a3546ed9b908e7a"
        },
        {
          "url": "https://git.kernel.org/stable/c/5687958bf18f84384d809f521210d0f5deed03b0"
        },
        {
          "url": "https://git.kernel.org/stable/c/40b4ba0030e0b02cbacd424ebb9f4c8b0976c786"
        },
        {
          "url": "https://git.kernel.org/stable/c/ab552fcb17cc9e4afe0e4ac4df95fc7b30e8490a"
        }
      ],
      "title": "bfq: fix use-after-free in bfq_dispatch_request",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2022-49176",
    "datePublished": "2025-02-26T01:55:30.586Z",
    "dateReserved": "2025-02-26T01:49:39.280Z",
    "dateUpdated": "2026-08-12T23:58:13.436Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2022-49176",
      "date": "2026-09-16",
      "epss": "0.00272",
      "percentile": "0.19623"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2022-49176\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-02-26T07:00:54.717\",\"lastModified\":\"2026-08-13T00:17:30.217\",\"vulnStatus\":\"Analyzed\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nbfq: fix use-after-free in bfq_dispatch_request\\n\\nKASAN reports a use-after-free report when doing normal scsi-mq test\\n\\n[69832.239032] ==================================================================\\n[69832.241810] BUG: KASAN: use-after-free in bfq_dispatch_request+0x1045/0x44b0\\n[69832.243267] Read of size 8 at addr ffff88802622ba88 by task kworker/3:1H/155\\n[69832.244656]\\n[69832.245007] CPU: 3 PID: 155 Comm: kworker/3:1H Not tainted 5.10.0-10295-g576c6382529e #8\\n[69832.246626] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014\\n[69832.249069] Workqueue: kblockd blk_mq_run_work_fn\\n[69832.250022] Call Trace:\\n[69832.250541]  dump_stack+0x9b/0xce\\n[69832.251232]  ? bfq_dispatch_request+0x1045/0x44b0\\n[69832.252243]  print_address_description.constprop.6+0x3e/0x60\\n[69832.253381]  ? __cpuidle_text_end+0x5/0x5\\n[69832.254211]  ? vprintk_func+0x6b/0x120\\n[69832.254994]  ? bfq_dispatch_request+0x1045/0x44b0\\n[69832.255952]  ? bfq_dispatch_request+0x1045/0x44b0\\n[69832.256914]  kasan_report.cold.9+0x22/0x3a\\n[69832.257753]  ? bfq_dispatch_request+0x1045/0x44b0\\n[69832.258755]  check_memory_region+0x1c1/0x1e0\\n[69832.260248]  bfq_dispatch_request+0x1045/0x44b0\\n[69832.261181]  ? bfq_bfqq_expire+0x2440/0x2440\\n[69832.262032]  ? blk_mq_delay_run_hw_queues+0xf9/0x170\\n[69832.263022]  __blk_mq_do_dispatch_sched+0x52f/0x830\\n[69832.264011]  ? blk_mq_sched_request_inserted+0x100/0x100\\n[69832.265101]  __blk_mq_sched_dispatch_requests+0x398/0x4f0\\n[69832.266206]  ? blk_mq_do_dispatch_ctx+0x570/0x570\\n[69832.267147]  ? __switch_to+0x5f4/0xee0\\n[69832.267898]  blk_mq_sched_dispatch_requests+0xdf/0x140\\n[69832.268946]  __blk_mq_run_hw_queue+0xc0/0x270\\n[69832.269840]  blk_mq_run_work_fn+0x51/0x60\\n[69832.278170]  process_one_work+0x6d4/0xfe0\\n[69832.278984]  worker_thread+0x91/0xc80\\n[69832.279726]  ? __kthread_parkme+0xb0/0x110\\n[69832.280554]  ? process_one_work+0xfe0/0xfe0\\n[69832.281414]  kthread+0x32d/0x3f0\\n[69832.282082]  ? kthread_park+0x170/0x170\\n[69832.282849]  ret_from_fork+0x1f/0x30\\n[69832.283573]\\n[69832.283886] Allocated by task 7725:\\n[69832.284599]  kasan_save_stack+0x19/0x40\\n[69832.285385]  __kasan_kmalloc.constprop.2+0xc1/0xd0\\n[69832.286350]  kmem_cache_alloc_node+0x13f/0x460\\n[69832.287237]  bfq_get_queue+0x3d4/0x1140\\n[69832.287993]  bfq_get_bfqq_handle_split+0x103/0x510\\n[69832.289015]  bfq_init_rq+0x337/0x2d50\\n[69832.289749]  bfq_insert_requests+0x304/0x4e10\\n[69832.290634]  blk_mq_sched_insert_requests+0x13e/0x390\\n[69832.291629]  blk_mq_flush_plug_list+0x4b4/0x760\\n[69832.292538]  blk_flush_plug_list+0x2c5/0x480\\n[69832.293392]  io_schedule_prepare+0xb2/0xd0\\n[69832.294209]  io_schedule_timeout+0x13/0x80\\n[69832.295014]  wait_for_common_io.constprop.1+0x13c/0x270\\n[69832.296137]  submit_bio_wait+0x103/0x1a0\\n[69832.296932]  blkdev_issue_discard+0xe6/0x160\\n[69832.297794]  blk_ioctl_discard+0x219/0x290\\n[69832.298614]  blkdev_common_ioctl+0x50a/0x1750\\n[69832.304715]  blkdev_ioctl+0x470/0x600\\n[69832.305474]  block_ioctl+0xde/0x120\\n[69832.306232]  vfs_ioctl+0x6c/0xc0\\n[69832.306877]  __se_sys_ioctl+0x90/0xa0\\n[69832.307629]  do_syscall_64+0x2d/0x40\\n[69832.308362]  entry_SYSCALL_64_after_hwframe+0x44/0xa9\\n[69832.309382]\\n[69832.309701] Freed by task 155:\\n[69832.310328]  kasan_save_stack+0x19/0x40\\n[69832.311121]  kasan_set_track+0x1c/0x30\\n[69832.311868]  kasan_set_free_info+0x1b/0x30\\n[69832.312699]  __kasan_slab_free+0x111/0x160\\n[69832.313524]  kmem_cache_free+0x94/0x460\\n[69832.314367]  bfq_put_queue+0x582/0x940\\n[69832.315112]  __bfq_bfqd_reset_in_service+0x166/0x1d0\\n[69832.317275]  bfq_bfqq_expire+0xb27/0x2440\\n[69832.318084]  bfq_dispatch_request+0x697/0x44b0\\n[69832.318991]  __blk_mq_do_dispatch_sched+0x52f/0x830\\n[69832.319984]  __blk_mq_sched_dispatch_requests+0x398/0x4f0\\n[69832.321087]  blk_mq_sched_dispatch_requests+0xdf/0x140\\n[69832.322225]  __blk_mq_run_hw_queue+0xc0/0x270\\n[69832.323114]  blk_mq_run_work_fn+0x51/0x6\\n---truncated---\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: bfq: se corrige el use-after-free en bfq_dispatch_request KASAN informa un informe de use-after-free al realizar una prueba scsi-mq normal [69832.239032] ======================================================================== [69832.241810] ERROR: KASAN: use-after-free en bfq_dispatch_request+0x1045/0x44b0 [69832.243267] Lectura de tama\u00f1o 8 en la direcci\u00f3n ffff88802622ba88 por la tarea kworker/3:1H/155 [69832.244656] [69832.245007] CPU: 3 PID: 155 Comm: kworker/3:1H No contaminado 5.10.0-10295-g576c6382529e #8 [69832.246626] Nombre del hardware: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 01/04/2014 [69832.249069] Cola de trabajo: kblockd blk_mq_run_work_fn [69832.250022] Seguimiento de llamadas: [69832.250541] dump_stack+0x9b/0xce [69832.251232] ? bfq_dispatch_request+0x1045/0x44b0 [69832.252243] print_address_description.constprop.6+0x3e/0x60 [69832.253381] ? __cpuidle_text_end+0x5/0x5 [69832.254211] ? vprintk_func+0x6b/0x120 [69832.254994] ? bfq_dispatch_request+0x1045/0x44b0 [69832.255952] ? bfq_dispatch_request+0x1045/0x44b0 [69832.256914] kasan_report.cold.9+0x22/0x3a [69832.257753] ? bfq_dispatch_request+0x1045/0x44b0 [69832.258755] check_memory_region+0x1c1/0x1e0 [69832.260248] bfq_dispatch_request+0x1045/0x44b0 [69832.261181] ? bfq_bfqq_expire+0x2440/0x2440 [69832.262032] ? blk_mq_delay_run_hw_queues+0xf9/0x170 [69832.263022] __blk_mq_do_dispatch_sched+0x52f/0x830 [69832.264011] ? blk_mq_sched_request_inserted+0x100/0x100 [69832.265101] __blk_mq_sched_dispatch_requests+0x398/0x4f0 [69832.266206] ? blk_mq_do_dispatch_ctx+0x570/0x570 [69832.267147] ? __switch_to+0x5f4/0xee0 [69832.267898] blk_mq_sched_dispatch_requests+0xdf/0x140 [69832.268946] __blk_mq_run_hw_queue+0xc0/0x270 [69832.269840] blk_mq_run_work_fn+0x51/0x60 [69832.278170] process_one_work+0x6d4/0xfe0 [69832.278984] worker_thread+0x91/0xc80 [69832.279726] ? __kthread_parkme+0xb0/0x110 [69832.280554] ? process_one_work+0xfe0/0xfe0 [69832.281414] kthread+0x32d/0x3f0 [69832.282082] ? kthread_park+0x170/0x170 [69832.282849] ret_from_fork+0x1f/0x30 [69832.283573] [69832.283886] Asignado por la tarea 7725: [69832.284599] kasan_save_stack+0x19/0x40 [69832.285385] __kasan_kmalloc.constprop.2+0xc1/0xd0 [69832.286350] kmem_cache_alloc_node+0x13f/0x460 [69832.287237] bfq_get_queue+0x3d4/0x1140 [69832.287993] bfq_get_bfqq_handle_split+0x103/0x510 [69832.289015] bfq_init_rq+0x337/0x2d50 [69832.289749] bfq_insert_requests+0x304/0x4e10 [69832.290634] blk_mq_sched_insert_requests+0x13e/0x390 [69832.291629] blk_mq_flush_plug_list+0x4b4/0x760 [69832.292538] blk_flush_plug_list+0x2c5/0x480 [69832.293392] io_schedule_prepare+0xb2/0xd0 [69832.294209] io_schedule_timeout+0x13/0x80 [69832.295014] wait_for_common_io.constprop.1+0x13c/0x270 [69832.296137] submit_bio_wait+0x103/0x1a0 [69832.296932] blkdev_issue_discard+0xe6/0x160 [69832.297794] blk_ioctl_discard+0x219/0x290 [69832.298614] blkdev_common_ioctl+0x50a/0x1750 [69832.304715] blkdev_ioctl+0x470/0x600 [69832.305474] block_ioctl+0xde/0x120 [69832.306232] vfs_ioctl+0x6c/0xc0 [69832.306877] __se_sys_ioctl+0x90/0xa0 [69832.307629] do_syscall_64+0x2d/0x40 [69832.308362] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [69832.309382] [69832.309701] Freed by task 155: [69832.310328] kasan_save_stack+0x19/0x40 [69832.311121] kasan_set_track+0x1c/0x30 [69832.311868] kasan_set_free_info+0x1b/0x30 [69832.312699] __kasan_slab_free+0x111/0x160 [69832.313524] kmem_cache_free+0x94/0x460 [69832.314367] bfq_put_queue+0x582/0x940 [69832.315112] __bfq_bfqd_reset_in_service+0x166/0x1d0 [69832.317275] bfq_bfqq_expire+0xb27/0x2440 [69832.318084] bfq_dispatch_request+0x697/0x44b0 [69832.318991] __blk_mq_do_dispatch_sched+0x52f/0x830 [69832.319984] __blk_mq_sched_dispatch_requests+0x398/0x4f0 [69832.321087] blk_mq_sched_dispatch_requests+0xdf/0x140 [69832.322225] __blk_mq_run_hw_queue+0xc0/0x270 [69832.323114] blk_mq_run_work_fn+0x51/0x6 ---truncado---\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"block/bfq-iosched.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"24bfd19bb7890255693ee5cb6dc100d8d215d00b\",\"lessThan\":\"74e610b5ee0d95e751280567100509eb11517efa\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"24bfd19bb7890255693ee5cb6dc100d8d215d00b\",\"lessThan\":\"5117c9ff4c2ebae0f5c2c262d42a25a8fbc086e6\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"24bfd19bb7890255693ee5cb6dc100d8d215d00b\",\"lessThan\":\"df6e00b1a53c57dca82c63b5ecbcad5452231bc7\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"24bfd19bb7890255693ee5cb6dc100d8d215d00b\",\"lessThan\":\"080665e2c3cbfc68359b9a348a3546ed9b908e7a\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"24bfd19bb7890255693ee5cb6dc100d8d215d00b\",\"lessThan\":\"5687958bf18f84384d809f521210d0f5deed03b0\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"24bfd19bb7890255693ee5cb6dc100d8d215d00b\",\"lessThan\":\"40b4ba0030e0b02cbacd424ebb9f4c8b0976c786\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"24bfd19bb7890255693ee5cb6dc100d8d215d00b\",\"lessThan\":\"ab552fcb17cc9e4afe0e4ac4df95fc7b30e8490a\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"block/bfq-iosched.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"4.15\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"4.15\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"4.19.238\",\"lessThanOrEqual\":\"4.19.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.4.189\",\"lessThanOrEqual\":\"5.4.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.10.110\",\"lessThanOrEqual\":\"5.10.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.15.33\",\"lessThanOrEqual\":\"5.15.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.16.19\",\"lessThanOrEqual\":\"5.16.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.17.2\",\"lessThanOrEqual\":\"5.17.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.18\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\",\"baseScore\":7.8,\"baseSeverity\":\"HIGH\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":5.9},{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\",\"baseScore\":7.8,\"baseSeverity\":\"HIGH\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":5.9}],\"ssvcV203\":[{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"ssvcData\":{\"timestamp\":\"2025-02-27T18:17:06.859094Z\",\"id\":\"CVE-2022-49176\",\"options\":[{\"exploitation\":\"none\"},{\"automatable\":\"no\"},{\"technicalImpact\":\"total\"}],\"role\":\"CISA Coordinator\",\"version\":\"2.0.3\"}}]},\"weaknesses\":[{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"type\":\"Secondary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-416\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionEndExcluding\":\"4.19.238\",\"matchCriteriaId\":\"E0B62342-F287-4C6B-92AA-C1BC61DDAFFA\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"4.20\",\"versionEndExcluding\":\"5.4.189\",\"matchCriteriaId\":\"8CB6E8F5-C2B1-46F3-A807-0F6104AC340F\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.5\",\"versionEndExcluding\":\"5.10.110\",\"matchCriteriaId\":\"91D3BFD0-D3F3-4018-957C-96CCBF357D79\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.11\",\"versionEndExcluding\":\"5.15.33\",\"matchCriteriaId\":\"27C42AE8-B387-43E2-938A-E1C8B40BE6D5\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.16\",\"versionEndExcluding\":\"5.16.19\",\"matchCriteriaId\":\"20C43679-0439-405A-B97F-685BEE50613B\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.17\",\"versionEndExcluding\":\"5.17.2\",\"matchCriteriaId\":\"210C679C-CF84-44A3-8939-E629C87E54BF\"}]}]}],\"references\":[{\"url\":\"https://git.kernel.org/stable/c/080665e2c3cbfc68359b9a348a3546ed9b908e7a\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/40b4ba0030e0b02cbacd424ebb9f4c8b0976c786\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/5117c9ff4c2ebae0f5c2c262d42a25a8fbc086e6\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/5687958bf18f84384d809f521210d0f5deed03b0\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/74e610b5ee0d95e751280567100509eb11517efa\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/ab552fcb17cc9e4afe0e4ac4df95fc7b30e8490a\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/df6e00b1a53c57dca82c63b5ecbcad5452231bc7\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]}]}}",
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-06-29T21:00:31+00:00",
      "cve": "CVE-2022-49176",
      "id": "CVE-2022-49176",
      "initial_release_date": "2022-01-01T00:00:00+00:00",
      "product_status:known_affected": "156",
      "product_status:known_not_affected": "118",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: bfq: fix use-after-free in bfq_dispatch_request",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-49176.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-08-27T00:52:07Z",
      "cve": "CVE-2022-49176",
      "id": "CVE-2022-49176",
      "initial_release_date": "2025-02-27T03:11:06Z",
      "product_status:known_affected": "410",
      "product_status:known_not_affected": "230",
      "product_status:recommended": "249",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2022-49176",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2022-49176.json",
      "version": "53"
    },
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"cvssV3_1\": {\"scope\": \"UNCHANGED\", \"version\": \"3.1\", \"baseScore\": 7.8, \"attackVector\": \"LOCAL\", \"baseSeverity\": \"HIGH\", \"vectorString\": \"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\", \"integrityImpact\": \"HIGH\", \"userInteraction\": \"NONE\", \"attackComplexity\": \"LOW\", \"availabilityImpact\": \"HIGH\", \"privilegesRequired\": \"LOW\", \"confidentialityImpact\": \"HIGH\"}}, {\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2022-49176\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"total\"}], \"version\": \"2.0.3\", \"timestamp\": \"2025-02-27T18:17:06.859094Z\"}}}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-416\", \"description\": \"CWE-416 Use After Free\"}]}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2025-02-27T18:17:08.059Z\"}}], \"cna\": {\"title\": \"bfq: fix use-after-free in bfq_dispatch_request\", \"metrics\": [{\"cvssV3_1\": {\"version\": \"3.1\", \"baseScore\": 7.8, \"baseSeverity\": \"HIGH\", \"vectorString\": \"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\"}, \"scenarios\": [{\"lang\": \"en\", \"value\": \"AV:L - The bug is in the BFQ block I/O scheduler dispatch path (bfq_dispatch_request), reached when the local block layer dispatches requests from ordinary local I/O (read/write/ioctl) on a BFQ-scheduled device, not via a network protocol handler.\\nAC:L - This is a synchronous dangling-pointer UAF within one locked dispatch call (expire/free of in_serv_queue, then bfq_bfqq_wait_request on the freed object), not a race the attacker cannot control; an unprivileged user can drive the needed queue create/expire/free pattern via I/O from short-lived processes.\\nPR:L - Any unprivileged local user who can perform I/O on a filesystem backed by a BFQ device creates bfq_queue objects and exercises the same dispatch path; CAP_SYS_ADMIN is not required along the vulnerable path.\\nUI:N - The attacker triggers the bug solely through their own I/O activity; no separate victim action is required.\\nS:U - This is standard in-host kernel memory corruption / privilege escalation within the same security authority; it does not cross a VM, IOMMU, or other security boundary.\\nC:H - Use-after-free of a bfq_queue slab object (and post-unlock use via bfq_update_dispatch_stats/bfqq_group when debug stats are enabled) enables heap reuse/spray and arbitrary kernel read primitives.\\nI:H - The same bfq_queue UAF is exploitable for heap spraying and control-flow hijacking / arbitrary write primitives typical of kernel slab UAFs.\\nA:H - The UAF produces kernel oops/panic (as shown by the KASAN report in bfq_dispatch_request) and can be triggered repeatedly to deny service.\"}]}], \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"24bfd19bb7890255693ee5cb6dc100d8d215d00b\", \"lessThan\": \"74e610b5ee0d95e751280567100509eb11517efa\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"24bfd19bb7890255693ee5cb6dc100d8d215d00b\", \"lessThan\": \"5117c9ff4c2ebae0f5c2c262d42a25a8fbc086e6\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"24bfd19bb7890255693ee5cb6dc100d8d215d00b\", \"lessThan\": \"df6e00b1a53c57dca82c63b5ecbcad5452231bc7\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"24bfd19bb7890255693ee5cb6dc100d8d215d00b\", \"lessThan\": \"080665e2c3cbfc68359b9a348a3546ed9b908e7a\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"24bfd19bb7890255693ee5cb6dc100d8d215d00b\", \"lessThan\": \"5687958bf18f84384d809f521210d0f5deed03b0\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"24bfd19bb7890255693ee5cb6dc100d8d215d00b\", \"lessThan\": \"40b4ba0030e0b02cbacd424ebb9f4c8b0976c786\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"24bfd19bb7890255693ee5cb6dc100d8d215d00b\", \"lessThan\": \"ab552fcb17cc9e4afe0e4ac4df95fc7b30e8490a\", \"versionType\": \"git\"}], \"programFiles\": [\"block/bfq-iosched.c\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"4.15\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"4.15\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"4.19.238\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"4.19.*\"}, {\"status\": \"unaffected\", \"version\": \"5.4.189\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.4.*\"}, {\"status\": \"unaffected\", \"version\": \"5.10.110\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.10.*\"}, {\"status\": \"unaffected\", \"version\": \"5.15.33\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.15.*\"}, {\"status\": \"unaffected\", \"version\": \"5.16.19\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.16.*\"}, {\"status\": \"unaffected\", \"version\": \"5.17.2\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.17.*\"}, {\"status\": \"unaffected\", \"version\": \"5.18\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"block/bfq-iosched.c\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/74e610b5ee0d95e751280567100509eb11517efa\"}, {\"url\": \"https://git.kernel.org/stable/c/5117c9ff4c2ebae0f5c2c262d42a25a8fbc086e6\"}, {\"url\": \"https://git.kernel.org/stable/c/df6e00b1a53c57dca82c63b5ecbcad5452231bc7\"}, {\"url\": \"https://git.kernel.org/stable/c/080665e2c3cbfc68359b9a348a3546ed9b908e7a\"}, {\"url\": \"https://git.kernel.org/stable/c/5687958bf18f84384d809f521210d0f5deed03b0\"}, {\"url\": \"https://git.kernel.org/stable/c/40b4ba0030e0b02cbacd424ebb9f4c8b0976c786\"}, {\"url\": \"https://git.kernel.org/stable/c/ab552fcb17cc9e4afe0e4ac4df95fc7b30e8490a\"}], \"x_generator\": {\"engine\": \"bippy-1.2.0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\nbfq: fix use-after-free in bfq_dispatch_request\\n\\nKASAN reports a use-after-free report when doing normal scsi-mq test\\n\\n[69832.239032] ==================================================================\\n[69832.241810] BUG: KASAN: use-after-free in bfq_dispatch_request+0x1045/0x44b0\\n[69832.243267] Read of size 8 at addr ffff88802622ba88 by task kworker/3:1H/155\\n[69832.244656]\\n[69832.245007] CPU: 3 PID: 155 Comm: kworker/3:1H Not tainted 5.10.0-10295-g576c6382529e #8\\n[69832.246626] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014\\n[69832.249069] Workqueue: kblockd blk_mq_run_work_fn\\n[69832.250022] Call Trace:\\n[69832.250541]  dump_stack+0x9b/0xce\\n[69832.251232]  ? bfq_dispatch_request+0x1045/0x44b0\\n[69832.252243]  print_address_description.constprop.6+0x3e/0x60\\n[69832.253381]  ? __cpuidle_text_end+0x5/0x5\\n[69832.254211]  ? vprintk_func+0x6b/0x120\\n[69832.254994]  ? bfq_dispatch_request+0x1045/0x44b0\\n[69832.255952]  ? bfq_dispatch_request+0x1045/0x44b0\\n[69832.256914]  kasan_report.cold.9+0x22/0x3a\\n[69832.257753]  ? bfq_dispatch_request+0x1045/0x44b0\\n[69832.258755]  check_memory_region+0x1c1/0x1e0\\n[69832.260248]  bfq_dispatch_request+0x1045/0x44b0\\n[69832.261181]  ? bfq_bfqq_expire+0x2440/0x2440\\n[69832.262032]  ? blk_mq_delay_run_hw_queues+0xf9/0x170\\n[69832.263022]  __blk_mq_do_dispatch_sched+0x52f/0x830\\n[69832.264011]  ? blk_mq_sched_request_inserted+0x100/0x100\\n[69832.265101]  __blk_mq_sched_dispatch_requests+0x398/0x4f0\\n[69832.266206]  ? blk_mq_do_dispatch_ctx+0x570/0x570\\n[69832.267147]  ? __switch_to+0x5f4/0xee0\\n[69832.267898]  blk_mq_sched_dispatch_requests+0xdf/0x140\\n[69832.268946]  __blk_mq_run_hw_queue+0xc0/0x270\\n[69832.269840]  blk_mq_run_work_fn+0x51/0x60\\n[69832.278170]  process_one_work+0x6d4/0xfe0\\n[69832.278984]  worker_thread+0x91/0xc80\\n[69832.279726]  ? __kthread_parkme+0xb0/0x110\\n[69832.280554]  ? process_one_work+0xfe0/0xfe0\\n[69832.281414]  kthread+0x32d/0x3f0\\n[69832.282082]  ? kthread_park+0x170/0x170\\n[69832.282849]  ret_from_fork+0x1f/0x30\\n[69832.283573]\\n[69832.283886] Allocated by task 7725:\\n[69832.284599]  kasan_save_stack+0x19/0x40\\n[69832.285385]  __kasan_kmalloc.constprop.2+0xc1/0xd0\\n[69832.286350]  kmem_cache_alloc_node+0x13f/0x460\\n[69832.287237]  bfq_get_queue+0x3d4/0x1140\\n[69832.287993]  bfq_get_bfqq_handle_split+0x103/0x510\\n[69832.289015]  bfq_init_rq+0x337/0x2d50\\n[69832.289749]  bfq_insert_requests+0x304/0x4e10\\n[69832.290634]  blk_mq_sched_insert_requests+0x13e/0x390\\n[69832.291629]  blk_mq_flush_plug_list+0x4b4/0x760\\n[69832.292538]  blk_flush_plug_list+0x2c5/0x480\\n[69832.293392]  io_schedule_prepare+0xb2/0xd0\\n[69832.294209]  io_schedule_timeout+0x13/0x80\\n[69832.295014]  wait_for_common_io.constprop.1+0x13c/0x270\\n[69832.296137]  submit_bio_wait+0x103/0x1a0\\n[69832.296932]  blkdev_issue_discard+0xe6/0x160\\n[69832.297794]  blk_ioctl_discard+0x219/0x290\\n[69832.298614]  blkdev_common_ioctl+0x50a/0x1750\\n[69832.304715]  blkdev_ioctl+0x470/0x600\\n[69832.305474]  block_ioctl+0xde/0x120\\n[69832.306232]  vfs_ioctl+0x6c/0xc0\\n[69832.306877]  __se_sys_ioctl+0x90/0xa0\\n[69832.307629]  do_syscall_64+0x2d/0x40\\n[69832.308362]  entry_SYSCALL_64_after_hwframe+0x44/0xa9\\n[69832.309382]\\n[69832.309701] Freed by task 155:\\n[69832.310328]  kasan_save_stack+0x19/0x40\\n[69832.311121]  kasan_set_track+0x1c/0x30\\n[69832.311868]  kasan_set_free_info+0x1b/0x30\\n[69832.312699]  __kasan_slab_free+0x111/0x160\\n[69832.313524]  kmem_cache_free+0x94/0x460\\n[69832.314367]  bfq_put_queue+0x582/0x940\\n[69832.315112]  __bfq_bfqd_reset_in_service+0x166/0x1d0\\n[69832.317275]  bfq_bfqq_expire+0xb27/0x2440\\n[69832.318084]  bfq_dispatch_request+0x697/0x44b0\\n[69832.318991]  __blk_mq_do_dispatch_sched+0x52f/0x830\\n[69832.319984]  __blk_mq_sched_dispatch_requests+0x398/0x4f0\\n[69832.321087]  blk_mq_sched_dispatch_requests+0xdf/0x140\\n[69832.322225]  __blk_mq_run_hw_queue+0xc0/0x270\\n[69832.323114]  blk_mq_run_work_fn+0x51/0x6\\n---truncated---\"}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"4.19.238\", \"versionStartIncluding\": \"4.15\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.4.189\", \"versionStartIncluding\": \"4.15\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.10.110\", \"versionStartIncluding\": \"4.15\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.15.33\", \"versionStartIncluding\": \"4.15\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.16.19\", \"versionStartIncluding\": \"4.15\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.17.2\", \"versionStartIncluding\": \"4.15\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.18\", \"versionStartIncluding\": \"4.15\"}], \"operator\": \"OR\"}]}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2026-08-12T23:58:13.436Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2022-49176\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-08-12T23:58:13.436Z\", \"dateReserved\": \"2025-02-26T01:49:39.280Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2025-02-26T01:55:30.586Z\", \"assignerShortName\": \"Linux\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…