CVE-2025-22084
Last modified
CVE-2025-22084 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: w1: fix NULL pointer dereference in probe The w1_uart_probe() function calls w1_uart_serdev_open() (which includes devm_serdev_device_open()) before setting the client ops via serdev_device_set_client_ops(). This ordering can trigger a NULL pointer dereference in the serdev controller's receive_buf handler, as it assumes serdev->ops is valid when SERPORT_ACTIVE is set. This is similar to the issue fixed in commit 5e700b384ec1 ("platform/chrome: cros_ec_uart: properly fix race condition") where devm_serdev_device_open() was called before fully initializing the device. Fix the race by ensuring client ops are set before enabling the port via w1_uart_serdev_open().. EPSS estimates a 0.17% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: w1: fix NULL pointer dereference in probe The w1_uart_probe() function calls w1_uart_serdev_open() (which includes devm_serdev_device_open()) before setting the client ops via serdev_device_set_client_ops(). This ordering can trigger a NULL pointer dereference in the serdev controller's receive_buf handler, as it assumes serdev->ops is valid when SERPORT_ACTIVE is set. This is similar to the issue fixed in commit 5e700b384ec1 ("platform/chrome: cros_ec_uart: properly fix race condition") where devm_serdev_device_open() was called before fully initializing the device. Fix the race by ensuring client ops are set before enabling the port via w1_uart_serdev_open().
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 6.9, < 6.12.23 |
| Linux | Linux Kernel | >= 6.13, < 6.13.11 |
| Linux | Linux Kernel | >= 6.14, < 6.14.2 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-22084?
How severe is CVE-2025-22084?
How do I fix CVE-2025-22084?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-22079In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2025-2208A vulnerability, which was classified as problematic, has be…4.8
- CVE-2025-22080In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-22081In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-22082In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-22083In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-22085In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-22086In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-22087In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2025-22088In the Linux kernel, the following vulnerability has been re…9.8
- CVE-2025-22089In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-2209A vulnerability, which was classified as problematic, was fo…4.8
Are you affected by CVE-2025-22084?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
