# CVE-2025-39949: qed: Don't collect too many protection override GRC elements

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.24% (percentile 9, 2026-11-26)
- **Published:** 2025-10-04T07:31:10.164Z
- **Modified:** 2026-10-19T21:10:00.160Z

## Who should check

- Anyone running Linux \>= d52c89f120de849575f6b2e5948038f2be12ce6f, \< 25672c620421fa2105703a94a29a03487245e6d6; \>= d52c89f120de849575f6b2e5948038f2be12ce6f, \< e0e24571a7b2f8c8f06e25d3417253ebbdbc8d5c; \>= d52c89f120de849575f6b2e5948038f2be12ce6f, \< 8141910869596b7a3a5d9b46107da2191d523f82; \>= d52c89f120de849575f6b2e5948038f2be12ce6f, \< ea53e6a47e148b490b1c652fc65d2de5a086df76; \>= d52c89f120de849575f6b2e5948038f2be12ce6f, \< 660b2a8f5a306a28c7efc1b4990ecc4912a68f87; \>= d52c89f120de849575f6b2e5948038f2be12ce6f, \< 70affe82e38fd3dc76b9c68b5a1989f11e7fa0f3; \>= d52c89f120de849575f6b2e5948038f2be12ce6f, \< 56c0a2a9ddc2f5b5078c5fb0f81ab76bbc3d4c37
- Anyone running Linux 4.18

## Description

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

qed: Don't collect too many protection override GRC elements

In the protection override dump path, the firmware can return far too
many GRC elements, resulting in attempting to write past the end of the
previously-kmalloc'ed dump buffer.

This will result in a kernel panic with reason:

 BUG: unable to handle kernel paging request at ADDRESS

where "ADDRESS" is just past the end of the protection override dump
buffer. The start address of the buffer is:
 p\_hwfn-\>cdev-\>dbg\_features\[DBG\_FEATURE\_PROTECTION\_OVERRIDE\].dump\_buf
and the size of the buffer is buf\_size in the same data structure.

The panic can be arrived at from either the qede Ethernet driver path:

    \[exception RIP: qed\_grc\_dump\_addr\_range+0x108\]
 qed\_protection\_override\_dump at ffffffffc02662ed \[qed\]
 qed\_dbg\_protection\_override\_dump at ffffffffc0267792 \[qed\]
 qed\_dbg\_feature at ffffffffc026aa8f \[qed\]
 qed\_dbg\_all\_data at ffffffffc026b211 \[qed\]
 qed\_fw\_fatal\_reporter\_dump at ffffffffc027298a \[qed\]
 devlink\_health\_do\_dump at ffffffff82497f61
 devlink\_health\_report at ffffffff8249cf29
 qed\_report\_fatal\_error at ffffffffc0272baf \[qed\]
 qede\_sp\_task at ffffffffc045ed32 \[qede\]
 process\_one\_work at ffffffff81d19783

or the qedf storage driver path:

    \[exception RIP: qed\_grc\_dump\_addr\_range+0x108\]
 qed\_protection\_override\_dump at ffffffffc068b2ed \[qed\]
 qed\_dbg\_protection\_override\_dump at ffffffffc068c792 \[qed\]
 qed\_dbg\_feature at ffffffffc068fa8f \[qed\]
 qed\_dbg\_all\_data at ffffffffc0690211 \[qed\]
 qed\_fw\_fatal\_reporter\_dump at ffffffffc069798a \[qed\]
 devlink\_health\_do\_dump at ffffffff8aa95e51
 devlink\_health\_report at ffffffff8aa9ae19
 qed\_report\_fatal\_error at ffffffffc0697baf \[qed\]
 qed\_hw\_err\_notify at ffffffffc06d32d7 \[qed\]
 qed\_spq\_post at ffffffffc06b1011 \[qed\]
 qed\_fcoe\_destroy\_conn at ffffffffc06b2e91 \[qed\]
 qedf\_cleanup\_fcport at ffffffffc05e7597 \[qedf\]
 qedf\_rport\_event\_handler at ffffffffc05e7bf7 \[qedf\]
 fc\_rport\_work at ffffffffc02da715 \[libfc\]
 process\_one\_work at ffffffff8a319663

Resolve this by clamping the firmware's return value to the maximum
number of legal elements the firmware should return.

## Affected and fixed versions

