{"id":"CVE-2025-37800","aliases":["CVE-2025-37800"],"related":[],"kind":"vulnerability","state":"published","title":"driver core: fix potential NULL pointer dereference in dev_uevent()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ndriver core: fix potential NULL pointer dereference in dev_uevent()\n\nIf userspace reads \"uevent\" device attribute at the same time as another\nthreads unbinds the device from its driver, change to dev->driver from a\nvalid pointer to NULL may result in crash. Fix this by using READ_ONCE()\nwhen fetching the pointer, and take bus' drivers klist lock to make sure\ndriver instance will not disappear while we access it.\n\nUse WRITE_ONCE() when setting the driver pointer to ensure there is no\ntearing.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndriver core: fix potential NULL pointer dereference in dev_uevent()\n\nIf userspace reads \"uevent\" device attribute at the same time as another\nthreads unbinds the device from its driver, change to dev->driver from a\nvalid pointer to NULL may result in crash. Fix this by using READ_ONCE()\nwhen fetching the pointer, and take bus' drivers klist lock to make sure\ndriver instance will not disappear while we access it.\n\nUse WRITE_ONCE() when setting the driver pointer to ensure there is no\ntearing.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: núcleo del controlador: se corrige una posible desreferencia de puntero nulo en dev_uevent(). Si el espacio de usuario lee el atributo de dispositivo \"uevent\" al mismo tiempo que otro subproceso desvincula el dispositivo de su controlador, cambiar de un puntero válido a nulo en dev-&gt;driver puede provocar un fallo. Se soluciona esto usando READ_ONCE() al obtener el puntero y bloqueando la lista de k de los controladores del bus para garantizar que la instancia del controlador no desaparezca al acceder a ella. Use WRITE_ONCE() al configurar el puntero del controlador para evitar cortes.","source":"nvd"}],"published":"2025-05-08T06:26:01.125Z","modified":"2026-10-15T22:18:18.253Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","score":7.1,"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:N/A:H","score":7.1,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"16574dccd8f62dc1b585325f8a6a0aab10047ed8","fixed":"abe56be73eb10a677d16066f65ff9d30251f5eee","status":"affected"},{"type":"git","introduced":"16574dccd8f62dc1b585325f8a6a0aab10047ed8","fixed":"2b344e779d9afd0fcb5ee4000e4d0fc7d8d867eb","status":"affected"},{"type":"git","introduced":"16574dccd8f62dc1b585325f8a6a0aab10047ed8","fixed":"3781e4b83e174364998855de777e184cf0b62c40","status":"affected"},{"type":"git","introduced":"16574dccd8f62dc1b585325f8a6a0aab10047ed8","fixed":"18daa52418e7e4629ed1703b64777294209d2622","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.22","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.22","status":"unaffected"},{"type":"semver","introduced":"6.6.89","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.26","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.14.5","lastAffected":"6.14.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.15","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"6.6.89"},{"status":"affected","introduced":"6.7","fixed":"6.12.26"},{"status":"affected","introduced":"6.13","fixed":"6.14.5"},{"status":"affected","version":"6.15"},{"status":"affected","version":"6.15"},{"status":"affected","version":"6.15"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/abe56be73eb10a677d16066f65ff9d30251f5eee","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2b344e779d9afd0fcb5ee4000e4d0fc7d8d867eb","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3781e4b83e174364998855de777e184cf0b62c40","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/18daa52418e7e4629ed1703b64777294209d2622","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-10-15T21:45:16.837Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-37800","url":"https://www.cve.org/CVERecord?id=CVE-2025-37800","licence":"CVE Terms of Use","modified":"2026-10-15T21:52:00.191Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-37800","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-37800","licence":"Public domain","modified":"2026-10-15T22:18:18.253Z"}],"updatedAt":"2026-11-25T22:58:57.789Z","epss":{"score":0.00211,"percentile":0.1206,"date":"2026-12-01T12:00:22.000Z"}}