{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-57887","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2025-01-11T14:45:42.027Z","datePublished":"2025-01-15T13:05:39.933Z","dateUpdated":"2026-08-05T11:46:46.586Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-08-05T11:46:46.586Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm: adv7511: Fix use-after-free in adv7533_attach_dsi()\n\nThe host_node pointer was assigned and freed in adv7533_parse_dt(), and\nlater, adv7533_attach_dsi() uses the same. Fix this use-after-free issue\nby dropping of_node_put() in adv7533_parse_dt() and calling of_node_put()\nin error path of probe() and also in the remove()."}],"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 code is an I2C/DRM-bridge probe path reached only through local device-management interfaces — sysfs driver bind/unbind, module load, or configfs DT-overlay add/remove — with no network or adjacent-network reachability. Physical access to the soldered ADV7533/ADV7535 confers no additional capability, so Local is the correct and higher-severity vector.\nAC:L - There is no race to win: dropping the reference in adv7533_parse_dt() deterministically permits the backing device_node to be freed, and the attacker drives both the free (overlay removal / detach) and the subsequent use (probe or probe-deferral retry of adv7533_attach_dsi()). Repeated bind/unbind cycles and the -EPROBE_DEFER retry loop let the attacker groom the freed kmalloc slab at will.\nPR:L - Neither adv7511_probe(), adv7533_parse_dt(), nor adv7533_attach_dsi() contains any capable()/CAP_* gate; access is governed solely by file permissions on the sysfs/configfs device-management nodes, which on the embedded, industrial and automotive ARM64 platforms where ADV7533/ADV7535 is deployed are routinely delegated to non-root device-manager and display service accounts. Real root in the initial namespace is not required.\nUI:N - The attacker triggers the sequence entirely on their own by driving the overlay/bind cycle; the stale pointer is also consumed automatically on every boot-time deferred-probe retry. No victim action, mount, or file open is involved.\nS:U - The freed struct device_node, the DSI host list, and the resulting corruption all live in the kernel of the same system under a single security authority. No VM, IOMMU, or sandbox boundary is crossed.\nC:H - This is a use-after-free of a kmalloc'd struct device_node in a general-purpose slab cache, so the attacker can reallocate the freed object with controlled content and steer the of_find_mipi_dsi_host_by_node() match and the ensuing mipi_dsi device registration. That yields disclosure of kernel pointers and adjacent slab contents, and UAF is scored High.\nI:H - Once the node is freed and its address reused, the pointer comparison can alias a different live DSI host, causing the bridge to register and attach against the wrong mipi_dsi_host — a type-confused attachment that programs the wrong hardware and writes through mismatched structures. The freed slab object additionally provides the write target that makes UAFs exploitable for control-flow hijacking.\nA:H - Using the dangling device_node after the overlay teardown produces a KASAN slab-use-after-free and an oops-class fault (panic with panic_on_warn), and a mis-attached DSI device leaves the display pipeline dead. The attacker can repeat the bind/unbind or overlay cycle indefinitely."}]}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/bridge/adv7511/adv7511_drv.c","drivers/gpu/drm/bridge/adv7511/adv7533.c"],"versions":[{"version":"1e4d58cd7f888522d16f221d628356befbb08468","lessThan":"acec80d9f126cd3fa764bbe3d96bc0cb5cd2b087","status":"affected","versionType":"git"},{"version":"1e4d58cd7f888522d16f221d628356befbb08468","lessThan":"d208571943ffddc438a7ce533d5d0b9219806242","status":"affected","versionType":"git"},{"version":"1e4d58cd7f888522d16f221d628356befbb08468","lessThan":"1f49aaf55652580ae63ab83d67211fe6a55d83dc","status":"affected","versionType":"git"},{"version":"1e4d58cd7f888522d16f221d628356befbb08468","lessThan":"ca9d077350fa21897de8bf64cba23b198740aab5","status":"affected","versionType":"git"},{"version":"1e4d58cd7f888522d16f221d628356befbb08468","lessThan":"81adbd3ff21c1182e06aa02c6be0bfd9ea02d8e8","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/gpu/drm/bridge/adv7511/adv7511_drv.c","drivers/gpu/drm/bridge/adv7511/adv7533.c"],"versions":[{"version":"4.8","status":"affected"},{"version":"0","lessThan":"4.8","status":"unaffected","versionType":"semver"},{"version":"5.10.234","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"6.1.125","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.70","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.9","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.13","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":"4.8","versionEndExcluding":"5.10.234"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.8","versionEndExcluding":"6.1.125"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.8","versionEndExcluding":"6.6.70"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.8","versionEndExcluding":"6.12.9"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.8","versionEndExcluding":"6.13"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/acec80d9f126cd3fa764bbe3d96bc0cb5cd2b087"},{"url":"https://git.kernel.org/stable/c/d208571943ffddc438a7ce533d5d0b9219806242"},{"url":"https://git.kernel.org/stable/c/1f49aaf55652580ae63ab83d67211fe6a55d83dc"},{"url":"https://git.kernel.org/stable/c/ca9d077350fa21897de8bf64cba23b198740aab5"},{"url":"https://git.kernel.org/stable/c/81adbd3ff21c1182e06aa02c6be0bfd9ea02d8e8"}],"title":"drm: adv7511: Fix use-after-free in adv7533_attach_dsi()","x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":7.8,"attackVector":"LOCAL","baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","integrityImpact":"HIGH","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"LOW","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"id":"CVE-2024-57887","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"version":"2.0.3","timestamp":"2025-02-11T15:41:02.098939Z"}}}],"problemTypes":[{"descriptions":[{"lang":"en","type":"CWE","cweId":"CWE-416","description":"CWE-416 Use After Free"}]}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2025-02-11T15:45:19.886Z"}},{"title":"CVE Program Container","references":[{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html"},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html"}],"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2025-11-03T20:54:56.908Z"}}]}}