CVSS 3.1
Вероятност да бъде експлоатирана в следващите 30 дни (EPSS)
Атакува се
Време до експлоатация
Атакува се по мрежата, при специфични условия, без вход и без действие от потребителя.
Описание
Оригинално описание
In the Linux kernel, the following vulnerability has been resolved: IB/isert: wait for deferred control PDU completions before releasing the connection isert_send_done() hands ISTATE_SEND_TASKMGTRSP, ISTATE_SEND_REJECT and ISTATE_SEND_TEXTRSP completions off to isert_comp_wq and returns. The work item then runs isert_completion_put() -> isert_put_cmd(), which reads isert_conn->conn and takes conn->cmd_lock. Nothing orders that work item against teardown. isert_wait_conn() queues isert_release_work, which frees isert_conn, and iscsit_close_connection() frees the iscsit_conn right after it returns, so the queued work can run against freed memory. Count the deferred control PDU completions per connection and let isert_wait_conn() wait for them before the release work is queued. ISTATE_SEND_LOGOUTRSP is deliberately not counted: that branch runs iscsit_logout_post_handler(), which ends up waiting for conn->conn_wait_comp, and that completion is only sent by iscsit_close_connection() after it has called iscsit_wait_conn(). Waiting for it here would deadlock. Its wait stays the existing isert_wait4logout(). The splat below is from a kernel with tracing printk()s and an msleep(200) injected into isert_do_control_comp() to widen the window: BUG: KASAN: slab-use-after-free in isert_put_cmd+0x53d/0x620 Read of size 8 at addr ffff8881054f1038 by task kworker/u17:1/182 CPU: 0 UID: 0 PID: 182 Comm: kworker/u17:1 Tainted: G B 7.2.0-rc5-TWIDE-gb8babf08acc7 #1 PREEMPT(lazy) Tainted: [B]=BAD_PAGE Hardware name: QEMU Ubuntu 24.04 PC v2 (i440FX + PIIX, arch_caps fix, 1996), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 Workqueue: isert_comp_wq isert_do_control_comp Call Trace: <TASK> dump_stack_lvl+0x53/0x70 print_report+0xd0/0x630 ? __pfx__raw_spin_lock_irqsave+0x10/0x10 ? _raw_spin_unlock_irqrestore+0x3e/0x70 ? isert_put_cmd+0x53d/0x620 kasan_report+0xce/0x100 ? isert_put_cmd+0x53d/0x620 isert_put_cmd+0x53d/0x620 ? ise
Засегнати продукти
- Linux Linux: b8d26b3be8b33682cf163274ed07479a70554633 преди f5613acbe2e346d5c466ef0bd264fca936b69f82; b8d26b3be8b33682cf163274ed07479a70554633 преди ccdb1523f12bc8a9646de65055d1aafed9e9bcc6; b8d26b3be8b33682cf163274ed07479a70554633 преди 0e230917670c6e6fe3243abfa11299fcbe05b1f4; b8d26b3be8b33682cf163274ed07479a70554633 преди 505b242d9351690d1385bbe508ab4666f60363ce; b8d26b3be8b33682cf163274ed07479a70554633 преди 7edb8a88d6c76237c8b4435765bee1009e26a50a; b8d26b3be8b33682cf163274ed07479a70554633 преди b96b8b3e41c308f606ffd10cfef1a7b9f97414cd; b8d26b3be8b33682cf163274ed07479a70554633 преди 7908fbc597a694bbd99bfb59ece73bc3daded68e; b8d26b3be8b33682cf163274ed07479a70554633 преди a8fe3dfce8c0d8a76dc3d8486a5bff5feebe156f
- Linux Linux: 3.10; преди 3.10; 5.10.271 до 5.10.*; 5.15.222 до 5.15.*; 6.1.189 до 6.1.*; 6.6.158 до 6.6.*; 6.12.112 до 6.12.*; 6.18.54 до 6.18.*; 7.2.8 до 7.2.*; 7.3 до *
История
- 6 октомври 2026 Публикувано
Други уязвимости в Linux Linux
Първоизточници
- https://www.cve.org/CVERecord?id=CVE-2026-98357
- https://nvd.nist.gov/vuln/detail/CVE-2026-98357
- https://git.kernel.org/stable/c/f5613acbe2e346d5c466ef0bd264fca936b69f82
- https://git.kernel.org/stable/c/ccdb1523f12bc8a9646de65055d1aafed9e9bcc6
- https://git.kernel.org/stable/c/0e230917670c6e6fe3243abfa11299fcbe05b1f4
- https://git.kernel.org/stable/c/505b242d9351690d1385bbe508ab4666f60363ce
- https://git.kernel.org/stable/c/7edb8a88d6c76237c8b4435765bee1009e26a50a
- https://git.kernel.org/stable/c/b96b8b3e41c308f606ffd10cfef1a7b9f97414cd
- https://git.kernel.org/stable/c/7908fbc597a694bbd99bfb59ece73bc3daded68e
- https://git.kernel.org/stable/c/a8fe3dfce8c0d8a76dc3d8486a5bff5feebe156f