{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-54130","id":"CVE-2023-54130","title":"hfs/hfsplus: avoid WARN_ON() for sanity check, use proper error handling","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nhfs/hfsplus: avoid WARN_ON() for sanity check, use proper error handling\n\nCommit 55d1cbbbb29e (\"hfs/hfsplus: use WARN_ON for sanity check\") fixed\na build warning by turning a comment into a WARN_ON(), but it turns out\nthat syzbot then complains because it can trigger said warning with a\ncorrupted hfs image.\n\nThe warning actually ","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nhfs/hfsplus: avoid WARN_ON() for sanity check, use proper error handling\n\nCommit 55d1cbbbb29e (\"hfs/hfsplus: use WARN_ON for sanity check\") fixed\na build warning by turning a comment into a WARN_ON(), but it turns out\nthat syzbot then complains because it can trigger said warning with a\ncorrupted hfs image.\n\nThe warning actually does warn about a bad situation, but we are much\nbetter off just handling it as the error it is.  So rather than warn\nabout us doing bad things, stop doing the bad things and return -EIO.\n\nWhile at it, also fix a memory leak that was introduced by an earlier\nfix for a similar syzbot warning situation, and add a check for one case\nthat historically wasn't handled at all (ie neither comment nor\nsubsequent WARN_ON).","published":"2025-12-24T13:06:47.502Z","updated":"2026-11-17T07:01:50.130456183Z","reserved":"2025-12-24T13:02:52.521Z","status":"Deferred","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"c886c10a6eddb99923b315f42bf63f448883ef9a","lessThan":"cc2164ada548addfa8ee215196661c3afe0c5154","status":"affected","versionType":"git"},{"version":"2344f17c0a89c181ab1a9fef57fd8c3bddfd6e30","lessThan":"82725be426bce0a425cc5e26fbad61ffd29cff03","status":"affected","versionType":"git"},{"version":"90103ccb6e60aa4efe48993d23d6a528472f2233","lessThan":"da23752d9660ba7a8ca6c5768fd8776f67f59ee7","status":"affected","versionType":"git"},{"version":"4fd3a11804c8877ff11fec59c5c53f1635331e3e","lessThan":"be01f35efa876eb81cebab2cb0add068b7280ef4","status":"affected","versionType":"git"},{"version":"48d9e2e6de01ed35e965eb549758a837c07b601d","lessThan":"f10defb0be6ac42fb6a97b45920d32da6bd6fde8","status":"affected","versionType":"git"},{"version":"55d1cbbbb29e6656c662ee8f73ba1fc4777532eb","lessThan":"90e019006644dad35862cb4aa270f561b0732066","status":"affected","versionType":"git"},{"version":"55d1cbbbb29e6656c662ee8f73ba1fc4777532eb","lessThan":"45917be9f0af339a45b4619f31c902d37b8aed59","status":"affected","versionType":"git"},{"version":"55d1cbbbb29e6656c662ee8f73ba1fc4777532eb","lessThan":"cb7a95af78d29442b8294683eca4897544b8ef46","status":"affected","versionType":"git"},{"version":"8c40f2dbae603ef0bd21e87c63f54ec59fd88256","status":"affected","versionType":"git"},{"version":"367296925c7625c3969d2a78d7a3e1dee161beb5","status":"affected","versionType":"git"},{"version":"4.9.337","lessThan":"4.10","status":"affected","versionType":"semver"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.16","status":"affected"},{"version":"0","lessThan":"5.16","status":"unaffected","versionType":"semver"},{"version":"6.0.19","lessThanOrEqual":"6.0.*","status":"unaffected","versionType":"semver"},{"version":"6.1.5","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.2","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/cc2164ada548addfa8ee215196661c3afe0c5154","tags":["web"]},{"url":"https://git.kernel.org/stable/c/82725be426bce0a425cc5e26fbad61ffd29cff03","tags":["web"]},{"url":"https://git.kernel.org/stable/c/da23752d9660ba7a8ca6c5768fd8776f67f59ee7","tags":["web"]},{"url":"https://git.kernel.org/stable/c/be01f35efa876eb81cebab2cb0add068b7280ef4","tags":["web"]},{"url":"https://git.kernel.org/stable/c/f10defb0be6ac42fb6a97b45920d32da6bd6fde8","tags":["web"]},{"url":"https://git.kernel.org/stable/c/90e019006644dad35862cb4aa270f561b0732066","tags":["web"]},{"url":"https://git.kernel.org/stable/c/45917be9f0af339a45b4619f31c902d37b8aed59","tags":["web"]},{"url":"https://git.kernel.org/stable/c/cb7a95af78d29442b8294683eca4897544b8ef46","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54130.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-54130","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00166,"epssPercentile":0.05941,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-54130","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-54130","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-54130","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-54130","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}