CVE-2025-38112

CVE Details

Release Date:2025-07-03
Impact:Moderate What is this?

Description


In the Linux kernel, the following vulnerability has been resolved: net: Fix TOCTOU issue in sk_is_readable() sk->sk_prot->sock_is_readable is a valid function pointer when sk resides in a sockmap. After the last sk_psock_put() (which usually happens when socket is removed from sockmap), sk->sk_prot gets restored and sk->sk_prot->sock_is_readable becomes NULL. This makes sk_is_readable() racy, if the value of sk->sk_prot is reloaded after the initial check. Which in turn may lead to a null pointer dereference. Ensure the function pointer does not turn NULL after the check.

See more information about CVE-2025-38112 from MITRE CVE dictionary and NIST NVD


NOTE: The following CVSS metrics and score provided are preliminary and subject to review.


CVSS v3 metrics

Base Score: 7.0
Vector String: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Version: 3.1
Attack Vector: Local
Attack Complexity: High
Privileges Required: Low
User Interaction: None
Scope: Unchanged
Confidentiality Impact: High
Integrity Impact: High
Availability Impact: High

Errata information


PlatformErrataRelease Date
Oracle Linux version 10 (kernel-uek) ELSA-2025-205512025-09-08
Oracle Linux version 8 (kernel-uek) ELSA-2025-205522025-09-08
Oracle Linux version 9 (kernel-uek) ELSA-2025-205512025-09-08
Oracle Linux version 9 (kernel-uek) ELSA-2025-205522025-09-08


This page is generated automatically and has not been checked for errors or omissions. For clarification or corrections:

software.hardware.complete