# CVE-2026-74465: net: openvswitch: fix potential UAF on meter attach failure

> 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.17% (percentile 4, 2026-11-26)
- **Published:** 2026-08-15T12:27:04.403Z
- **Modified:** 2026-10-16T20:17:29.330Z

## Who should check

- Anyone running Linux \>= c7c4c44c9a95d87e50ced38f7480e779cb472174, \< 496f3013c6ff759249abcfb2da2361c1a3e2e66d; \>= c7c4c44c9a95d87e50ced38f7480e779cb472174, \< ddc0ef4217cc697c6ba1a295cc1ea42423ec68ac; \>= c7c4c44c9a95d87e50ced38f7480e779cb472174, \< b0de3b58dac3b02b528f72ee0397728aed11f993; \>= c7c4c44c9a95d87e50ced38f7480e779cb472174, \< 0310d1fa7f9debd0d89629e9f14c7975a47eaa9a; \>= c7c4c44c9a95d87e50ced38f7480e779cb472174, \< 4d03e5fa3fbb1df15258a1eb3d6963f0d65659b3; \>= c7c4c44c9a95d87e50ced38f7480e779cb472174, \< 90623c9499627803ef3f04fa25a3199402d4fb95; \>= c7c4c44c9a95d87e50ced38f7480e779cb472174, \< 431a295d93f76fbdb6a7cfce92a9e3dfee1e5d61; \>= c7c4c44c9a95d87e50ced38f7480e779cb472174, \< a58a2b0ce354df531ebc71fc870058c2feb59f6b
- Anyone running Linux 5.8

## Description

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

net: openvswitch: fix potential UAF on meter attach failure

While attaching a newly created meter attach\_meter() function makes
the new meter visible to other CPUs but can still fail afterwards.
On failure, it detaches the meter back and returns an error.

However, this is an unexpected behavior for the ovs\_meter\_cmd\_set()
that uses a plain kfree(meter) on attach failure without waiting for
RCU readers to stop using it, assuming it was never visible.

This is never a problem for ovs-vswitchd as it always creates meters
before creating any flows that use them.  But the UAF can be triggered
with a custom application using uAPI:

 BUG: KASAN: slab-use-after-free in ovs\_meter\_execute (net/openvswitch/meter.c:653)
 Read of size 8 at addr ffff88810d152650 by task meter/2508

 Call Trace:
  ovs\_meter\_execute (net/openvswitch/meter.c:653)
  do\_execute\_actions (net/openvswitch/actions.c:1407)
  ovs\_execute\_actions (net/openvswitch/actions.c:1584)
  ovs\_packet\_cmd\_execute (net/openvswitch/datapath.c:703)
  ...
  netlink\_sendmsg (af\_netlink.c:1900)

 Allocated by task 2519:
  \_\_kasan\_kmalloc (mm/kasan/common.c:398 mm/kasan/common.c:415)
  ovs\_meter\_cmd\_set (net/openvswitch/meter.c:422)
  ...
  netlink\_sendmsg (af\_netlink.c:1900)

 Freed by task 2519:
  kfree (mm/slub.c:2705 mm/slub.c:6405 mm/slub.c:6720)
  ovs\_meter\_cmd\_set (net/openvswitch/meter.c:479)
  ...
  netlink\_sendmsg (af\_netlink.c:1900)

Fix that by making sure attach\_meter() doesn't make the meter visible
until all the checks are done and the function can't fail anymore.

This also makes sure the "hash" value is calculated after the potential
re-sizing of the table.

Reported by Trend Micro's Zero Day Initiative as ZDI-CAN-31642.

## Affected and fixed versions

