VDB

CVE-2026-23292

CVE-2026-23292 PUBLISHED

scsi: target: Fix recursive locking in __configfs_open_file()

Reported by linux · Published March 25, 2026

In the Linux kernel, the following vulnerability has been resolved: scsi: target: Fix recursive locking in __configfs_open_file() In flush_write_buffer, &p->frag_sem is acquired and then the loaded store function is called, which, here, is target_core_item_dbroot_store(). This function called filp_open(), following which these functions were called (in reverse order), according to the call trace: down_read __configfs_open_file do_dentry_open vfs_open do_open path_openat do_filp_open file_open_name filp_open target_core_item_dbroot_store flush_write_buffer configfs_write_iter target_core_item_dbroot_store() tries to validate the new file path by trying to open the file path provided to it; however, in this case, the bug report shows: db_root: not a directory: /sys/kernel/config/target/dbroot indicating that the same configfs file was tried to be opened, on which it is currently working on. Thus, it is trying to acquire frag_sem semaphore of the same file of which it already holds the semaphore obtained in flush_write_buffer(), leading to acquiring the semaphore in a nested manner and a possibility of recursive locking. Fix this by modifying target_core_item_dbroot_store() to use kern_path() instead of filp_open() to avoid opening the file using filesystem-specific function __configfs_open_file(), and further modifying it to make this fix compatible.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel6.18-libbpfAmazon Linux1:6.18.20-20.229.amzn2023
kernelAmazon Linux1:6.1.168-202.320.amzn2023
kernel6.18-tools-develAmazon Linux1:6.18.20-20.229.amzn2023
kernel-develAmazon Linux1:6.1.168-202.320.amzn2023
LinuxLinuxe8ef82cb6443d5f3260b1b830e17f03dda4229ea, 9a5641024fbfd9b24fe65984ad85fea10a3ae438, 5.3, 4fcfa424a581d823cb1a9676e3eefe6ca17e453a, 4.20, 4.15, 4.10, 3161ef61f121d4573cad5b57c92188dcd9b284b3, 14d4ac19d1895397532eec407433c5d74d9da53b, 142eacb50fb903a4c10dee7e67b6e79ebb36a582

Affected products

VendorProductVersions
LinuxLinuxb0841eefd9693827afb9888235e26ddd098f9cef, b0841eefd9693827afb9888235e26ddd098f9cef, b0841eefd9693827afb9888235e26ddd098f9cef
LinuxLinux5.3, 0, 6.1.167
amazon:2023kernel6.18-libbpf0
amazon:2023kernel0
amazon:2023kernel6.18-tools-devel0
amazon:2023kernel-devel0
LinuxLinux6.12.77, 6.6.130, 6.1.167
amazon:2023kernel6.120
amazon:2023kernel-modules-extra-common0
amazon:2023kernel6.180
amazon:2023kernel-headers0
amazon:2023kernel-libbpf-devel0
amazon:2023kernel-libbpf0
amazon:2023kernel6.18-headers0
amazon:2023kernel-tools0
amazon:2023kernel6.18-tools0
amazon:2023kernel-livepatch-6.1.168-202.3200
amazon:2023kernel6.12-libbpf0
amazon:2023perf6.180
amazon:2023kernel6.18-modules-extra-common0

…and 27 more

Timeline

  • Mar 24, 2026 CVE Published
  • Mar 25, 2026 EPSS Score (26 in total, the first dated here)
  • Mar 25, 2026 Coalition ESS Score (2 in total, the first dated here)
  • Mar 29, 2026 Security Advisory (142 in total, the first dated here)
  • Aug 11, 2026 Distribution Patch (59 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-23292
vulnetix vdb fixes CVE-2026-23292

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-23292/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›