# CVE-2026-89596: forcedeth: fix off-by-one when saving/restoring non-PCI config space

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

- **Severity:** HIGH 7.1
- **CVSS:** 7.1 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; 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.18% (percentile 5, 2026-11-26)
- **Published:** 2026-09-11T19:44:58.797Z
- **Modified:** 2026-10-19T09:17:55.970Z

## Who should check

- Anyone running Linux \>= 1a1ca86158eee303af5270338695f90bc7ae02b3, \< effd589568b2c4399894a23000286210c60af6d7; \>= 1a1ca86158eee303af5270338695f90bc7ae02b3, \< 702aa4a44c87026b97b1da5c5ca80e1fa8a9875a; \>= 1a1ca86158eee303af5270338695f90bc7ae02b3, \< fc71c6c3d3e3bb17474dcd1162aea6783a452a64; \>= 1a1ca86158eee303af5270338695f90bc7ae02b3, \< c4d5953582463f45e48b14ef9815e5fb636f7e1f; \>= 1a1ca86158eee303af5270338695f90bc7ae02b3, \< 9379f8527ca60d92715c90b32f1b477de9ec32cb; \>= 1a1ca86158eee303af5270338695f90bc7ae02b3, \< 0c3f4544ff3873594c8af1b907b4ac4e6d5ce005; \>= 1a1ca86158eee303af5270338695f90bc7ae02b3, \< c4f196bfeedd71e56aba4b63bd8f919edb2f7056; \>= 1a1ca86158eee303af5270338695f90bc7ae02b3, \< 9393f1d656a79693e0c123ff7bc7c5c0f708046d
- Anyone running Linux 2.6.27

## Description

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

forcedeth: fix off-by-one when saving/restoring non-PCI config space

nv\_suspend() and nv\_resume() walk the non-PCI configuration space with

	for (i = 0; i \<= np-\>register\_size/sizeof(u32); i++)

which runs one iteration too many. saved\_config\_space is declared as

	u32 saved\_config\_space\[NV\_PCI\_REGSZ\_MAX/4\];

and NV\_PCI\_REGSZ\_VER3 is equal to NV\_PCI\_REGSZ\_MAX (0x604), so on a VER3
device register\_size/sizeof(u32) is exactly the array length and the last
iteration addresses one element past the end.

The element it lands on is np-\>name\_rx\[0..3\]: saved\_config\_space\[\] is
followed immediately by char name\_rx\[IFNAMSIZ + 3\], and char needs no
padding. Nothing observable is corrupted by that, because nv\_request\_irq()
rewrites name\_rx with sprintf() before it is ever passed to request\_irq().
The bug is the out-of-bounds access itself, which UBSAN reports and which
CONFIG\_UBSAN\_TRAP=y turns into a trap that aborts the running kernel code,
plus an MMIO read and, on resume, an MMIO writel() to base + 0x604, one
dword past the range the driver mapped:

	np-\>base = ioremap(addr, np-\>register\_size);

VER1 and VER2 devices stay inside the array, but they too get the stray
read and the stray write one dword past their own window.

Caught by UBSAN on an Apple Macmini3,1 (MCP79) during a deep S3 cycle.
The splat below is trimmed: the build path in the file name, the CPU
and taint lines, the Workqueue line, the "?" hint frames, and the
frames below device\_suspend are all cut. The kernel was tainted, with
an out-of-tree nouveau and CPU\_OUT\_OF\_SPEC; forcedeth itself was the
stock module.

  UBSAN: array-index-out-of-bounds in drivers/net/ethernet/nvidia/forcedeth.c:6225:25
  index 385 is out of range for type 'u32 \[385\]'
  Call Trace:
   dump\_stack\_lvl+0x5d/0x80
   ubsan\_epilogue+0x5/0x2b
   \_\_ubsan\_handle\_out\_of\_bounds.cold+0x54/0x59
   \_\_this\_module+0xe398c/0xe9010 \[forcedeth\]
   pci\_pm\_suspend+0x80/0x170
   dpm\_run\_callback+0x51/0x160
   device\_suspend+0x1a2/0x4a0
   ...

Both loops are hit. UBSAN reports each source location only once per module
load (\_\_ubsan\_handle\_out\_of\_bounds() calls suppress\_report(), which does
test\_and\_set\_bit(REPORTED\_BIT, ...) on the struct source\_location), so the
two splats land in the first S3 cycle after the module is loaded and later
cycles are silent even though the access still runs off the end every time.
In that first cycle line 6225 is reported from pci\_pm\_suspend and line 6240
from pci\_pm\_resume.

The same off-by-one was fixed in nv\_get\_regs() by commit ba9aa134287f
("forcedeth: fix buffer overflow") in 2012; these two loops were missed.
The suspend and resume side was reported on LKML in September 2013 by Marc
Weber, with the same analysis and the same one-character fix, but the patch
was attached rather than sent inline and the thread ended there.

Use \< instead of \<=, which saves and restores exactly register\_size bytes.

## Affected and fixed versions

