CVE-2025-39788
Last modified
CVE-2025-39788 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: scsi: ufs: exynos: Fix programming of HCI_UTRL_NEXUS_TYPE On Google gs101, the number of UTP transfer request slots (nutrs) is 32, and in this case the driver ends up programming the UTRL_NEXUS_TYPE incorrectly as 0. This is because the left hand side of the shift is 1, which is of type int, i.e. 31 bits wide. EPSS estimates a 0.15% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: scsi: ufs: exynos: Fix programming of HCI_UTRL_NEXUS_TYPE On Google gs101, the number of UTP transfer request slots (nutrs) is 32, and in this case the driver ends up programming the UTRL_NEXUS_TYPE incorrectly as 0. This is because the left hand side of the shift is 1, which is of type int, i.e. 31 bits wide. Shifting by more than that width results in undefined behaviour. Fix this by switching to the BIT() macro, which applies correct type casting as required. This ensures the correct value is written to UTRL_NEXUS_TYPE (0xffffffff on gs101), and it also fixes a UBSAN shift warning: UBSAN: shift-out-of-bounds in drivers/ufs/host/ufs-exynos.c:1113:21 shift exponent 32 is too large for 32-bit type 'int' For consistency, apply the same change to the nutmrs / UTMRL_NEXUS_TYPE write.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 5.9, < 5.10.241 |
| Linux | Linux Kernel | >= 5.11, < 5.15.190 |
| Linux | Linux Kernel | >= 5.16, < 6.1.149 |
| Linux | Linux Kernel | >= 6.2, < 6.6.103 |
| Linux | Linux Kernel | >= 6.7, < 6.12.44 |
| Linux | Linux Kernel | >= 6.13, < 6.16.4 |
| Debian | Debian Linux | 11.0 |
References
- https://lists.debian.org/debian-lts-announce/2025/10/msg00007.htmlThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.htmlThird Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2025-39788?
How severe is CVE-2025-39788?
How do I fix CVE-2025-39788?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-39782In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-39783In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-39784In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-39785In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-39786In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2025-39787In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-39789In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-3979A vulnerability classified as problematic has been found in …6.5
- CVE-2025-39790In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-39791In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-39792In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-39793In the Linux kernel, the following vulnerability has been re…7.8
Are you affected by CVE-2025-39788?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
