{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-50189","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2024-10-21T19:36:19.967Z","datePublished":"2024-11-08T05:43:45.524Z","dateUpdated":"2026-08-05T11:42:25.031Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-08-05T11:42:25.031Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nHID: amd_sfh: Switch to device-managed dmam_alloc_coherent()\n\nUsing the device-managed version allows to simplify clean-up in probe()\nerror path.\n\nAdditionally, this device-managed ensures proper cleanup, which helps to\nresolve memory errors, page faults, btrfs going read-only, and btrfs\ndisk corruption."}],"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 in the AMD SFH PCIe HID driver, reachable only through local driver lifecycle events (boot-time probe/discovery failure, driver unbind/rebind, module unload) on affected AMD laptops. There is no network, adjacent-network, or removable-device path to the flaw.\nAC:L - The premature dma_free_coherent() happens deterministically on every teardown, and in the probe-failure path no stop command is ever sent so the firmware DMAs into the freed pages indefinitely; a local attacker can reliably shape which structures land on the recycled pages via memory pressure. Multiple independent reporters reproduced the corruption on stock systems.\nPR:L - The damaging state arises during automatic boot-time probe with no privileged action at all, and a basic local user can drive page reallocation into the stale-DMA target; no capability check gates the resulting memory corruption.\nUI:N - The probe error path executes from the driver's init workqueue during boot with no user present, and teardown-time frees need no victim action. Nothing must be opened, mounted, or clicked.\nS:U - The corrupted memory is ordinary kernel memory managed by the same security authority as the driver. dma_free_coherent() tears down any IOMMU mapping, so this is stale DMA on untranslated configurations rather than a DMA/IOMMU boundary bypass.\nC:H - Freed coherent pages return to the buddy allocator and can be handed to page cache, slab, or userspace, so the write-after-free corrupts arbitrary reallocated kernel objects and can be leveraged into disclosure of their contents. Sensor data is also deposited into whatever memory now owns those pages.\nI:H - The MP2 co-processor repeatedly writes 32 bytes into memory the kernel has reassigned, giving an uncontrolled kernel write primitive; reporters observed this propagate to persistent btrfs metadata corruption on disk.\nA:H - The stale DMA produced page faults, kernel memory errors, and btrfs filesystems forced read-only, i.e. system crashes and loss of filesystem availability."}]}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/hid/amd-sfh-hid/amd_sfh_client.c"],"versions":[{"version":"4b2c53d93a4bc9d52cc0ec354629cfc9dc217f93","lessThan":"8c6ad37e5882073cab84901a31da9cb22f316276","status":"affected","versionType":"git"},{"version":"4b2c53d93a4bc9d52cc0ec354629cfc9dc217f93","lessThan":"4cd9c5a0fcadc39a05c978a01e15e0d1edc4be93","status":"affected","versionType":"git"},{"version":"4b2c53d93a4bc9d52cc0ec354629cfc9dc217f93","lessThan":"1c3b4c90479aa0375ec98fe1a802993ff96a5f47","status":"affected","versionType":"git"},{"version":"4b2c53d93a4bc9d52cc0ec354629cfc9dc217f93","lessThan":"9dfee956f53eea96d93ef1e13ab4ce020f4c58b3","status":"affected","versionType":"git"},{"version":"4b2c53d93a4bc9d52cc0ec354629cfc9dc217f93","lessThan":"c56f9ecb7fb6a3a90079c19eb4c8daf3bbf514b3","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/hid/amd-sfh-hid/amd_sfh_client.c"],"versions":[{"version":"5.11","status":"affected"},{"version":"0","lessThan":"5.11","status":"unaffected","versionType":"semver"},{"version":"5.15.168","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.113","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.57","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.11.4","lessThanOrEqual":"6.11.*","status":"unaffected","versionType":"semver"},{"version":"6.12","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.11","versionEndExcluding":"5.15.168"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.11","versionEndExcluding":"6.1.113"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.11","versionEndExcluding":"6.6.57"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.11","versionEndExcluding":"6.11.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.11","versionEndExcluding":"6.12"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/8c6ad37e5882073cab84901a31da9cb22f316276"},{"url":"https://git.kernel.org/stable/c/4cd9c5a0fcadc39a05c978a01e15e0d1edc4be93"},{"url":"https://git.kernel.org/stable/c/1c3b4c90479aa0375ec98fe1a802993ff96a5f47"},{"url":"https://git.kernel.org/stable/c/9dfee956f53eea96d93ef1e13ab4ce020f4c58b3"},{"url":"https://git.kernel.org/stable/c/c56f9ecb7fb6a3a90079c19eb4c8daf3bbf514b3"}],"title":"HID: amd_sfh: Switch to device-managed dmam_alloc_coherent()","x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":5.5,"attackVector":"LOCAL","baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","integrityImpact":"NONE","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"LOW","confidentialityImpact":"NONE"}},{"other":{"type":"ssvc","content":{"id":"CVE-2024-50189","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2025-10-01T20:18:24.884215Z"}}}],"problemTypes":[{"descriptions":[{"lang":"en","type":"CWE","description":"CWE-noinfo Not enough information"}]}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2025-10-01T20:27:08.714Z"}},{"title":"CVE Program Container","references":[{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"}],"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2025-11-03T22:26:43.186Z"}}]}}