{"id":"CVE-2025-21685","published":"2025-02-09T11:37:25Z","modified":"2026-05-11T21:04:27Z","title":"platform/x86: lenovo-yoga-tab2-pro-1380-fastcharger: fix serdev race","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nplatform/x86: lenovo-yoga-tab2-pro-1380-fastcharger: fix serdev race\n\nThe yt2_1380_fc_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.00199,"percentile":0.09968,"provenance":"source"},"cwes":[{"id":"CWE-476","name":"NULL Pointer Dereference"}],"references":[{"url":"https://git.kernel.org/stable/c/3f67e07873df3c6d9ce2582260b83732e1d3a40b","tags":[]},{"url":"https://git.kernel.org/stable/c/59616a91e5e74833b2008b56c66879857c616006","tags":[]}],"priority":{"score":5.3,"factors":[{"name":"EPSS percentile","points":1.99},{"name":"CVSS severity","points":3.29}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= b2ed33e8d486ab2f1920131dd76fab38c8ef3550, < 3f67e07873df3c6d9ce2582260b83732e1d3a40b",">= b2ed33e8d486ab2f1920131dd76fab38c8ef3550, < 59616a91e5e74833b2008b56c66879857c616006"]},{"vendor":"Linux","product":"Linux","versions":["6.10"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-10-01T19:51:40.850980Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-2634","exploited":false,"provenance":"source"}}