- Linux: \>= d52c89f120de849575f6b2e5948038f2be12ce6f, \< 25672c620421fa2105703a94a29a03487245e6d6; \>= d52c89f120de849575f6b2e5948038f2be12ce6f, \< e0e24571a7b2f8c8f06e25d3417253ebbdbc8d5c; \>= d52c89f120de849575f6b2e5948038f2be12ce6f, \< 8141910869596b7a3a5d9b46107da2191d523f82; \>= d52c89f120de849575f6b2e5948038f2be12ce6f, \< ea53e6a47e148b490b1c652fc65d2de5a086df76; \>= d52c89f120de849575f6b2e5948038f2be12ce6f, \< 660b2a8f5a306a28c7efc1b4990ecc4912a68f87; \>= d52c89f120de849575f6b2e5948038f2be12ce6f, \< 70affe82e38fd3dc76b9c68b5a1989f11e7fa0f3; \>= d52c89f120de849575f6b2e5948038f2be12ce6f, \< 56c0a2a9ddc2f5b5078c5fb0f81ab76bbc3d4c37 (cvelist)
- Linux: 4.18 (cvelist)

## Mitigation

- Upgrade Linux to 56c0a2a9ddc2f5b5078c5fb0f81ab76bbc3d4c37 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2025-39949.md
Affected: Linux >= d52c89f120de849575f6b2e5948038f2be12ce6f, < 25672c620421fa2105703a94a29a03487245e6d6; >= d52c89f120de849575f6b2e5948038f2be12ce6f, < e0e24571a7b2f8c8f06e25d3417253ebbdbc8d5c; >= d52c89f120de849575f6b2e5948038f2be12ce6f, < 8141910869596b7a3a5d9b46107da2191d523f82; >= d52c89f120de849575f6b2e…
Fixed in: Linux 25672c620421fa2105703a94a29a03487245e6d6, Linux 8141910869596b7a3a5d9b46107da2191d523f82, Linux 660b2a8f5a306a28c7efc1b4990ecc4912a68f87, Linux 70affe82e38fd3dc76b9c68b5a1989f11e7fa0f3, Linux 56c0a2a9ddc2f5b5078c5fb0f81ab76bbc3d4c37

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.
```

## FAQ

### Is CVE-2025-39949 being exploited?

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

### How serious is CVE-2025-39949?

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

### Which versions are affected by CVE-2025-39949?

Linux \>= d52c89f120de849575f6b2e5948038f2be12ce6f, \< 25672c620421fa2105703a94a29a03487245e6d6; \>= d52c89f120de849575f6b2e5948038f2be12ce6f, \< e0e24571a7b2f8c8f06e25d3417253ebbdbc8d5c; \>= d52c89f120de849575f6b2e5948038f2be12ce6f, \< 8141910869596b7a3a5d9b46107da2191d523f82; \>= d52c89f120de849575f6b2e5948038f2be12ce6f, \< ea53e6a47e148b490b1c652fc65d2de5a086df76; \>= d52c89f120de849575f6b2e5948038f2be12ce6f, \< 660b2a8f5a306a28c7efc1b4990ecc4912a68f87; \>= d52c89f120de849575f6b2e5948038f2be12ce6f, \< 70affe82e38fd3dc76b9c68b5a1989f11e7fa0f3; \>= d52c89f120de849575f6b2e5948038f2be12ce6f, \< 56c0a2a9ddc2f5b5078c5fb0f81ab76bbc3d4c37; Linux 4.18.

### Is there a fix for CVE-2025-39949?

Yes. Fixed in Linux 25672c620421fa2105703a94a29a03487245e6d6, Linux 8141910869596b7a3a5d9b46107da2191d523f82, Linux 660b2a8f5a306a28c7efc1b4990ecc4912a68f87, Linux 70affe82e38fd3dc76b9c68b5a1989f11e7fa0f3, Linux 56c0a2a9ddc2f5b5078c5fb0f81ab76bbc3d4c37. Upgrade Linux to 56c0a2a9ddc2f5b5078c5fb0f81ab76bbc3d4c37 or later.

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

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.

## References

- patch: <https://git.kernel.org/stable/c/25672c620421fa2105703a94a29a03487245e6d6>
- patch: <https://git.kernel.org/stable/c/e0e24571a7b2f8c8f06e25d3417253ebbdbc8d5c>
- patch: <https://git.kernel.org/stable/c/8141910869596b7a3a5d9b46107da2191d523f82>
- patch: <https://git.kernel.org/stable/c/ea53e6a47e148b490b1c652fc65d2de5a086df76>
- patch: <https://git.kernel.org/stable/c/660b2a8f5a306a28c7efc1b4990ecc4912a68f87>
- patch: <https://git.kernel.org/stable/c/70affe82e38fd3dc76b9c68b5a1989f11e7fa0f3>
- patch: <https://git.kernel.org/stable/c/56c0a2a9ddc2f5b5078c5fb0f81ab76bbc3d4c37>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-39949>

HTML: <https://flawdb.com/CVE-2025-39949> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-39949>
