{"api_version":"1","generated_at":"2026-11-25T14:18:29+00:00","cve":"CVE-2023-54130","urls":{"html":"https://cve.report/CVE-2023-54130","api":"https://cve.report/api/cve/CVE-2023-54130.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-54130","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-54130"},"summary":{"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 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).","state":"PUBLISHED","assigner":"Linux","published_at":"2025-12-24 13:16:14","updated_at":"2026-08-04 10:19:30"},"problem_types":[],"metrics":[{"version":"3.1","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","score":"7.8","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"7.8","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","data":{"baseScore":7.8,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"references":[{"url":"https://git.kernel.org/stable/c/45917be9f0af339a45b4619f31c902d37b8aed59","name":"https://git.kernel.org/stable/c/45917be9f0af339a45b4619f31c902d37b8aed59","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/82725be426bce0a425cc5e26fbad61ffd29cff03","name":"https://git.kernel.org/stable/c/82725be426bce0a425cc5e26fbad61ffd29cff03","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/90e019006644dad35862cb4aa270f561b0732066","name":"https://git.kernel.org/stable/c/90e019006644dad35862cb4aa270f561b0732066","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/da23752d9660ba7a8ca6c5768fd8776f67f59ee7","name":"https://git.kernel.org/stable/c/da23752d9660ba7a8ca6c5768fd8776f67f59ee7","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/cc2164ada548addfa8ee215196661c3afe0c5154","name":"https://git.kernel.org/stable/c/cc2164ada548addfa8ee215196661c3afe0c5154","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/f10defb0be6ac42fb6a97b45920d32da6bd6fde8","name":"https://git.kernel.org/stable/c/f10defb0be6ac42fb6a97b45920d32da6bd6fde8","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/cb7a95af78d29442b8294683eca4897544b8ef46","name":"https://git.kernel.org/stable/c/cb7a95af78d29442b8294683eca4897544b8ef46","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/be01f35efa876eb81cebab2cb0add068b7280ef4","name":"https://git.kernel.org/stable/c/be01f35efa876eb81cebab2cb0add068b7280ef4","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-54130","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-54130","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected c886c10a6eddb99923b315f42bf63f448883ef9a cc2164ada548addfa8ee215196661c3afe0c5154 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2344f17c0a89c181ab1a9fef57fd8c3bddfd6e30 82725be426bce0a425cc5e26fbad61ffd29cff03 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 90103ccb6e60aa4efe48993d23d6a528472f2233 da23752d9660ba7a8ca6c5768fd8776f67f59ee7 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4fd3a11804c8877ff11fec59c5c53f1635331e3e be01f35efa876eb81cebab2cb0add068b7280ef4 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 48d9e2e6de01ed35e965eb549758a837c07b601d f10defb0be6ac42fb6a97b45920d32da6bd6fde8 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 55d1cbbbb29e6656c662ee8f73ba1fc4777532eb 90e019006644dad35862cb4aa270f561b0732066 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 55d1cbbbb29e6656c662ee8f73ba1fc4777532eb 45917be9f0af339a45b4619f31c902d37b8aed59 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 55d1cbbbb29e6656c662ee8f73ba1fc4777532eb cb7a95af78d29442b8294683eca4897544b8ef46 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 8c40f2dbae603ef0bd21e87c63f54ec59fd88256 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 367296925c7625c3969d2a78d7a3e1dee161beb5 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4.9.337 4.10 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.16","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.16 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.0.19 6.0.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.5 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.2 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2023","cve_id":"54130","cve":"CVE-2023-54130","epss":"0.001440000","percentile":"0.041390000","score_date":"2026-08-06","updated_at":"2026-08-07 00:14:20"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["fs/hfs/inode.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"cc2164ada548addfa8ee215196661c3afe0c5154","status":"affected","version":"c886c10a6eddb99923b315f42bf63f448883ef9a","versionType":"git"},{"lessThan":"82725be426bce0a425cc5e26fbad61ffd29cff03","status":"affected","version":"2344f17c0a89c181ab1a9fef57fd8c3bddfd6e30","versionType":"git"},{"lessThan":"da23752d9660ba7a8ca6c5768fd8776f67f59ee7","status":"affected","version":"90103ccb6e60aa4efe48993d23d6a528472f2233","versionType":"git"},{"lessThan":"be01f35efa876eb81cebab2cb0add068b7280ef4","status":"affected","version":"4fd3a11804c8877ff11fec59c5c53f1635331e3e","versionType":"git"},{"lessThan":"f10defb0be6ac42fb6a97b45920d32da6bd6fde8","status":"affected","version":"48d9e2e6de01ed35e965eb549758a837c07b601d","versionType":"git"},{"lessThan":"90e019006644dad35862cb4aa270f561b0732066","status":"affected","version":"55d1cbbbb29e6656c662ee8f73ba1fc4777532eb","versionType":"git"},{"lessThan":"45917be9f0af339a45b4619f31c902d37b8aed59","status":"affected","version":"55d1cbbbb29e6656c662ee8f73ba1fc4777532eb","versionType":"git"},{"lessThan":"cb7a95af78d29442b8294683eca4897544b8ef46","status":"affected","version":"55d1cbbbb29e6656c662ee8f73ba1fc4777532eb","versionType":"git"},{"status":"affected","version":"8c40f2dbae603ef0bd21e87c63f54ec59fd88256","versionType":"git"},{"status":"affected","version":"367296925c7625c3969d2a78d7a3e1dee161beb5","versionType":"git"},{"lessThan":"4.10","status":"affected","version":"4.9.337","versionType":"semver"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["fs/hfs/inode.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"5.16"},{"lessThan":"5.16","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.0.*","status":"unaffected","version":"6.0.19","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.5","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"6.2","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.0.19","versionStartIncluding":"5.16","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.5","versionStartIncluding":"5.16","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.2","versionStartIncluding":"5.16","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.9.337","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"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)."}],"metrics":[{"cvssV3_1":{"baseScore":7.8,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"providerMetadata":{"dateUpdated":"2026-08-04T09:17:55.440Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/cc2164ada548addfa8ee215196661c3afe0c5154"},{"url":"https://git.kernel.org/stable/c/82725be426bce0a425cc5e26fbad61ffd29cff03"},{"url":"https://git.kernel.org/stable/c/da23752d9660ba7a8ca6c5768fd8776f67f59ee7"},{"url":"https://git.kernel.org/stable/c/be01f35efa876eb81cebab2cb0add068b7280ef4"},{"url":"https://git.kernel.org/stable/c/f10defb0be6ac42fb6a97b45920d32da6bd6fde8"},{"url":"https://git.kernel.org/stable/c/90e019006644dad35862cb4aa270f561b0732066"},{"url":"https://git.kernel.org/stable/c/45917be9f0af339a45b4619f31c902d37b8aed59"},{"url":"https://git.kernel.org/stable/c/cb7a95af78d29442b8294683eca4897544b8ef46"}],"title":"hfs/hfsplus: avoid WARN_ON() for sanity check, use proper error handling","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2023-54130","datePublished":"2025-12-24T13:06:47.502Z","dateReserved":"2025-12-24T13:02:52.521Z","dateUpdated":"2026-08-04T09:17:55.440Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2025-12-24 13:16:14","lastModifiedDate":"2026-08-04 10:19:30","problem_types":[],"metrics":{"cvssMetricV31":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2023","CveId":"54130","Ordinal":"1","Title":"hfs/hfsplus: avoid WARN_ON() for sanity check, use proper error ","CVE":"CVE-2023-54130","Year":"2023"},"notes":[{"CveYear":"2023","CveId":"54130","Ordinal":"1","NoteData":"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).","Type":"Description","Title":"hfs/hfsplus: avoid WARN_ON() for sanity check, use proper error "}]}}}