{"id":"CVE-2025-37800","summary":"driver core: fix potential NULL pointer dereference in dev_uevent()","details":"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-\u003edriver 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.","modified":"2026-03-20T12:42:28.283160Z","published":"2025-05-08T06:26:01.125Z","related":["MGASA-2025-0182","MGASA-2025-0183","SUSE-SU-2025:02249-1","SUSE-SU-2025:02254-1","SUSE-SU-2025:02307-1","SUSE-SU-2025:02333-1","SUSE-SU-2025:02334-1","SUSE-SU-2025:02335-1","SUSE-SU-2025:02538-1","SUSE-SU-2025:02923-1","SUSE-SU-2025:20408-1","SUSE-SU-2025:20413-1","SUSE-SU-2025:20419-1","SUSE-SU-2025:20421-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37800.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/18daa52418e7e4629ed1703b64777294209d2622"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2b344e779d9afd0fcb5ee4000e4d0fc7d8d867eb"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3781e4b83e174364998855de777e184cf0b62c40"},{"type":"WEB","url":"https://git.kernel.org/stable/c/abe56be73eb10a677d16066f65ff9d30251f5eee"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37800.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-37800"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"16574dccd8f62dc1b585325f8a6a0aab10047ed8"},{"fixed":"abe56be73eb10a677d16066f65ff9d30251f5eee"},{"fixed":"2b344e779d9afd0fcb5ee4000e4d0fc7d8d867eb"},{"fixed":"3781e4b83e174364998855de777e184cf0b62c40"},{"fixed":"18daa52418e7e4629ed1703b64777294209d2622"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-37800.json"}}],"schema_version":"1.7.5"}