{"api_version":"1","generated_at":"2026-07-24T18:59:35+00:00","cve":"CVE-2026-23292","urls":{"html":"https://cve.report/CVE-2026-23292","api":"https://cve.report/api/cve/CVE-2026-23292.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-23292","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-23292"},"summary":{"title":"scsi: target: Fix recursive locking in __configfs_open_file()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: target: Fix recursive locking in __configfs_open_file()\n\nIn flush_write_buffer, &p->frag_sem is acquired and then the loaded store\nfunction is called, which, here, is target_core_item_dbroot_store().  This\nfunction called filp_open(), following which these functions were called\n(in reverse order), according to the call trace:\n\n  down_read\n  __configfs_open_file\n  do_dentry_open\n  vfs_open\n  do_open\n  path_openat\n  do_filp_open\n  file_open_name\n  filp_open\n  target_core_item_dbroot_store\n  flush_write_buffer\n  configfs_write_iter\n\ntarget_core_item_dbroot_store() tries to validate the new file path by\ntrying to open the file path provided to it; however, in this case, the bug\nreport shows:\n\ndb_root: not a directory: /sys/kernel/config/target/dbroot\n\nindicating that the same configfs file was tried to be opened, on which it\nis currently working on. Thus, it is trying to acquire frag_sem semaphore\nof the same file of which it already holds the semaphore obtained in\nflush_write_buffer(), leading to acquiring the semaphore in a nested manner\nand a possibility of recursive locking.\n\nFix this by modifying target_core_item_dbroot_store() to use kern_path()\ninstead of filp_open() to avoid opening the file using filesystem-specific\nfunction __configfs_open_file(), and further modifying it to make this fix\ncompatible.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-03-25 11:16:24","updated_at":"2026-05-27 13:43:27"},"problem_types":["CWE-674"],"metrics":[{"version":"3.1","source":"nvd@nist.gov","type":"Primary","score":"5.5","severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","baseScore":5.5,"baseSeverity":"MEDIUM","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"}}],"references":[{"url":"https://git.kernel.org/stable/c/3161ef61f121d4573cad5b57c92188dcd9b284b3","name":"https://git.kernel.org/stable/c/3161ef61f121d4573cad5b57c92188dcd9b284b3","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/e8ef82cb6443d5f3260b1b830e17f03dda4229ea","name":"https://git.kernel.org/stable/c/e8ef82cb6443d5f3260b1b830e17f03dda4229ea","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/14d4ac19d1895397532eec407433c5d74d9da53b","name":"https://git.kernel.org/stable/c/14d4ac19d1895397532eec407433c5d74d9da53b","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/4fcfa424a581d823cb1a9676e3eefe6ca17e453a","name":"https://git.kernel.org/stable/c/4fcfa424a581d823cb1a9676e3eefe6ca17e453a","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/142eacb50fb903a4c10dee7e67b6e79ebb36a582","name":"https://git.kernel.org/stable/c/142eacb50fb903a4c10dee7e67b6e79ebb36a582","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/9a5641024fbfd9b24fe65984ad85fea10a3ae438","name":"https://git.kernel.org/stable/c/9a5641024fbfd9b24fe65984ad85fea10a3ae438","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-23292","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-23292","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected b0841eefd9693827afb9888235e26ddd098f9cef 3161ef61f121d4573cad5b57c92188dcd9b284b3 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected b0841eefd9693827afb9888235e26ddd098f9cef e8ef82cb6443d5f3260b1b830e17f03dda4229ea git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected b0841eefd9693827afb9888235e26ddd098f9cef 4fcfa424a581d823cb1a9676e3eefe6ca17e453a git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected b0841eefd9693827afb9888235e26ddd098f9cef 9a5641024fbfd9b24fe65984ad85fea10a3ae438 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected b0841eefd9693827afb9888235e26ddd098f9cef 142eacb50fb903a4c10dee7e67b6e79ebb36a582 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected b0841eefd9693827afb9888235e26ddd098f9cef 14d4ac19d1895397532eec407433c5d74d9da53b git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 49824b5c875087a52672b0c8e8ecbefe6f773532 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 09e21253d17f53bdb5aac0e0dbd057a29fcbe8d1 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 0dfc45be875a378c2a3a4d6ed8e668ec8eb75073 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4.9.201 4.10 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4.14.154 4.15 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4.19.84 4.20 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.3","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.3 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.167 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.130 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.77 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.17 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.19.7 6.19.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.0 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2026","cve_id":"23292","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"linux","cpe5":"linux_kernel","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/target/target_core_configfs.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"3161ef61f121d4573cad5b57c92188dcd9b284b3","status":"affected","version":"b0841eefd9693827afb9888235e26ddd098f9cef","versionType":"git"},{"lessThan":"e8ef82cb6443d5f3260b1b830e17f03dda4229ea","status":"affected","version":"b0841eefd9693827afb9888235e26ddd098f9cef","versionType":"git"},{"lessThan":"4fcfa424a581d823cb1a9676e3eefe6ca17e453a","status":"affected","version":"b0841eefd9693827afb9888235e26ddd098f9cef","versionType":"git"},{"lessThan":"9a5641024fbfd9b24fe65984ad85fea10a3ae438","status":"affected","version":"b0841eefd9693827afb9888235e26ddd098f9cef","versionType":"git"},{"lessThan":"142eacb50fb903a4c10dee7e67b6e79ebb36a582","status":"affected","version":"b0841eefd9693827afb9888235e26ddd098f9cef","versionType":"git"},{"lessThan":"14d4ac19d1895397532eec407433c5d74d9da53b","status":"affected","version":"b0841eefd9693827afb9888235e26ddd098f9cef","versionType":"git"},{"status":"affected","version":"49824b5c875087a52672b0c8e8ecbefe6f773532","versionType":"git"},{"status":"affected","version":"09e21253d17f53bdb5aac0e0dbd057a29fcbe8d1","versionType":"git"},{"status":"affected","version":"0dfc45be875a378c2a3a4d6ed8e668ec8eb75073","versionType":"git"},{"lessThan":"4.10","status":"affected","version":"4.9.201","versionType":"semver"},{"lessThan":"4.15","status":"affected","version":"4.14.154","versionType":"semver"},{"lessThan":"4.20","status":"affected","version":"4.19.84","versionType":"semver"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/target/target_core_configfs.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"5.3"},{"lessThan":"5.3","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.167","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.130","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.77","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.17","versionType":"semver"},{"lessThanOrEqual":"6.19.*","status":"unaffected","version":"6.19.7","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.0","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.167","versionStartIncluding":"5.3","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.130","versionStartIncluding":"5.3","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.77","versionStartIncluding":"5.3","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.17","versionStartIncluding":"5.3","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.19.7","versionStartIncluding":"5.3","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.0","versionStartIncluding":"5.3","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.9.201","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.14.154","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.19.84","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: target: Fix recursive locking in __configfs_open_file()\n\nIn flush_write_buffer, &p->frag_sem is acquired and then the loaded store\nfunction is called, which, here, is target_core_item_dbroot_store().  This\nfunction called filp_open(), following which these functions were called\n(in reverse order), according to the call trace:\n\n  down_read\n  __configfs_open_file\n  do_dentry_open\n  vfs_open\n  do_open\n  path_openat\n  do_filp_open\n  file_open_name\n  filp_open\n  target_core_item_dbroot_store\n  flush_write_buffer\n  configfs_write_iter\n\ntarget_core_item_dbroot_store() tries to validate the new file path by\ntrying to open the file path provided to it; however, in this case, the bug\nreport shows:\n\ndb_root: not a directory: /sys/kernel/config/target/dbroot\n\nindicating that the same configfs file was tried to be opened, on which it\nis currently working on. Thus, it is trying to acquire frag_sem semaphore\nof the same file of which it already holds the semaphore obtained in\nflush_write_buffer(), leading to acquiring the semaphore in a nested manner\nand a possibility of recursive locking.\n\nFix this by modifying target_core_item_dbroot_store() to use kern_path()\ninstead of filp_open() to avoid opening the file using filesystem-specific\nfunction __configfs_open_file(), and further modifying it to make this fix\ncompatible."}],"providerMetadata":{"dateUpdated":"2026-05-23T16:04:30.234Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/3161ef61f121d4573cad5b57c92188dcd9b284b3"},{"url":"https://git.kernel.org/stable/c/e8ef82cb6443d5f3260b1b830e17f03dda4229ea"},{"url":"https://git.kernel.org/stable/c/4fcfa424a581d823cb1a9676e3eefe6ca17e453a"},{"url":"https://git.kernel.org/stable/c/9a5641024fbfd9b24fe65984ad85fea10a3ae438"},{"url":"https://git.kernel.org/stable/c/142eacb50fb903a4c10dee7e67b6e79ebb36a582"},{"url":"https://git.kernel.org/stable/c/14d4ac19d1895397532eec407433c5d74d9da53b"}],"title":"scsi: target: Fix recursive locking in __configfs_open_file()","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-23292","datePublished":"2026-03-25T10:26:50.408Z","dateReserved":"2026-01-13T15:37:45.992Z","dateUpdated":"2026-05-23T16:04:30.234Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-03-25 11:16:24","lastModifiedDate":"2026-05-27 13:43:27","problem_types":["CWE-674"],"metrics":{"cvssMetricV31":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","baseScore":5.5,"baseSeverity":"MEDIUM","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":3.6}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.9.201","versionEndExcluding":"4.10","matchCriteriaId":"98FE002B-FFEB-420A-9E67-5E04854D1169"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.14.154","versionEndExcluding":"4.15","matchCriteriaId":"344FEFB4-E393-4E04-905A-4734AC267EC1"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.19.84","versionEndExcluding":"4.20","matchCriteriaId":"B7EACEB9-7173-47F4-83A4-AE06CE74D78B"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.3.1","versionEndExcluding":"6.1.167","matchCriteriaId":"761FF490-ED98-4C4D-998C-6CFBB8D2B911"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.2","versionEndExcluding":"6.6.130","matchCriteriaId":"C57BB918-DF28-46B3-94F7-144176841267"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.7","versionEndExcluding":"6.12.77","matchCriteriaId":"B3D12E00-E42D-4056-B354-BAD4903C03A5"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.13","versionEndExcluding":"6.18.17","matchCriteriaId":"A5E006E4-59C7-43C1-9231-62A72219F2BA"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.19","versionEndExcluding":"6.19.7","matchCriteriaId":"69245D10-0B71-485E-80C3-A64F077004D3"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:5.3:-:*:*:*:*:*:*","matchCriteriaId":"D036D76E-AC69-4382-B4C1-8EDA1ABB2941"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:5.3:rc8:*:*:*:*:*:*","matchCriteriaId":"999345BA-F820-40B9-A711-32CA9265C289"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:*","matchCriteriaId":"F253B622-8837-4245-BCE5-A7BF8FC76A16"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:*","matchCriteriaId":"4AE85AD8-4641-4E7C-A2F4-305E2CD9EE64"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"23292","Ordinal":"1","Title":"scsi: target: Fix recursive locking in __configfs_open_file()","CVE":"CVE-2026-23292","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"23292","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: target: Fix recursive locking in __configfs_open_file()\n\nIn flush_write_buffer, &p->frag_sem is acquired and then the loaded store\nfunction is called, which, here, is target_core_item_dbroot_store().  This\nfunction called filp_open(), following which these functions were called\n(in reverse order), according to the call trace:\n\n  down_read\n  __configfs_open_file\n  do_dentry_open\n  vfs_open\n  do_open\n  path_openat\n  do_filp_open\n  file_open_name\n  filp_open\n  target_core_item_dbroot_store\n  flush_write_buffer\n  configfs_write_iter\n\ntarget_core_item_dbroot_store() tries to validate the new file path by\ntrying to open the file path provided to it; however, in this case, the bug\nreport shows:\n\ndb_root: not a directory: /sys/kernel/config/target/dbroot\n\nindicating that the same configfs file was tried to be opened, on which it\nis currently working on. Thus, it is trying to acquire frag_sem semaphore\nof the same file of which it already holds the semaphore obtained in\nflush_write_buffer(), leading to acquiring the semaphore in a nested manner\nand a possibility of recursive locking.\n\nFix this by modifying target_core_item_dbroot_store() to use kern_path()\ninstead of filp_open() to avoid opening the file using filesystem-specific\nfunction __configfs_open_file(), and further modifying it to make this fix\ncompatible.","Type":"Description","Title":"scsi: target: Fix recursive locking in __configfs_open_file()"}]}}}