# CVE-2026-23438: net: mvpp2: guard flow control update with global\_tx\_fc in buffer switching

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

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; 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-28)
- **CWE:** CWE-476
- **Published:** 2026-04-03T15:15:22.701Z
- **Modified:** 2026-11-10T13:18:45.880Z

## Who should check

- Anyone running Linux \>= 3a616b92a9d17448d96a33bf58e69f01457fd43a, \< 0cfcd31f98fc608dc9406bff3fee3a9dd364d014; \>= 3a616b92a9d17448d96a33bf58e69f01457fd43a, \< da089f74a993f846685067b14158cb41b879ff29; \>= 3a616b92a9d17448d96a33bf58e69f01457fd43a, \< ff0c54f088f7ab91dbbf47cf8244460f99122750; \>= 3a616b92a9d17448d96a33bf58e69f01457fd43a, \< 7bd20f4b3ef3044dc55acd5b8ef748a70d29d03f; \>= 3a616b92a9d17448d96a33bf58e69f01457fd43a, \< 7df2b50cae1a76cbb90b294f3edb61e3e10bf2e9; \>= 3a616b92a9d17448d96a33bf58e69f01457fd43a, \< 8baced53a35fc9710f80d6ca016a2c418dc3231f; \>= 3a616b92a9d17448d96a33bf58e69f01457fd43a, \< 8a63baadf08453f66eb582fdb6dd234f72024723
- Anyone running Linux 5.12

## Description

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

net: mvpp2: guard flow control update with global\_tx\_fc in buffer switching

mvpp2\_bm\_switch\_buffers() unconditionally calls
mvpp2\_bm\_pool\_update\_priv\_fc() when switching between per-cpu and
shared buffer pool modes. This function programs CM3 flow control
registers via mvpp2\_cm3\_read()/mvpp2\_cm3\_write(), which dereference
priv-\>cm3\_base without any NULL check.

