{"id":"CVE-2023-52569","published":"2024-03-02T21:59:40Z","modified":"2026-05-23T15:26:15Z","title":"btrfs: remove BUG() after failure to insert delayed dir index item","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nbtrfs: remove BUG() after failure to insert delayed dir index item\n\nInstead of calling BUG() when we fail to insert a delayed dir index item\ninto the delayed node's tree, we can just release all the resources we\nhave allocated/acquired before and return the error to the caller. This is\nfine because all existing call chains undo anything they have done before\ncalling btrfs_insert_delayed_dir_index() or BUG_ON (when creating pending\nsnapshots in the transaction commit path).\n\nSo remove the BUG() call and do proper error handling.\n\nThis relates to a syzbot report linked below, but does not fix it because\nit only prevents hitting a BUG(), it does not fix the issue where somehow\nwe attempt to use twice the same index number for different index items.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00305,"percentile":0.15654,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/d10fd53393cc5de4b9cf1a4b8f9984f0a037aa51","tags":[]},{"url":"https://git.kernel.org/stable/c/2c58c3931ede7cd08cbecf1f1a4acaf0a04a41a9","tags":[]},{"url":"https://git.kernel.org/stable/c/39c4a9522db0072570d602e9b365119e17fb9f4f","tags":["x_transferred"]}],"priority":{"score":3.1,"factors":[{"name":"EPSS percentile","points":3.13}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 9b378f6ad48cfa195ed868db9123c09ee7ec5ea2, < d10fd53393cc5de4b9cf1a4b8f9984f0a037aa51",">= 9b378f6ad48cfa195ed868db9123c09ee7ec5ea2, < 2c58c3931ede7cd08cbecf1f1a4acaf0a04a41a9","79cf35e16dd5b8639909d4df957503b84de30406","5441532ffc9c8c9f7cab0f8722e6d60a0b5e1259",">= 5.15.149, < 5.16",">= 6.4.12, < 6.5"]},{"vendor":"Linux","product":"Linux","versions":["6.5"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-03-05T15:57:36.904349Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2023-57193","exploited":false,"provenance":"source"}}