{"api_version":"1","generated_at":"2026-06-03T11:06:16+00:00","cve":"CVE-2026-45996","urls":{"html":"https://cve.report/CVE-2026-45996","api":"https://cve.report/api/cve/CVE-2026-45996.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-45996","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-45996"},"summary":{"title":"spi: imx: fix use-after-free on unbind","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nspi: imx: fix use-after-free on unbind\n\nThe SPI subsystem frees the controller and any subsystem allocated\ndriver data as part of deregistration (unless the allocation is device\nmanaged).\n\nTake another reference before deregistering the controller so that the\ndriver data is not freed until the driver is done with it.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-05-27 14:17:17","updated_at":"2026-05-27 14:48:03"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/f99165ef067723221472ce1aff632bc74f562643","name":"https://git.kernel.org/stable/c/f99165ef067723221472ce1aff632bc74f562643","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/132e47030b0b5e398e0da6c59df5a5dae9b52cff","name":"https://git.kernel.org/stable/c/132e47030b0b5e398e0da6c59df5a5dae9b52cff","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/1c78c2002380a1fe31bfb01a3d5f29809e55a096","name":"https://git.kernel.org/stable/c/1c78c2002380a1fe31bfb01a3d5f29809e55a096","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/aa9025a498036b6012769f7af36d421385386c17","name":"https://git.kernel.org/stable/c/aa9025a498036b6012769f7af36d421385386c17","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/385a330083f8dd47c15b02e9a83aef9234a37003","name":"https://git.kernel.org/stable/c/385a330083f8dd47c15b02e9a83aef9234a37003","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-45996","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45996","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 307c897db762d1e0feee9477276b08f6deca4a5b f99165ef067723221472ce1aff632bc74f562643 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 307c897db762d1e0feee9477276b08f6deca4a5b 385a330083f8dd47c15b02e9a83aef9234a37003 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 307c897db762d1e0feee9477276b08f6deca4a5b 132e47030b0b5e398e0da6c59df5a5dae9b52cff git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 307c897db762d1e0feee9477276b08f6deca4a5b aa9025a498036b6012769f7af36d421385386c17 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 307c897db762d1e0feee9477276b08f6deca4a5b 1c78c2002380a1fe31bfb01a3d5f29809e55a096 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.19","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.19 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.140 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.86 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.27 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.0.4 7.0.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.1-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"45996","cve":"CVE-2026-45996","epss":"0.000180000","percentile":"0.050770000","score_date":"2026-06-01","updated_at":"2026-06-02 00:05:21"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/spi/spi-imx.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"f99165ef067723221472ce1aff632bc74f562643","status":"affected","version":"307c897db762d1e0feee9477276b08f6deca4a5b","versionType":"git"},{"lessThan":"385a330083f8dd47c15b02e9a83aef9234a37003","status":"affected","version":"307c897db762d1e0feee9477276b08f6deca4a5b","versionType":"git"},{"lessThan":"132e47030b0b5e398e0da6c59df5a5dae9b52cff","status":"affected","version":"307c897db762d1e0feee9477276b08f6deca4a5b","versionType":"git"},{"lessThan":"aa9025a498036b6012769f7af36d421385386c17","status":"affected","version":"307c897db762d1e0feee9477276b08f6deca4a5b","versionType":"git"},{"lessThan":"1c78c2002380a1fe31bfb01a3d5f29809e55a096","status":"affected","version":"307c897db762d1e0feee9477276b08f6deca4a5b","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/spi/spi-imx.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"5.19"},{"lessThan":"5.19","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.140","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.86","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.27","versionType":"semver"},{"lessThanOrEqual":"7.0.*","status":"unaffected","version":"7.0.4","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.1-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.140","versionStartIncluding":"5.19","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.86","versionStartIncluding":"5.19","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.27","versionStartIncluding":"5.19","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.0.4","versionStartIncluding":"5.19","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.1-rc1","versionStartIncluding":"5.19","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nspi: imx: fix use-after-free on unbind\n\nThe SPI subsystem frees the controller and any subsystem allocated\ndriver data as part of deregistration (unless the allocation is device\nmanaged).\n\nTake another reference before deregistering the controller so that the\ndriver data is not freed until the driver is done with it."}],"providerMetadata":{"dateUpdated":"2026-05-27T12:55:50.195Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/f99165ef067723221472ce1aff632bc74f562643"},{"url":"https://git.kernel.org/stable/c/385a330083f8dd47c15b02e9a83aef9234a37003"},{"url":"https://git.kernel.org/stable/c/132e47030b0b5e398e0da6c59df5a5dae9b52cff"},{"url":"https://git.kernel.org/stable/c/aa9025a498036b6012769f7af36d421385386c17"},{"url":"https://git.kernel.org/stable/c/1c78c2002380a1fe31bfb01a3d5f29809e55a096"}],"title":"spi: imx: fix use-after-free on unbind","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-45996","datePublished":"2026-05-27T12:55:50.195Z","dateReserved":"2026-05-13T15:03:33.091Z","dateUpdated":"2026-05-27T12:55:50.195Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-05-27 14:17:17","lastModifiedDate":"2026-05-27 14:48:03","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"45996","Ordinal":"1","Title":"spi: imx: fix use-after-free on unbind","CVE":"CVE-2026-45996","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"45996","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nspi: imx: fix use-after-free on unbind\n\nThe SPI subsystem frees the controller and any subsystem allocated\ndriver data as part of deregistration (unless the allocation is device\nmanaged).\n\nTake another reference before deregistering the controller so that the\ndriver data is not freed until the driver is done with it.","Type":"Description","Title":"spi: imx: fix use-after-free on unbind"}]}}}