CVE-2026-45924

Updated on 27 May 2026

Severity

5.5 Medium severity

Details

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

Overview

About vulnerability

In the Linux kernel, the following vulnerability has been resolved:

ksmbd: call ksmbd_vfs_kern_path_end_removing() on some error paths

There are two places where ksmbd_vfs_kern_path_end_removing() needs to be called in order to balance what the corresponding successful call to ksmbd_vfs_kern_path_start_removing() has done, i.e. drop inode locks and put the taken references. Otherwise there might be potential deadlocks and unbalanced locks which are caught like:

BUG: workqueue leaked lock or atomic: kworker/5:21/0x00000000/7596 last function: handle_ksmbd_work 2 locks held by kworker/5:21/7596: #0: ffff8881051ae448 (sb_writers#3){.+.+}-{0:0}, at: ksmbd_vfs_kern_path_locked+0x142/0x660 #1: ffff888130e966c0 (&type->i_mutex_dir_key#3/1){+.+.}-{4:4}, at: ksmbd_vfs_kern_path_locked+0x17d/0x660 CPU: 5 PID: 7596 Comm: kworker/5:21 Not tainted 6.1.162-00456-gc29b353f383b #138 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.17.0-debian-1.17.0-1 04/01/2014 Workqueue: ksmbd-io handle_ksmbd_work Call Trace: <TASK> dump_stack_lvl+0x44/0x5b process_one_work.cold+0x57/0x5c worker_thread+0x82/0x600 kthread+0x153/0x190 ret_from_fork+0x22/0x30 </TASK>

Found by Linux Verification Center (linuxtesting.org).

Details

Affected product:
Ubuntu 20.04 ELS
Affected packages:
linux-meta @ 5.4.0 (+1 more)

Fixes

KernelCare state

Live-patch status from KernelCare for each operating system.

Operating system Status Covered kernels
Debian 13 Planned —
Ubuntu 22.04 Released
12 kernels
  • 5.15.0-163.173
  • 5.15.0-164.174
  • 5.15.0-168.178
  • 5.15.0-170.180
  • 5.15.0-171.181
  • 5.15.0-173.183
  • 5.15.0-174.184
  • 5.15.0-176.186
  • 5.15.0-177.187
  • 5.15.0-179.189
  • 5.15.0-181.191
  • 5.15.0-185.195
Ubuntu 22.04 AWS Released
12 kernels
  • 5.15.0-1097.104
  • 5.15.0-1098.105
  • 5.15.0-1099.106
  • 5.15.0-1100.107
  • 5.15.0-1101.108
  • 5.15.0-1103.110
  • 5.15.0-1104.111
  • 5.15.0-1105.112
  • 5.15.0-1106.113
  • 5.15.0-1108.115
  • 5.15.0-1109.116
  • 5.15.0-1111.118
Ubuntu 22.04 Azure Released
8 kernels
  • 5.15.0-1101.110
  • 5.15.0-1102.111
  • 5.15.0-1103.112
  • 5.15.0-1109.118
  • 5.15.0-1110.119
  • 5.15.0-1111.120
  • 5.15.0-1114.123
  • 5.15.0-1116.125
Ubuntu 22.04 HWE Noble AWS Released
8 kernels
  • 6.8.0-1046.49~22.04.1
  • 6.8.0-1050.53~22.04.1
  • 6.8.0-1052.55~22.04.1
  • 6.8.0-1047.50~22.04.1
  • 6.8.0-1051.54~22.04.1
  • 6.8.0-1053.56~22.04.1
  • 6.8.0-1057.60~22.04.1
  • 6.8.0-1060.63~22.04.1
Ubuntu 24.04 Released
9 kernels
  • 6.8.0-100.100
  • 6.8.0-101.101
  • 6.8.0-106.106
  • 6.8.0-107.107
  • 6.8.0-110.110
  • 6.8.0-111.111
  • 6.8.0-117.117
  • 6.8.0-124.124
  • 6.8.0-134.134