Search covers the description text, product and vendor names and weakness types (also partial words).

CVE-2022-49297
linux linux kernel

Score5.5 Medium
CVSS 3.1
Exploit probability (EPSS)0.29%
within the next 30 days
CategoryOther
Published26 February 2025
Last modified: 17 June 2026

In short

This vulnerability can be exploited with local access to the device, with a regular user account, without any user interaction.

A successful attack has high impact: crashing the system or making it unavailable.

✨ AI commentary

After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.

Official description

In the Linux kernel, the following vulnerability has been resolved: nbd: fix io hung while disconnecting device In our tests, "qemu-nbd" triggers a io hung: INFO: task qemu-nbd:11445 blocked for more than 368 seconds. Not tainted 5.18.0-rc3-next-20220422-00003-g2176915513ca #884 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:qemu-nbd state:D stack: 0 pid:11445 ppid: 1 flags:0x00000000 Call Trace: <TASK> __schedule+0x480/0x1050 ? _raw_spin_lock_irqsave+0x3e/0xb0 schedule+0x9c/0x1b0 blk_mq_freeze_queue_wait+0x9d/0xf0 ? ipi_rseq+0x70/0x70 blk_mq_freeze_queue+0x2b/0x40 nbd_add_socket+0x6b/0x270 [nbd] nbd_ioctl+0x383/0x510 [nbd] blkdev_ioctl+0x18e/0x3e0 __x64_sys_ioctl+0xac/0x120 do_syscall_64+0x35/0x80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fd8ff706577 RSP: 002b:00007fd8fcdfebf8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000040000000 RCX: 00007fd8ff706577 RDX: 000000000000000d RSI: 000000000000ab00 RDI: 000000000000000f RBP: 000000000000000f R08: 000000000000fbe8 R09: 000055fe497c62b0 R10: 00000002aff20000 R11: 0000000000000246 R12: 000000000000006d R13: 0000000000000000 R14: 00007ffe82dc5e70 R15: 00007fd8fcdff9c0 "qemu-ndb -d" will call ioctl 'NBD_DISCONNECT' first, however, following message was found: block nbd0: Send disconnect failed -32 Which indicate that something is wrong with the server. Then, "qemu-nbd -d" will call ioctl 'NBD_CLEAR_SOCK', however ioctl can't clear requests after commit 2516ab1543fd("nbd: only clear the queue on device teardown"). And in the meantime, request can't complete through timeout because nbd_xmit_timeout() will always return 'BLK_EH_RESET_TIMER', which means such request will never be completed in this situation. Now that the flag 'NBD_CMD_INFLIGHT' can make sure requests won't complete multiple times, switch back to call nbd_clear_sock() in nbd_clear_sock_ioctl(), so that inflight requests can be cleared.

CVSS: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected products

VendorProductVersions
linuxlinux kernel<4.14.283
linuxlinux kernel>=4.15 <4.19.247
linuxlinux kernel>=4.20 <5.4.198
linuxlinux kernel>=5.5 <5.10.122
linuxlinux kernel>=5.11 <5.15.47
linuxlinux kernel>=5.16 <5.17.15
linuxlinux kernel>=5.18 <5.18.4

Sources

Latest in the same category

  • CVE-2026-140330 High 7.4
    A flaw was found in oauth-proxy. An unauthenticated remote attacker can bypass authentication to access protected resources by sending a crafted HTTP request containing percent-encoded path traversal sequences. This…
    Other · 1 December 2026
  • CVE-2026-140038 Medium 5.1
    A flaw was found in the gprofng component of binutils. The utility creates temporary directories in shared locations using predictable names based on user and process identifiers without verifying whether the directory…
    Other · 1 December 2026
  • CVE-2026-140094 Critical 9.9
    A flaw was found in openshift-apiserver. Incomplete authorization checks in the TemplateInstance instantiation mechanism allow requests to specify arbitrary group memberships without proper validation. An authenticated…
    Other · 1 December 2026
  • CVE-2026-103657 High 8.2
    A flaw was found in cloud-provider-kubevirt. This vulnerability allows an authenticated tenant administrator to intercept network traffic or manipulate infrastructure routing. When provisioning load balancer services…
    Other · 1 December 2026
  • CVE-2026-130400 Medium 5.3
    The iOS application "MynaApp (formerly Mynaportal App)" provided by Digital Agency contains an improper restriction vulnerability due to permissive list of allowed inputs. By clicking a malicious link, a user may be…
    Other · 1 December 2026
  • CVE-2026-130399 Medium 5.3
    The Android application "MynaApp (formerly Mynaportal App)" provided by Digital Agency contains a vulnerability due to permissive list of allowed inputs. By clicking a malicious link, a user may be redirected to an…
    Other · 1 December 2026