{"id":"CVE-2025-68181","aliases":["CVE-2025-68181"],"related":[],"kind":"vulnerability","state":"published","title":"drm/radeon: Remove calls to drm_put_dev()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/radeon: Remove calls to drm_put_dev()\n\nSince the allocation of the drivers main structure was changed to\ndevm_drm_dev_alloc() drm_put_dev()'ing to trigger it to be free'd\nshould be done by devres.\n\nHowever, drm_put_dev() is still in the probe error and device remove\npaths. When the driver fails to probe warnings like the following are\nshown because devres is trying to drm_put_dev() after the driver\nalready did it.\n\n[    5.642230] radeon 0000:01:05.0: probe with driver radeon failed with error -22\n[    5.649605] ------------[ cut here ]------------\n[    5.649607] refcount_t: underflow; use-after-free.\n[    5.649620] WARNING: CPU: 0 PID: 357 at lib/refcount.c:28 refcount_warn_saturate+0xbe/0x110\n\n(cherry picked from commit 3eb8c0b4c091da0a623ade0d3ee7aa4a93df1ea4)","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/radeon: Remove calls to drm_put_dev()\n\nSince the allocation of the drivers main structure was changed to\ndevm_drm_dev_alloc() drm_put_dev()'ing to trigger it to be free'd\nshould be done by devres.\n\nHowever, drm_put_dev() is still in the probe error and device remove\npaths. When the driver fails to probe warnings like the following are\nshown because devres is trying to drm_put_dev() after the driver\nalready did it.\n\n[    5.642230] radeon 0000:01:05.0: probe with driver radeon failed with error -22\n[    5.649605] ------------[ cut here ]------------\n[    5.649607] refcount_t: underflow; use-after-free.\n[    5.649620] WARNING: CPU: 0 PID: 357 at lib/refcount.c:28 refcount_warn_saturate+0xbe/0x110\n\n(cherry picked from commit 3eb8c0b4c091da0a623ade0d3ee7aa4a93df1ea4)","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\ndrm/radeon: Eliminar llamadas a drm_put_dev()\n\nDado que la asignación de la estructura principal del controlador se cambió a devm_drm_dev_alloc(), la llamada a drm_put_dev() para activar su liberación debería ser realizada por devres.\n\nSin embargo, drm_put_dev() todavía está en las rutas de error de sondeo y eliminación de dispositivos. Cuando el controlador falla al sondear, se muestran advertencias como las siguientes porque devres está intentando llamar a drm_put_dev() después de que el controlador ya lo hizo.\n\n[    5.642230] radeon 0000:01:05.0: el sondeo con el controlador radeon falló con error -22\n[    5.649605] ------------[ cortar aquí ]------------\n[    5.649607] refcount_t: desbordamiento inferior; uso después de liberación.\n[    5.649620] ADVERTENCIA: CPU: 0 PID: 357 en lib/refcount.c:28 refcount_warn_saturate+0xbe/0x110\n\n(seleccionado de la confirmación 3eb8c0b4c091da0a623ade0d3ee7aa4a93df1ea4)","source":"nvd"}],"published":"2025-12-16T13:42:59.600Z","modified":"2026-10-15T22:19:09.670Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"a9ed2f052c5c14e4be58c5ec8794dffc87588123","fixed":"2fa41445d8c98f2a65503c373796466496edc0e7","status":"affected"},{"type":"git","introduced":"a9ed2f052c5c14e4be58c5ec8794dffc87588123","fixed":"ec18f6b2c743cc471b2539ddb5caed20a012e640","status":"affected"},{"type":"git","introduced":"a9ed2f052c5c14e4be58c5ec8794dffc87588123","fixed":"745bae76acdd71709773c129a69deca01036250b","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.12","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.12","status":"unaffected"},{"type":"semver","introduced":"6.12.58","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.17.8","lastAffected":"6.17.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.18","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/2fa41445d8c98f2a65503c373796466496edc0e7","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ec18f6b2c743cc471b2539ddb5caed20a012e640","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/745bae76acdd71709773c129a69deca01036250b","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-15T21:59:49.394Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-68181","url":"https://www.cve.org/CVERecord?id=CVE-2025-68181","licence":"CVE Terms of Use","modified":"2026-10-15T22:02:46.996Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-68181","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-68181","licence":"Public domain","modified":"2026-10-15T22:19:09.670Z"}],"updatedAt":"2026-11-25T22:59:09.481Z","epss":{"score":0.00159,"percentile":0.05294,"date":"2026-12-01T12:00:22.000Z"}}