{"id":"CVE-2025-21695","published":"2025-02-12T13:27:54Z","modified":"2026-05-11T21:04:38Z","title":"platform/x86: dell-uart-backlight: fix serdev race","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nplatform/x86: dell-uart-backlight: fix serdev race\n\nThe dell_uart_bl_serdev_probe() function calls devm_serdev_device_open()\nbefore setting the client ops via serdev_device_set_client_ops(). This\nordering can trigger a NULL pointer dereference in the serdev controller's\nreceive_buf handler, as it assumes serdev->ops is valid when\nSERPORT_ACTIVE is set.\n\nThis is similar to the issue fixed in commit 5e700b384ec1\n(\"platform/chrome: cros_ec_uart: properly fix race condition\") where\ndevm_serdev_device_open() was called before fully initializing the\ndevice.\n\nFix the race by ensuring client ops are set before enabling the port via\ndevm_serdev_device_open().\n\nNote, serdev_device_set_baudrate() and serdev_device_set_flow_control()\ncalls should be after the devm_serdev_device_open() call.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.7,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.0018,"percentile":0.07742,"provenance":"source"},"cwes":[{"id":"CWE-476","name":"NULL Pointer Dereference"}],"references":[{"url":"https://git.kernel.org/stable/c/d3a24d923333f75aaece9acb051d676edc0afb75","tags":[]},{"url":"https://git.kernel.org/stable/c/1b2128aa2d45ab20b22548dcf4b48906298ca7fd","tags":[]}],"priority":{"score":4.8,"factors":[{"name":"EPSS percentile","points":1.55},{"name":"CVSS severity","points":3.29}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 484bae9e4d6acb5eec39e1ea47f9aa43f11b154d, < d3a24d923333f75aaece9acb051d676edc0afb75",">= 484bae9e4d6acb5eec39e1ea47f9aa43f11b154d, < 1b2128aa2d45ab20b22548dcf4b48906298ca7fd"]},{"vendor":"Linux","product":"Linux","versions":["6.10"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-10-01T19:51:17.968085Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-2644","exploited":false,"provenance":"source"}}