Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-39788

HIGH 7.8EPSS 12%

scsi: ufs: exynos: Fix programming of HCI_UTRL_NEXUS_TYPE

Mitigation

  • Upgrade Linux to 01aad16c2257ab8ff33b152b972c9f2e1af47912 or later.

Who should check

  • Anyone running Linux >= 55f4b1f73631a0817717fe6e98517de51b4c3527, < 01510a9e8222f11cce064410f3c2fcf0756c0a08; >= 55f4b1f73631a0817717fe6e98517de51b4c3527, < 098b2c8ee208c77126839047b9e6e1925bb35baa; >= 55f4b1f73631a0817717fe6e98517de51b4c3527, < c1f025da8f370a015e412b55cbcc583f91de8316; >= 55f4b1f73631a0817717fe6e98517de51b4c3527, < 6d53b2a134da77eb7fe65c5c7c7a3c193539a78a; >= 55f4b1f73631a0817717fe6e98517de51b4c3527, < dc8fb963742f1a38d284946638f9358bdaa0ddee; >= 55f4b1f73631a0817717fe6e98517de51b4c3527, < 5b9f1ef293428ea9c0871d96fcec2a87c4445832; >= 55f4b1f73631a0817717fe6e98517de51b4c3527, < 01aad16c2257ab8ff33b152b972c9f2e1af47912
  • Anyone running Linux 5.9

Vulnerability facts

Affected
Linux >= 55f4b1f73631a0817717fe6e98517de51b4c3527, < 01510a9e8222f11cce064410f3c2fcf0756c0a08; >= 55f4b1f73631a0817717fe6e98517de51b4c3527, < 098b2c8ee208c77126839047b9e6e1925bb35baa; >= 55f4b1f73631a0817717fe6e98517de51b4c3527, < c1f025da8f370a015e412b55cbcc583f91de8316; >= 55f4b1f73631a0817717fe6e98517de51b4c3527, < 6d53b2a134da77eb7fe65c5c7c7a3c193539a78a; >= 55f4b1f73631a0817717fe6e98517de51b4c3527, < dc8fb963742f1a38d284946638f9358bdaa0ddee; >= 55f4b1f73631a0817717fe6e98517de51b4c3527, < 5b9f1ef293428ea9c0871d96fcec2a87c4445832; >= 55f4b1f73631a0817717fe6e98517de51b4c3527, < 01aad16c2257ab8ff33b152b972c9f2e1af47912; Linux 5.9
Fixed in
Linux 01510a9e8222f11cce064410f3c2fcf0756c0a08, Linux 098b2c8ee208c77126839047b9e6e1925bb35baa, Linux 6d53b2a134da77eb7fe65c5c7c7a3c193539a78a, Linux 5b9f1ef293428ea9c0871d96fcec2a87c4445832, Linux 01aad16c2257ab8ff33b152b972c9f2e1af47912
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
7.8 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
0.27% chance of exploitation in 30 days (percentile 12, 2026-11-26)
CWE
CWE-787
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 55f4b1f73631a0817717fe6e98517de51b4c3527, < 01510a9e8222f11cce064410f3c2fcf0756c0a08; >= 55f4b1f73631a0817717fe6e98517de51b4c3527, < 098b2c8ee208c77126839047b9e6e1925bb35baa; >= 55f4b1f73631a0817717fe6e98517de51b4c3527, < c1f025da8f370a015e412b55cbcc583f91de8316; >= 55f4b1f73631a0817717fe6e98517de51b4c3527, < 6d53b2a134da77eb7fe65c5c7c7a3c193539a78a; >= 55f4b1f73631a0817717fe6e98517de51b4c3527, < dc8fb963742f1a38d284946638f9358bdaa0ddee; >= 55f4b1f73631a0817717fe6e98517de51b4c3527, < 5b9f1ef293428ea9c0871d96fcec2a87c4445832; >= 55f4b1f73631a0817717fe6e98517de51b4c3527, < 01aad16c2257ab8ff33b152b972c9f2e1af47912—cvelist
Linux5.9—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-39788. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-39788.md
Affected: Linux >= 55f4b1f73631a0817717fe6e98517de51b4c3527, < 01510a9e8222f11cce064410f3c2fcf0756c0a08; >= 55f4b1f73631a0817717fe6e98517de51b4c3527, < 098b2c8ee208c77126839047b9e6e1925bb35baa; >= 55f4b1f73631a0817717fe6e98517de51b4c3527, < c1f025da8f370a015e412b55cbcc583f91de8316; >= 55f4b1f73631a0817717fe6…
Fixed in: Linux 01510a9e8222f11cce064410f3c2fcf0756c0a08, Linux 098b2c8ee208c77126839047b9e6e1925bb35baa, Linux 6d53b2a134da77eb7fe65c5c7c7a3c193539a78a, Linux 5b9f1ef293428ea9c0871d96fcec2a87c4445832, Linux 01aad16c2257ab8ff33b152b972c9f2e1af47912

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-39788 being exploited?

There is no confirmed exploitation: CVE-2025-39788 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.27% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-39788?

High: CVSS 7.8 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2025-39788?

Linux >= 55f4b1f73631a0817717fe6e98517de51b4c3527, < 01510a9e8222f11cce064410f3c2fcf0756c0a08; >= 55f4b1f73631a0817717fe6e98517de51b4c3527, < 098b2c8ee208c77126839047b9e6e1925bb35baa; >= 55f4b1f73631a0817717fe6e98517de51b4c3527, < c1f025da8f370a015e412b55cbcc583f91de8316; >= 55f4b1f73631a0817717fe6e98517de51b4c3527, < 6d53b2a134da77eb7fe65c5c7c7a3c193539a78a; >= 55f4b1f73631a0817717fe6e98517de51b4c3527, < dc8fb963742f1a38d284946638f9358bdaa0ddee; >= 55f4b1f73631a0817717fe6e98517de51b4c3527, < 5b9f1ef293428ea9c0871d96fcec2a87c4445832; >= 55f4b1f73631a0817717fe6e98517de51b4c3527, < 01aad16c2257ab8ff33b152b972c9f2e1af47912; Linux 5.9.

Is there a fix for CVE-2025-39788?

Yes. Fixed in Linux 01510a9e8222f11cce064410f3c2fcf0756c0a08, Linux 098b2c8ee208c77126839047b9e6e1925bb35baa, Linux 6d53b2a134da77eb7fe65c5c7c7a3c193539a78a, Linux 5b9f1ef293428ea9c0871d96fcec2a87c4445832, Linux 01aad16c2257ab8ff33b152b972c9f2e1af47912. Upgrade Linux to 01aad16c2257ab8ff33b152b972c9f2e1af47912 or later.

How do I check if I'm affected by CVE-2025-39788?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors