LiveActive security incident?Get immediate response
CVE Record

CVE-2025-38239: scsi: megaraid_sas: Fix invalid node index

In the Linux kernel, the following vulnerability has been resolved: scsi: megaraid_sas: Fix invalid node index On a system with DRAM interleave enabled, out-of-bound access is detected: megaraid_sas 0000:3f:00.0: requested/available msix 128/128 poll_queue 0 ------------[ cut here ]------------ UBSAN: array-index-out-of-bounds in ./arch/x86/include/asm/topology.h:72:28 index -1 is out of range for type 'cpumask *[1024]' dump_stack_lvl+0x5d/0x80 ubsan_epilogue+0x5/0x2b __ubsan_handle_out_of_bounds.cold+0x46/0x4b megasas_alloc_irq_vectors+0x149/0x190 [megaraid_sas] megasas_probe_one.cold+0xa4d/0x189c [megaraid_sas] local_pci_probe+0x42/0x90 pci_device_probe+0xdc/0x290 really_probe+0xdb/0x340 __driver_probe_device+0x78/0x110 driver_probe_device+0x1f/0xa0 __driver_attach+0xba/0x1c0 bus_for_each_dev+0x8b/0xe0 bus_add_driver+0x142/0x220 driver_register+0x72/0xd0 megasas_init+0xdf/0xff0 [megaraid_sas] do_one_initcall+0x57/0x310 do_init_module+0x90/0x250 init_module_from_file+0x85/0xc0 idempotent_init_module+0x114/0x310 __x64_sys_finit_module+0x65/0xc0 do_syscall_64+0x82/0x170 entry_SYSCALL_64_after_hwframe+0x76/0x7e Fix it accordingly.

HighCVSS 7.3Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

A Linux storage driver flaw can access memory outside an expected array when certain MegaRAID systems use DRAM interleaving. Triggering requires local, low-privileged access according to the supplied CVSS data. Potential consequences include sensitive-data exposure, limited data modification, or system disruption, although the source bundle documents a sanitizer-detected failure rather than a demonstrated attack.

Executive priority

Treat this as a high-priority infrastructure patch for exposed storage servers, especially availability-sensitive systems. It is not supported as an internet-scale emergency because the stated attack vector is local and no active exploitation is documented. Complete hardware and kernel inventory promptly, then apply supported updates through normal expedited maintenance.

Technical view

The megaraid_sas driver can derive an invalid NUMA node index of -1 during MSI-X vector allocation and device probing. That value reaches an x86 topology cpumask array, producing an out-of-bounds access. The supplied CVSS 3.1 score is 7.3 with local, low-complexity, low-privilege attack conditions and high confidentiality and availability impacts.

Likely exposure

Exposure is most likely on affected Linux kernels where the megaraid_sas driver manages compatible MegaRAID hardware and DRAM interleaving is enabled. Systems without that driver or hardware are less likely to encounter the documented condition. The supplied version data is ambiguous, so kernel package provenance and vendor advisories should determine actual exposure.

Exploitation context

The supplied record is not in KEV and provides no evidence of active exploitation or a public exploit. It describes an out-of-bounds access detected during driver initialization. CVSS characterizes attack access as local with low privileges, but the bundle does not establish a reliable exploitation path or confirm real-world confidentiality, integrity, or availability impact.

Researcher notes

The observed path is megasas_probe_one to megasas_alloc_irq_vectors, followed by topology.h indexing with -1. Five stable-kernel commit references indicate backports, but the bundle does not map each commit to an exact release. The affected-version list is internally unclear, including an unexplained version โ€œ0โ€; validate boundaries against distribution advisories and commit ancestry.

Mitigation direction

  • Install a vendor-supported kernel containing the applicable cited stable fix.
  • Review Linux distribution guidance for the exact fixed kernel package and required reboot.
  • Prioritize storage hosts using megaraid_sas with DRAM interleaving enabled.
  • If immediate updating is impossible, assess whether affected hardware or driver use can be safely reduced.

Validation and detection

  • Inventory kernel versions, distributions, and hosts loading the megaraid_sas module.
  • Identify compatible MegaRAID controllers and determine whether DRAM interleaving is enabled.
  • Check kernel logs for megasas_alloc_irq_vectors and topology array-index-out-of-bounds reports.
  • Confirm the installed kernel package incorporates the applicable cited stable commit.
  • Reboot after updating and verify the host runs the corrected kernel.
Prepared
Confidence
medium
Sources
8

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cve ยท low confidence lookup

CVE-2025-38239 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
7.3 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
3Timeline events
1ADP providers
7Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
7.3CVSS 3.1HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H1.85.5Linux

Vulnerability scoring details

Base CVSS 3.1 score

7.3High
CVSS 3.1 vector shape for CVE-2025-38239Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CVECVE Program Container
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
LinuxLinux8049da6f3943d0ac51931b8064b2e4769a69a967, 8049da6f3943d0ac51931b8064b2e4769a69a967, 8049da6f3943d0ac51931b8064b2e4769a69a967, 8049da6f3943d0ac51931b8064b2e4769a69a967, 8049da6f3943d0ac51931b8064b2e4769a69a967unaffected
LinuxLinux5.17, 0, 6.1.143, 6.6.96, 6.12.36, 6.15.5, 6.16affected
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.