CVE-2025-22084: w1: fix NULL pointer dereference in probe

Published Apr 16, 2025
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

w1: fix NULL pointer dereference in probe

The w1uartprobe() function calls w1uartserdevopen() (which includes devmserdevdeviceopen()) before setting the client ops via serdevdevicesetclientops(). This ordering can trigger a NULL pointer dereference in the serdev controller's receivebuf handler, as it assumes serdev->ops is valid when SERPORTACTIVE is set.

This is similar to the issue fixed in commit 5e700b384ec1 ("platform/chrome: crosecuart: properly fix race condition") where devmserdevdeviceopen() was called before fully initializing the device.

Fix the race by ensuring client ops are set before enabling the port via w1uartserdevopen().

Affected Software

4 affected components
Linux Kernel
Linux Linux kernel>=6.9<6.12.23
Linux Linux kernel>=6.13<6.13.11
Linux Linux kernel>=6.14<6.14.2

Event History

Apr 16, 2025
CVE Published
via MITRE·02:12 PM
Data Sourced
via MITRE·02:12 PM
Description
Data Sourced
via NVD·03:16 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-22084?

CVE-2025-22084 is classified with a severity rating that indicates a potential for denial-of-service due to NULL pointer dereference.

2

How do I fix CVE-2025-22084?

To fix CVE-2025-22084, update your Linux kernel to the patched version that addresses the NULL pointer dereference issue.

3

Which versions of the Linux kernel are affected by CVE-2025-22084?

CVE-2025-22084 affects specific versions of the Linux kernel prior to the release of the security update that resolves this issue.

4

What are the implications of CVE-2025-22084 for Linux users?

The implications of CVE-2025-22084 for Linux users include potential system crashes and instability if the vulnerability is exploited.

5

Can CVE-2025-22084 be exploited remotely?

CVE-2025-22084 does not appear to be directly exploitable remotely but could lead to local denial-of-service conditions.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203