- Linux: \>= c7c4c44c9a95d87e50ced38f7480e779cb472174, \< 496f3013c6ff759249abcfb2da2361c1a3e2e66d; \>= c7c4c44c9a95d87e50ced38f7480e779cb472174, \< ddc0ef4217cc697c6ba1a295cc1ea42423ec68ac; \>= c7c4c44c9a95d87e50ced38f7480e779cb472174, \< b0de3b58dac3b02b528f72ee0397728aed11f993; \>= c7c4c44c9a95d87e50ced38f7480e779cb472174, \< 0310d1fa7f9debd0d89629e9f14c7975a47eaa9a; \>= c7c4c44c9a95d87e50ced38f7480e779cb472174, \< 4d03e5fa3fbb1df15258a1eb3d6963f0d65659b3; \>= c7c4c44c9a95d87e50ced38f7480e779cb472174, \< 90623c9499627803ef3f04fa25a3199402d4fb95; \>= c7c4c44c9a95d87e50ced38f7480e779cb472174, \< 431a295d93f76fbdb6a7cfce92a9e3dfee1e5d61; \>= c7c4c44c9a95d87e50ced38f7480e779cb472174, \< a58a2b0ce354df531ebc71fc870058c2feb59f6b (cvelist)
- Linux: 5.8 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-74465.md
Affected: Linux >= c7c4c44c9a95d87e50ced38f7480e779cb472174, < 496f3013c6ff759249abcfb2da2361c1a3e2e66d; >= c7c4c44c9a95d87e50ced38f7480e779cb472174, < ddc0ef4217cc697c6ba1a295cc1ea42423ec68ac; >= c7c4c44c9a95d87e50ced38f7480e779cb472174, < b0de3b58dac3b02b528f72ee0397728aed11f993; >= c7c4c44c9a95d87e50ced38…
Fixed in: Linux 496f3013c6ff759249abcfb2da2361c1a3e2e66d, Linux 0310d1fa7f9debd0d89629e9f14c7975a47eaa9a, Linux 4d03e5fa3fbb1df15258a1eb3d6963f0d65659b3, Linux 90623c9499627803ef3f04fa25a3199402d4fb95, Linux 431a295d93f76fbdb6a7cfce92a9e3dfee1e5d61

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

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

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

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

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

Linux \>= c7c4c44c9a95d87e50ced38f7480e779cb472174, \< 496f3013c6ff759249abcfb2da2361c1a3e2e66d; \>= c7c4c44c9a95d87e50ced38f7480e779cb472174, \< ddc0ef4217cc697c6ba1a295cc1ea42423ec68ac; \>= c7c4c44c9a95d87e50ced38f7480e779cb472174, \< b0de3b58dac3b02b528f72ee0397728aed11f993; \>= c7c4c44c9a95d87e50ced38f7480e779cb472174, \< 0310d1fa7f9debd0d89629e9f14c7975a47eaa9a; \>= c7c4c44c9a95d87e50ced38f7480e779cb472174, \< 4d03e5fa3fbb1df15258a1eb3d6963f0d65659b3; \>= c7c4c44c9a95d87e50ced38f7480e779cb472174, \< 90623c9499627803ef3f04fa25a3199402d4fb95; \>= c7c4c44c9a95d87e50ced38f7480e779cb472174, \< 431a295d93f76fbdb6a7cfce92a9e3dfee1e5d61; \>= c7c4c44c9a95d87e50ced38f7480e779cb472174, \< a58a2b0ce354df531ebc71fc870058c2feb59f6b; Linux 5.8.

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

Yes. Fixed in Linux 496f3013c6ff759249abcfb2da2361c1a3e2e66d, Linux 0310d1fa7f9debd0d89629e9f14c7975a47eaa9a, Linux 4d03e5fa3fbb1df15258a1eb3d6963f0d65659b3, Linux 90623c9499627803ef3f04fa25a3199402d4fb95, Linux 431a295d93f76fbdb6a7cfce92a9e3dfee1e5d61. No fix listed yet: follow the vendor advisory.

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

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/496f3013c6ff759249abcfb2da2361c1a3e2e66d>
- other: <https://git.kernel.org/stable/c/ddc0ef4217cc697c6ba1a295cc1ea42423ec68ac>
- other: <https://git.kernel.org/stable/c/b0de3b58dac3b02b528f72ee0397728aed11f993>
- other: <https://git.kernel.org/stable/c/0310d1fa7f9debd0d89629e9f14c7975a47eaa9a>
- other: <https://git.kernel.org/stable/c/4d03e5fa3fbb1df15258a1eb3d6963f0d65659b3>
- other: <https://git.kernel.org/stable/c/90623c9499627803ef3f04fa25a3199402d4fb95>
- other: <https://git.kernel.org/stable/c/431a295d93f76fbdb6a7cfce92a9e3dfee1e5d61>
- other: <https://git.kernel.org/stable/c/a58a2b0ce354df531ebc71fc870058c2feb59f6b>

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

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