{"id":"CVE-2023-54185","published":"2025-12-30T12:08:55Z","modified":"2026-05-11T19:57:06Z","title":"btrfs: remove BUG_ON()'s in add_new_free_space()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nbtrfs: remove BUG_ON()'s in add_new_free_space()\n\nAt add_new_free_space() we have these BUG_ON()'s that are there to deal\nwith any failure to add free space to the in memory free space cache.\nSuch failures are mostly -ENOMEM that should be very rare. However there's\nno need to have these BUG_ON()'s, we can just return any error to the\ncaller and all callers and their upper call chain are already dealing with\nerrors.\n\nSo just make add_new_free_space() return any errors, while removing the\nBUG_ON()'s, and returning the total amount of added free space to an\noptional u64 pointer argument.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00256,"percentile":0.1051,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/23e72231f8281505883514b23709076e234d4f27","tags":[]},{"url":"https://git.kernel.org/stable/c/f775ceb0cb530e4a469b718fb2a24843071087f5","tags":[]},{"url":"https://git.kernel.org/stable/c/d8ccbd21918fd7fa6ce3226cffc22c444228e8ad","tags":[]}],"priority":{"score":2.1,"factors":[{"name":"EPSS percentile","points":2.1}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 0f9dd46cda36b8de3b9f48bc42bd09d20b9c3b52, < 23e72231f8281505883514b23709076e234d4f27",">= 0f9dd46cda36b8de3b9f48bc42bd09d20b9c3b52, < f775ceb0cb530e4a469b718fb2a24843071087f5",">= 0f9dd46cda36b8de3b9f48bc42bd09d20b9c3b52, < d8ccbd21918fd7fa6ce3226cffc22c444228e8ad"]},{"vendor":"Linux","product":"Linux","versions":["2.6.29"]}],"euvd":{"id":"EUVD-2023-60456","exploited":false,"provenance":"source"}}