Linux Kernel up to 5.4.301/6.6.117/6.12.59/6.17.9 scsi sg_finish_rem_req privilege escalation

| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.3 | $0-$5k | 0.00 |
Summary
A vulnerability was found in Linux Kernel up to 5.4.301/6.6.117/6.12.59/6.17.9. It has been classified as critical. This affects the function sg_finish_rem_req of the component scsi. The manipulation leads to an unknown weakness.
This vulnerability is referenced as CVE-2025-40259. No exploit is available.
Upgrading the affected component is recommended.
Details
A vulnerability, which was classified as critical, has been found in Linux Kernel up to 5.4.301/6.6.117/6.12.59/6.17.9. This issue affects the function sg_finish_rem_req of the component scsi. The impact remains unknown. The summary by CVE is:
In the Linux kernel, the following vulnerability has been resolved: scsi: sg: Do not sleep in atomic context sg_finish_rem_req() calls blk_rq_unmap_user(). The latter function may sleep. Hence, call sg_finish_rem_req() with interrupts enabled instead of disabled.
The advisory is shared at git.kernel.org. The identification of this vulnerability is CVE-2025-40259 since 04/16/2025. Technical details are known, but no exploit is available. The price for an exploit might be around USD $0-$5k at the moment (estimation calculated on 02/24/2026).
The vulnerability scanner Nessus provides a plugin with the ID 277529 (Linux Distros Unpatched Vulnerability : CVE-2025-40259), which helps to determine the existence of the flaw in a target environment.
Upgrading to version 5.4.302, 6.6.118, 6.12.60 or 6.17.10 eliminates this vulnerability. Applying the patch 11eeee00c94d770d4e45364060b5f1526dfe567b/b343cee5df7e750d9033fba33e96fc4399fa88a5/b2c0340cfa25c5c1f65e8590cc1a2dc97d14ef0f/6983d8375c040bb449d2187f4a57a20de01244fe/90449f2d1e1f020835cba5417234636937dd657e is able to eliminate this problem. The bugfix is ready for download at git.kernel.org. The best possible mitigation is suggested to be upgrading to the latest version.
The vulnerability is also documented in the databases at Tenable (277529), EUVD (EUVD-2025-201198) and CERT Bund (WID-SEC-2025-2747). If you want to get the best quality for vulnerability data then you always have to consider VulDB.
Affected
- Debian Linux
- Google Cloud Platform
- Amazon Linux 2
- Red Hat Enterprise Linux
- Ubuntu Linux
- SUSE Linux
- Oracle Linux
- SUSE openSUSE
- Open Source Linux Kernel
- RESF Rocky Linux
- Microsoft Azure Linux
Product
Type
Vendor
Name
Version
- 5.4.301
- 6.6.117
- 6.12.0
- 6.12.1
- 6.12.2
- 6.12.3
- 6.12.4
- 6.12.5
- 6.12.6
- 6.12.7
- 6.12.8
- 6.12.9
- 6.12.10
- 6.12.11
- 6.12.12
- 6.12.13
- 6.12.14
- 6.12.15
- 6.12.16
- 6.12.17
- 6.12.18
- 6.12.19
- 6.12.20
- 6.12.21
- 6.12.22
- 6.12.23
- 6.12.24
- 6.12.25
- 6.12.26
- 6.12.27
- 6.12.28
- 6.12.29
- 6.12.30
- 6.12.31
- 6.12.32
- 6.12.33
- 6.12.34
- 6.12.35
- 6.12.36
- 6.12.37
- 6.12.38
- 6.12.39
- 6.12.40
- 6.12.41
- 6.12.42
- 6.12.43
- 6.12.44
- 6.12.45
- 6.12.46
- 6.12.47
- 6.12.48
- 6.12.49
- 6.12.50
- 6.12.51
- 6.12.52
- 6.12.53
- 6.12.54
- 6.12.55
- 6.12.56
- 6.12.57
- 6.12.58
- 6.12.59
- 6.17.0
- 6.17.1
- 6.17.2
- 6.17.3
- 6.17.4
- 6.17.5
- 6.17.6
- 6.17.7
- 6.17.8
- 6.17.9
License
Website
- Vendor: https://www.kernel.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.5VulDB Meta Temp Score: 5.3
VulDB Base Score: 5.5
VulDB Temp Score: 5.3
VulDB Vector: 🔒
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Privilege escalationCWE: Unknown
CAPEC: 🔒
ATT&CK: 🔒
Physical: No
Local: No
Remote: Partially
Availability: 🔒
Status: Not defined
EPSS Score: 🔒
EPSS Percentile: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 277529
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2025-40259
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔒
Upgrade: Kernel 5.4.302/6.6.118/6.12.60/6.17.10
Patch: 11eeee00c94d770d4e45364060b5f1526dfe567b/b343cee5df7e750d9033fba33e96fc4399fa88a5/b2c0340cfa25c5c1f65e8590cc1a2dc97d14ef0f/6983d8375c040bb449d2187f4a57a20de01244fe/90449f2d1e1f020835cba5417234636937dd657e
Timeline
04/16/2025 CVE reserved12/04/2025 Advisory disclosed
12/04/2025 VulDB entry created
02/24/2026 VulDB entry last update
Sources
Vendor: kernel.orgAdvisory: git.kernel.org
Status: Confirmed
CVE: CVE-2025-40259 (🔒)
GCVE (CVE): GCVE-0-2025-40259
GCVE (VulDB): GCVE-100-334325
EUVD: 🔒
CERT Bund: WID-SEC-2025-2747 - Linux Kernel: Mehrere Schwachstellen ermöglichen Denial of Service
Entry
Created: 12/04/2025 17:51Updated: 02/24/2026 09:19
Changes: 12/04/2025 17:51 (58), 12/06/2025 12:38 (2), 12/07/2025 01:12 (1), 01/05/2026 05:10 (7), 02/24/2026 09:19 (1)
Complete: 🔍
Cache ID: 216::103
If you want to get the best quality for vulnerability data then you always have to consider VulDB.
No comments yet. Languages: en.
Please log in to comment.