Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ AZL-78383 — kernel (CVE-2025-40039)

⚪ Unknown ✅ No Known Exploit OSV
N/A
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

CVE-2025-40039 affecting package kernel 5.15.200.1-1

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

ksmbd: Fix race condition in RPC handle list access

The 'sess->rpc_handle_list' XArray manages RPC handles within a ksmbd

session. Access to this list is intended to be protected by

'sess->rpc_lock' (an rw_semaphore). However, the locking implementation was

flawed, leading to potential race conditions.

In ksmbd_session_rpc_open(), the code incorrectly acquired only a read lock

before calling xa_store() and xa_erase(). Since these operations modify

the XArray structure, a write lock is required to ensure exclusive access

and prevent data corruption from concurrent modifications.

Furthermore, ksmbd_session_rpc_method() accessed the list using xa_load()

without holding any lock at all. This could lead to reading inconsistent

data or a potential use-after-free if an entry is concurrently removed and

the pointer is dereferenced.

Fix these issues by:

1. Using down_write() and up_write() in ksmbd_session_rpc_open()

to ensure exclusive access during XArray modification, and ensuring

the lock is correctly released on error paths.

2. Adding down_read() and up_read() in ksmbd_session_rpc_method()

to safely protect the lookup.

Affected software

AZL-78383 is recorded against 1 package.

  • kernel

Timeline and source

Published on 28 October 2025 and last revised on 21 April 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.

References

nvd.nist.gov (Web)

Other advisories for this package

kernel has other advisories on record. If you are patching this one, these are worth checking on the same host:

Details

Severity Unknown
CVSS Score N/A
CVSS Vector N/A
CWE N/A
Public Exploit ✅ No
Source OSV
Published 2025-10-28
Updated 2026-08-20
Modified 2026-04-21
Fix URL N/A

Affected Packages

Software From version Fixed in
kernel — —

Similar Threats

Free Vulnerability Check

Is your site affected by AZL-78383?

BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against AZL-78383 and other known CVE records.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesAzure LinuxAzure Linux Undated
✓