{"id":"CVE-2024-49891","state":"PUBLISHED","title":"scsi: lpfc: Validate hdwq pointers before dereferencing in reset/errata paths","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: lpfc: Validate hdwq pointers before dereferencing in reset/errata paths\n\nWhen the HBA is undergoing a reset or is handling an errata event, NULL ptr\ndereference crashes may occur in routines such as\nlpfc_sli_flush_io_rings(), lpfc_dev_loss_tmo_callbk(), or\nlpfc_abort_handler().\n\nAdd NULL ptr checks before dereferencing hdwq pointers that may have been\nfreed due to operations colliding with a reset or errata event handler.","publishedAt":"2024-10-21T18:01:26.314Z","updatedAt":"2026-05-11T20:41:15.891Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"895427bd012ce5814fc9888c7c0ee9de44761833","status":"affected","lessThan":"5873aa7f814754085d418848b2089ef406a02dd0","versionType":"git"},{"version":"895427bd012ce5814fc9888c7c0ee9de44761833","status":"affected","lessThan":"232a138bd843d48cb2368f604646d990db7640f3","versionType":"git"},{"version":"895427bd012ce5814fc9888c7c0ee9de44761833","status":"affected","lessThan":"99a801e2fca39a6f31e543fc3383058a8955896f","versionType":"git"},{"version":"895427bd012ce5814fc9888c7c0ee9de44761833","status":"affected","lessThan":"fd665c8dbdb19548965b0ae80c490de00e906366","versionType":"git"},{"version":"895427bd012ce5814fc9888c7c0ee9de44761833","status":"affected","lessThan":"2be1d4f11944cd6283cb97268b3e17c4424945ca","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/scsi/lpfc/lpfc_hbadisc.c","drivers/scsi/lpfc/lpfc_scsi.c","drivers/scsi/lpfc/lpfc_sli.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.11","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.11","versionType":"semver"},{"version":"6.1.120","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.64","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.10.14","status":"unaffected","lessThanOrEqual":"6.10.*","versionType":"semver"},{"version":"6.11.3","status":"unaffected","lessThanOrEqual":"6.11.*","versionType":"semver"},{"version":"6.12","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/scsi/lpfc/lpfc_hbadisc.c","drivers/scsi/lpfc/lpfc_scsi.c","drivers/scsi/lpfc/lpfc_sli.c"]}],"references":["https://git.kernel.org/stable/c/5873aa7f814754085d418848b2089ef406a02dd0","https://git.kernel.org/stable/c/232a138bd843d48cb2368f604646d990db7640f3","https://git.kernel.org/stable/c/99a801e2fca39a6f31e543fc3383058a8955896f","https://git.kernel.org/stable/c/fd665c8dbdb19548965b0ae80c490de00e906366","https://git.kernel.org/stable/c/2be1d4f11944cd6283cb97268b3e17c4424945ca","https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html"],"weaknesses":[],"ingestedAt":"2026-10-29T20:07:56.516Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/49xxx/CVE-2024-49891.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-49891","state":"PUBLISHED","datePublished":"2024-10-21T18:01:26.314Z","dateUpdated":"2026-05-11T20:41:15.891Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-10-21T12:17:06.025Z"},"containers":{"cna":{"title":"scsi: lpfc: Validate hdwq pointers before dereferencing in reset/errata paths","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: lpfc: Validate hdwq pointers before dereferencing in reset/errata paths\n\nWhen the HBA is undergoing a reset or is handling an errata event, NULL ptr\ndereference crashes may occur in routines such as\nlpfc_sli_flush_io_rings(), lpfc_dev_loss_tmo_callbk(), or\nlpfc_abort_handler().\n\nAdd NULL ptr checks before dereferencing hdwq pointers that may have been\nfreed due to operations colliding with a reset or errata event handler."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"895427bd012ce5814fc9888c7c0ee9de44761833","status":"affected","lessThan":"5873aa7f814754085d418848b2089ef406a02dd0","versionType":"git"},{"version":"895427bd012ce5814fc9888c7c0ee9de44761833","status":"affected","lessThan":"232a138bd843d48cb2368f604646d990db7640f3","versionType":"git"},{"version":"895427bd012ce5814fc9888c7c0ee9de44761833","status":"affected","lessThan":"99a801e2fca39a6f31e543fc3383058a8955896f","versionType":"git"},{"version":"895427bd012ce5814fc9888c7c0ee9de44761833","status":"affected","lessThan":"fd665c8dbdb19548965b0ae80c490de00e906366","versionType":"git"},{"version":"895427bd012ce5814fc9888c7c0ee9de44761833","status":"affected","lessThan":"2be1d4f11944cd6283cb97268b3e17c4424945ca","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/scsi/lpfc/lpfc_hbadisc.c","drivers/scsi/lpfc/lpfc_scsi.c","drivers/scsi/lpfc/lpfc_sli.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.11","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.11","versionType":"semver"},{"version":"6.1.120","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.64","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.10.14","status":"unaffected","lessThanOrEqual":"6.10.*","versionType":"semver"},{"version":"6.11.3","status":"unaffected","lessThanOrEqual":"6.11.*","versionType":"semver"},{"version":"6.12","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/scsi/lpfc/lpfc_hbadisc.c","drivers/scsi/lpfc/lpfc_scsi.c","drivers/scsi/lpfc/lpfc_sli.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/5873aa7f814754085d418848b2089ef406a02dd0"},{"url":"https://git.kernel.org/stable/c/232a138bd843d48cb2368f604646d990db7640f3"},{"url":"https://git.kernel.org/stable/c/99a801e2fca39a6f31e543fc3383058a8955896f"},{"url":"https://git.kernel.org/stable/c/fd665c8dbdb19548965b0ae80c490de00e906366"},{"url":"https://git.kernel.org/stable/c/2be1d4f11944cd6283cb97268b3e17c4424945ca"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T20:41:15.891Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.11","versionEndExcluding":"6.1.120"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.11","versionEndExcluding":"6.6.64"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.11","versionEndExcluding":"6.10.14"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.11","versionEndExcluding":"6.11.3"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.11","versionEndExcluding":"6.12"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2024-49891","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2024-10-22T13:44:17.771940Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-10-22T13:48:49.078Z"}},{"title":"CVE Program Container","references":[{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-11-03T20:41:36.767Z"}}]}}}