- Linux: \>= 1a1ca86158eee303af5270338695f90bc7ae02b3, \< effd589568b2c4399894a23000286210c60af6d7; \>= 1a1ca86158eee303af5270338695f90bc7ae02b3, \< 702aa4a44c87026b97b1da5c5ca80e1fa8a9875a; \>= 1a1ca86158eee303af5270338695f90bc7ae02b3, \< fc71c6c3d3e3bb17474dcd1162aea6783a452a64; \>= 1a1ca86158eee303af5270338695f90bc7ae02b3, \< c4d5953582463f45e48b14ef9815e5fb636f7e1f; \>= 1a1ca86158eee303af5270338695f90bc7ae02b3, \< 9379f8527ca60d92715c90b32f1b477de9ec32cb; \>= 1a1ca86158eee303af5270338695f90bc7ae02b3, \< 0c3f4544ff3873594c8af1b907b4ac4e6d5ce005; \>= 1a1ca86158eee303af5270338695f90bc7ae02b3, \< c4f196bfeedd71e56aba4b63bd8f919edb2f7056; \>= 1a1ca86158eee303af5270338695f90bc7ae02b3, \< 9393f1d656a79693e0c123ff7bc7c5c0f708046d (cvelist)
- Linux: 2.6.27 (cvelist)

## Mitigation

- Upgrade Linux to 9393f1d656a79693e0c123ff7bc7c5c0f708046d or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-89596.md
Affected: Linux >= 1a1ca86158eee303af5270338695f90bc7ae02b3, < effd589568b2c4399894a23000286210c60af6d7; >= 1a1ca86158eee303af5270338695f90bc7ae02b3, < 702aa4a44c87026b97b1da5c5ca80e1fa8a9875a; >= 1a1ca86158eee303af5270338695f90bc7ae02b3, < fc71c6c3d3e3bb17474dcd1162aea6783a452a64; >= 1a1ca86158eee303af52703…
Fixed in: Linux 702aa4a44c87026b97b1da5c5ca80e1fa8a9875a, Linux 9379f8527ca60d92715c90b32f1b477de9ec32cb, Linux 0c3f4544ff3873594c8af1b907b4ac4e6d5ce005, Linux 9393f1d656a79693e0c123ff7bc7c5c0f708046d

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-2026-89596 being exploited?

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

### How serious is CVE-2026-89596?

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

### Which versions are affected by CVE-2026-89596?

Linux \>= 1a1ca86158eee303af5270338695f90bc7ae02b3, \< effd589568b2c4399894a23000286210c60af6d7; \>= 1a1ca86158eee303af5270338695f90bc7ae02b3, \< 702aa4a44c87026b97b1da5c5ca80e1fa8a9875a; \>= 1a1ca86158eee303af5270338695f90bc7ae02b3, \< fc71c6c3d3e3bb17474dcd1162aea6783a452a64; \>= 1a1ca86158eee303af5270338695f90bc7ae02b3, \< c4d5953582463f45e48b14ef9815e5fb636f7e1f; \>= 1a1ca86158eee303af5270338695f90bc7ae02b3, \< 9379f8527ca60d92715c90b32f1b477de9ec32cb; \>= 1a1ca86158eee303af5270338695f90bc7ae02b3, \< 0c3f4544ff3873594c8af1b907b4ac4e6d5ce005; \>= 1a1ca86158eee303af5270338695f90bc7ae02b3, \< c4f196bfeedd71e56aba4b63bd8f919edb2f7056; \>= 1a1ca86158eee303af5270338695f90bc7ae02b3, \< 9393f1d656a79693e0c123ff7bc7c5c0f708046d; Linux 2.6.27.

### Is there a fix for CVE-2026-89596?

Yes. Fixed in Linux 702aa4a44c87026b97b1da5c5ca80e1fa8a9875a, Linux 9379f8527ca60d92715c90b32f1b477de9ec32cb, Linux 0c3f4544ff3873594c8af1b907b4ac4e6d5ce005, Linux 9393f1d656a79693e0c123ff7bc7c5c0f708046d. Upgrade Linux to 9393f1d656a79693e0c123ff7bc7c5c0f708046d or later.

### How do I check if I'm affected by CVE-2026-89596?

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

- other: <https://git.kernel.org/stable/c/effd589568b2c4399894a23000286210c60af6d7>
- other: <https://git.kernel.org/stable/c/702aa4a44c87026b97b1da5c5ca80e1fa8a9875a>
- other: <https://git.kernel.org/stable/c/fc71c6c3d3e3bb17474dcd1162aea6783a452a64>
- other: <https://git.kernel.org/stable/c/c4d5953582463f45e48b14ef9815e5fb636f7e1f>
- other: <https://git.kernel.org/stable/c/9379f8527ca60d92715c90b32f1b477de9ec32cb>
- other: <https://git.kernel.org/stable/c/0c3f4544ff3873594c8af1b907b4ac4e6d5ce005>
- other: <https://git.kernel.org/stable/c/c4f196bfeedd71e56aba4b63bd8f919edb2f7056>
- other: <https://git.kernel.org/stable/c/9393f1d656a79693e0c123ff7bc7c5c0f708046d>

## 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-2026-89596>

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