PT-2025-16724 · Linux+4 · Linux Kernel+4

Published

2025-01-11

·

Updated

2026-01-26

·

CVE-2025-22084

CVSS v3.1

5.5

Medium

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel (affected versions not specified)
Description A NULL pointer dereference issue has been identified in the Linux kernel, specifically in the w1 uart probe() function. This 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. The issue is similar to a previously fixed race condition where devm serdev device open() was called before fully initializing the device.
Recommendations To resolve this issue, ensure that client ops are set before enabling the port via w1 uart serdev open(). As a temporary workaround, consider disabling the w1 uart probe() function until a patch is available. Restrict access to the vulnerable serdev module to minimize the risk of exploitation. Avoid using the serdev device set client ops() function in the affected API endpoint until the issue is resolved. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

NULL Pointer Dereference

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2025-12171
CVE-2025-22084
USN-7594-1
USN-7594-2
USN-7594-3
USN-7605-1
USN-7605-2
USN-7606-1
USN-7628-1

Affected Products

Astra Linux
Linuxmint
Linux Kernel
Red Os
Ubuntu