# CVE-2023-53843: net: openvswitch: reject negative ifindex

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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.27% (percentile 13, 2026-11-26)
- **Published:** 2025-12-09T01:30:05.698Z
- **Modified:** 2026-06-17T06:46:10.160Z

## Who should check

- Anyone running Linux \>= 54c4ef34c4b6f9720fded620e2893894f9f2c554, \< c965a58376146dcfdda186819462e8eb3aadef3a; \>= 54c4ef34c4b6f9720fded620e2893894f9f2c554, \< 881faff9e548a7ddfb11595be7c1c649217d27db; \>= 54c4ef34c4b6f9720fded620e2893894f9f2c554, \< a552bfa16bab4ce901ee721346a28c4e483f4066
- Anyone running Linux 6.1

## Description

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

net: openvswitch: reject negative ifindex

Recent changes in net-next (commit 759ab1edb56c ("net: store netdevs
in an xarray")) refactored the handling of pre-assigned ifindexes
and let syzbot surface a latent problem in ovs. ovs does not validate
ifindex, making it possible to create netdev ports with negative
ifindex values. It's easy to repro with YNL:

$ ./cli.py --spec netlink/specs/ovs\_datapath.yaml \\
         --do new \\
	 --json '{"upcall-pid": 1, "name":"my-dp"}'
$ ./cli.py --spec netlink/specs/ovs\_vport.yaml \\
	 --do new \\
	 --json '{"upcall-pid": "00000001", "name": "some-port0", "dp-ifindex":3,"ifindex":4294901760,"type":2}'

$ ip link show
-65536: some-port0: \<BROADCAST,MULTICAST\> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
    link/ether 7a:48:21:ad:0b:fb brd ff:ff:ff:ff:ff:ff
...

Validate the inputs. Now the second command correctly returns:

$ ./cli.py --spec netlink/specs/ovs\_vport.yaml \\
	 --do new \\
	 --json '{"upcall-pid": "00000001", "name": "some-port0", "dp-ifindex":3,"ifindex":4294901760,"type":2}'

lib.ynl.NlError: Netlink error: Numerical result out of range
nl\_len = 108 (92) nl\_flags = 0x300 nl\_type = 2
	error: -34	extack: {'msg': 'integer out of range', 'unknown': \[\[type:4 len:36\] b'\\x0c\\x00\\x02\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x0c\\x00\\x03\\x00\\xff\\xff\\xff\\x7f\\x00\\x00\\x00\\x00\\x08\\x00\\x01\\x00\\x08\\x00\\x00\\x00'\], 'bad-attr': '.ifindex'}

Accept 0 since it used to be silently ignored.

## Affected and fixed versions

- Linux: \>= 54c4ef34c4b6f9720fded620e2893894f9f2c554, \< c965a58376146dcfdda186819462e8eb3aadef3a; \>= 54c4ef34c4b6f9720fded620e2893894f9f2c554, \< 881faff9e548a7ddfb11595be7c1c649217d27db; \>= 54c4ef34c4b6f9720fded620e2893894f9f2c554, \< a552bfa16bab4ce901ee721346a28c4e483f4066 (cvelist)
- Linux: 6.1 (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-2023-53843. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-53843.md
Affected: Linux >= 54c4ef34c4b6f9720fded620e2893894f9f2c554, < c965a58376146dcfdda186819462e8eb3aadef3a; >= 54c4ef34c4b6f9720fded620e2893894f9f2c554, < 881faff9e548a7ddfb11595be7c1c649217d27db; >= 54c4ef34c4b6f9720fded620e2893894f9f2c554, < a552bfa16bab4ce901ee721346a28c4e483f4066; Linux 6.1
Fixed in: Linux 881faff9e548a7ddfb11595be7c1c649217d27db

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-2023-53843 being exploited?

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

### How serious is CVE-2023-53843?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2023-53843?

Linux \>= 54c4ef34c4b6f9720fded620e2893894f9f2c554, \< c965a58376146dcfdda186819462e8eb3aadef3a; \>= 54c4ef34c4b6f9720fded620e2893894f9f2c554, \< 881faff9e548a7ddfb11595be7c1c649217d27db; \>= 54c4ef34c4b6f9720fded620e2893894f9f2c554, \< a552bfa16bab4ce901ee721346a28c4e483f4066; Linux 6.1.

### Is there a fix for CVE-2023-53843?

Yes. Fixed in Linux 881faff9e548a7ddfb11595be7c1c649217d27db. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2023-53843?

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/c965a58376146dcfdda186819462e8eb3aadef3a>
- other: <https://git.kernel.org/stable/c/881faff9e548a7ddfb11595be7c1c649217d27db>
- other: <https://git.kernel.org/stable/c/a552bfa16bab4ce901ee721346a28c4e483f4066>

## 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-2023-53843>

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