{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2023-52766","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2024-05-21T15:19:24.238Z","datePublished":"2024-05-21T15:30:50.343Z","dateUpdated":"2026-08-05T09:11:18.108Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-08-05T09:11:18.108Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ni3c: mipi-i3c-hci: Fix out of bounds access in hci_dma_irq_handler\n\nDo not loop over ring headers in hci_dma_irq_handler() that are not\nallocated and enabled in hci_dma_init(). Otherwise out of bounds access\nwill occur from rings->headers[i] access when i >= number of allocated\nring headers."}],"metrics":[{"cvssV3_1":{"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"},"scenarios":[{"lang":"en","value":"AV:L - The vulnerable path is the platform driver's hard-IRQ handler (i3c_hci_irq_handler → hci_dma_irq_handler), reached when local I3C/I2C bus activity raises host-controller ring interrupts. There is no network or adjacent-link packet path into this HCI master driver.\nAC:L - On multi-ring-capable HCI hardware the interrupt mask can present bits beyond the single software-enabled ring, and a local attacker can reliably induce those IRQs via I3C/I2C client transfers; no attacker-uncontrollable race or layout precondition is required to hit the OOB once those bits are set.\nPR:L - The IRQ handler itself has no capability check, and bus traffic that raises ring interrupts is reachable through ordinary local I3C/I2C client paths (sensors, i2c-adapter users) without real init-namespace root or CAP_SYS_MODULE.\nUI:N - Once the attacker can generate the relevant bus traffic, the host controller delivers the interrupt and the handler runs with no separate victim action required.\nS:U - The OOB access and resulting MMIO/memory corruption stay inside the host kernel's I3C HCI authority and do not cross a VM, IOMMU, or sandbox boundary.\nC:H - The handler out-of-bounds-reads adjacent heap as struct hci_rh_data and then performs MMIO reads and IBI/xfer processing through those corrupted pointers, which is a high-impact disclosure/memory-corruption read primitive.\nI:H - The same corrupted rh->regs is used for rh_reg_write(), and hci_dma_xfer_done()/hci_dma_process_ibi() write through OOB-sourced pointers, yielding an arbitrary MMIO/memory write primitive exploitable for control-flow hijacking.\nA:H - Dereferencing an out-of-bounds or garbage rh in hard-IRQ context causes kernel oops/panic or persistent controller failure, which is full availability loss."}]}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/i3c/master/mipi-i3c-hci/dma.c"],"versions":[{"version":"3a379bbcea0af6280e1ca0d1edfcf4e68cde6ee0","lessThan":"d23ad76f240c0f597b7a9eb79905d246f27d40df","status":"affected","versionType":"git"},{"version":"3a379bbcea0af6280e1ca0d1edfcf4e68cde6ee0","lessThan":"8be39f66915b40d26ea2c18ba84b5c3d5da6809b","status":"affected","versionType":"git"},{"version":"3a379bbcea0af6280e1ca0d1edfcf4e68cde6ee0","lessThan":"7c2b91b30d74d7c407118ad72502d4ca28af1af6","status":"affected","versionType":"git"},{"version":"3a379bbcea0af6280e1ca0d1edfcf4e68cde6ee0","lessThan":"4c86cb2321bd9c72d3b945ce7f747961beda8e65","status":"affected","versionType":"git"},{"version":"3a379bbcea0af6280e1ca0d1edfcf4e68cde6ee0","lessThan":"45a832f989e520095429589d5b01b0c65da9b574","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/i3c/master/mipi-i3c-hci/dma.c"],"versions":[{"version":"5.0","status":"affected"},{"version":"0","lessThan":"5.0","status":"unaffected","versionType":"semver"},{"version":"5.15.140","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.64","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.5.13","lessThanOrEqual":"6.5.*","status":"unaffected","versionType":"semver"},{"version":"6.6.3","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.7","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.0","versionEndExcluding":"5.15.140"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.0","versionEndExcluding":"6.1.64"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.0","versionEndExcluding":"6.5.13"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.0","versionEndExcluding":"6.6.3"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.0","versionEndExcluding":"6.7"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/d23ad76f240c0f597b7a9eb79905d246f27d40df"},{"url":"https://git.kernel.org/stable/c/8be39f66915b40d26ea2c18ba84b5c3d5da6809b"},{"url":"https://git.kernel.org/stable/c/7c2b91b30d74d7c407118ad72502d4ca28af1af6"},{"url":"https://git.kernel.org/stable/c/4c86cb2321bd9c72d3b945ce7f747961beda8e65"},{"url":"https://git.kernel.org/stable/c/45a832f989e520095429589d5b01b0c65da9b574"}],"title":"i3c: mipi-i3c-hci: Fix out of bounds access in hci_dma_irq_handler","x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2023-52766","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2024-05-22T18:26:12.286527Z"}}}],"providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2024-06-04T17:23:28.810Z"}},{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-02T23:11:35.533Z"},"title":"CVE Program Container","references":[{"url":"https://git.kernel.org/stable/c/d23ad76f240c0f597b7a9eb79905d246f27d40df","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/8be39f66915b40d26ea2c18ba84b5c3d5da6809b","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/7c2b91b30d74d7c407118ad72502d4ca28af1af6","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/4c86cb2321bd9c72d3b945ce7f747961beda8e65","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/45a832f989e520095429589d5b01b0c65da9b574","tags":["x_transferred"]}]}]}}