When the CM3 SRAM resource is not present in the device tree (the
third reg entry added by commit 60523583b07c ("dts: marvell: add CM3
SRAM memory to cp11x ethernet device tree")), priv-\>cm3\_base remains
NULL and priv-\>global\_tx\_fc is false. Any operation that triggers
mvpp2\_bm\_switch\_buffers(), for example an MTU change that crosses
the jumbo frame threshold, will crash:

  Unable to handle kernel NULL pointer dereference at
  virtual address 0000000000000000
  Mem abort info:
    ESR = 0x0000000096000006
    EC = 0x25: DABT (current EL), IL = 32 bits
  pc : readl+0x0/0x18
  lr : mvpp2\_cm3\_read.isra.0+0x14/0x20
  Call trace:
   readl+0x0/0x18
   mvpp2\_bm\_pool\_update\_fc+0x40/0x12c
   mvpp2\_bm\_pool\_update\_priv\_fc+0x94/0xd8
   mvpp2\_bm\_switch\_buffers.isra.0+0x80/0x1c0
   mvpp2\_change\_mtu+0x140/0x380
   \_\_dev\_set\_mtu+0x1c/0x38
   dev\_set\_mtu\_ext+0x78/0x118
   dev\_set\_mtu+0x48/0xa8
   dev\_ifsioc+0x21c/0x43c
   dev\_ioctl+0x2d8/0x42c
   sock\_ioctl+0x314/0x378

Every other flow control call site in the driver already guards
hardware access with either priv-\>global\_tx\_fc or port-\>tx\_fc.
mvpp2\_bm\_switch\_buffers() is the only place that omits this check.

Add the missing priv-\>global\_tx\_fc guard to both the disable and
re-enable calls in mvpp2\_bm\_switch\_buffers(), consistent with the
rest of the driver.

## Affected and fixed versions

- Linux: \>= 3a616b92a9d17448d96a33bf58e69f01457fd43a, \< 0cfcd31f98fc608dc9406bff3fee3a9dd364d014; \>= 3a616b92a9d17448d96a33bf58e69f01457fd43a, \< da089f74a993f846685067b14158cb41b879ff29; \>= 3a616b92a9d17448d96a33bf58e69f01457fd43a, \< ff0c54f088f7ab91dbbf47cf8244460f99122750; \>= 3a616b92a9d17448d96a33bf58e69f01457fd43a, \< 7bd20f4b3ef3044dc55acd5b8ef748a70d29d03f; \>= 3a616b92a9d17448d96a33bf58e69f01457fd43a, \< 7df2b50cae1a76cbb90b294f3edb61e3e10bf2e9; \>= 3a616b92a9d17448d96a33bf58e69f01457fd43a, \< 8baced53a35fc9710f80d6ca016a2c418dc3231f; \>= 3a616b92a9d17448d96a33bf58e69f01457fd43a, \< 8a63baadf08453f66eb582fdb6dd234f72024723 (cvelist)
- Linux: 5.12 (cvelist)

## Mitigation

- Upgrade Linux to 8a63baadf08453f66eb582fdb6dd234f72024723 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-23438. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-23438.md
Affected: Linux >= 3a616b92a9d17448d96a33bf58e69f01457fd43a, < 0cfcd31f98fc608dc9406bff3fee3a9dd364d014; >= 3a616b92a9d17448d96a33bf58e69f01457fd43a, < da089f74a993f846685067b14158cb41b879ff29; >= 3a616b92a9d17448d96a33bf58e69f01457fd43a, < ff0c54f088f7ab91dbbf47cf8244460f99122750; >= 3a616b92a9d17448d96a33b…
Fixed in: Linux 0cfcd31f98fc608dc9406bff3fee3a9dd364d014, Linux 7bd20f4b3ef3044dc55acd5b8ef748a70d29d03f, Linux 7df2b50cae1a76cbb90b294f3edb61e3e10bf2e9, Linux 8baced53a35fc9710f80d6ca016a2c418dc3231f, Linux 8a63baadf08453f66eb582fdb6dd234f72024723

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-23438 being exploited?

There is no confirmed exploitation: CVE-2026-23438 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-28).

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

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

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

Linux \>= 3a616b92a9d17448d96a33bf58e69f01457fd43a, \< 0cfcd31f98fc608dc9406bff3fee3a9dd364d014; \>= 3a616b92a9d17448d96a33bf58e69f01457fd43a, \< da089f74a993f846685067b14158cb41b879ff29; \>= 3a616b92a9d17448d96a33bf58e69f01457fd43a, \< ff0c54f088f7ab91dbbf47cf8244460f99122750; \>= 3a616b92a9d17448d96a33bf58e69f01457fd43a, \< 7bd20f4b3ef3044dc55acd5b8ef748a70d29d03f; \>= 3a616b92a9d17448d96a33bf58e69f01457fd43a, \< 7df2b50cae1a76cbb90b294f3edb61e3e10bf2e9; \>= 3a616b92a9d17448d96a33bf58e69f01457fd43a, \< 8baced53a35fc9710f80d6ca016a2c418dc3231f; \>= 3a616b92a9d17448d96a33bf58e69f01457fd43a, \< 8a63baadf08453f66eb582fdb6dd234f72024723; Linux 5.12.

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

Yes. Fixed in Linux 0cfcd31f98fc608dc9406bff3fee3a9dd364d014, Linux 7bd20f4b3ef3044dc55acd5b8ef748a70d29d03f, Linux 7df2b50cae1a76cbb90b294f3edb61e3e10bf2e9, Linux 8baced53a35fc9710f80d6ca016a2c418dc3231f, Linux 8a63baadf08453f66eb582fdb6dd234f72024723. Upgrade Linux to 8a63baadf08453f66eb582fdb6dd234f72024723 or later.

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

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/0cfcd31f98fc608dc9406bff3fee3a9dd364d014>
- patch: <https://git.kernel.org/stable/c/da089f74a993f846685067b14158cb41b879ff29>
- patch: <https://git.kernel.org/stable/c/ff0c54f088f7ab91dbbf47cf8244460f99122750>
- patch: <https://git.kernel.org/stable/c/7bd20f4b3ef3044dc55acd5b8ef748a70d29d03f>
- patch: <https://git.kernel.org/stable/c/7df2b50cae1a76cbb90b294f3edb61e3e10bf2e9>
- patch: <https://git.kernel.org/stable/c/8baced53a35fc9710f80d6ca016a2c418dc3231f>
- patch: <https://git.kernel.org/stable/c/8a63baadf08453f66eb582fdb6dd234f72024723>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-082556.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-019113.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-457936.html>

## 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-23438>

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