# CVE-2023-53855: net: dsa: ocelot: call dsa\_tag\_8021q\_unregister() under rtnl\_lock() on driver remove

> 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:20.864Z
- **Modified:** 2026-06-17T06:46:11.473Z

## Who should check

- Anyone running Linux \>= 7c83a7c539abe9f980996063ac20532a7a7f6eb1, \< 758dbcfb257e1aee0a310bae789c2af6ffe35d0f; \>= 7c83a7c539abe9f980996063ac20532a7a7f6eb1, \< 7ae8fa6b70975b6efbbef7912d09bff5a0bff491; \>= 7c83a7c539abe9f980996063ac20532a7a7f6eb1, \< a94c16a2fda010866b8858a386a8bfbeba4f72c5
- Anyone running Linux 5.12

## Description

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

net: dsa: ocelot: call dsa\_tag\_8021q\_unregister() under rtnl\_lock() on driver remove

When the tagging protocol in current use is "ocelot-8021q" and we unbind
the driver, we see this splat:

$ echo '0000:00:00.2' \> /sys/bus/pci/drivers/fsl\_enetc/unbind
mscc\_felix 0000:00:00.5 swp0: left promiscuous mode
sja1105 spi2.0: Link is Down
DSA: tree 1 torn down
mscc\_felix 0000:00:00.5 swp2: left promiscuous mode
sja1105 spi2.2: Link is Down
DSA: tree 3 torn down
fsl\_enetc 0000:00:00.2 eno2: left promiscuous mode
mscc\_felix 0000:00:00.5: Link is Down
------------\[ cut here \]------------
RTNL: assertion failed at net/dsa/tag\_8021q.c (409)
WARNING: CPU: 1 PID: 329 at net/dsa/tag\_8021q.c:409 dsa\_tag\_8021q\_unregister+0x12c/0x1a0
Modules linked in:
CPU: 1 PID: 329 Comm: bash Not tainted 6.5.0-rc3+ \#771
pc : dsa\_tag\_8021q\_unregister+0x12c/0x1a0
lr : dsa\_tag\_8021q\_unregister+0x12c/0x1a0
Call trace:
 dsa\_tag\_8021q\_unregister+0x12c/0x1a0
 felix\_tag\_8021q\_teardown+0x130/0x150
 felix\_teardown+0x3c/0xd8
 dsa\_tree\_teardown\_switches+0xbc/0xe0
 dsa\_unregister\_switch+0x168/0x260
 felix\_pci\_remove+0x30/0x60
 pci\_device\_remove+0x4c/0x100
 device\_release\_driver\_internal+0x188/0x288
 device\_links\_unbind\_consumers+0xfc/0x138
 device\_release\_driver\_internal+0xe0/0x288
 device\_driver\_detach+0x24/0x38
 unbind\_store+0xd8/0x108
 drv\_attr\_store+0x30/0x50
---\[ end trace 0000000000000000 \]---
------------\[ cut here \]------------
RTNL: assertion failed at net/8021q/vlan\_core.c (376)
WARNING: CPU: 1 PID: 329 at net/8021q/vlan\_core.c:376 vlan\_vid\_del+0x1b8/0x1f0
CPU: 1 PID: 329 Comm: bash Tainted: G        W          6.5.0-rc3+ \#771
pc : vlan\_vid\_del+0x1b8/0x1f0
lr : vlan\_vid\_del+0x1b8/0x1f0
 dsa\_tag\_8021q\_unregister+0x8c/0x1a0
 felix\_tag\_8021q\_teardown+0x130/0x150
 felix\_teardown+0x3c/0xd8
 dsa\_tree\_teardown\_switches+0xbc/0xe0
 dsa\_unregister\_switch+0x168/0x260
 felix\_pci\_remove+0x30/0x60
 pci\_device\_remove+0x4c/0x100
 device\_release\_driver\_internal+0x188/0x288
 device\_links\_unbind\_consumers+0xfc/0x138
 device\_release\_driver\_internal+0xe0/0x288
 device\_driver\_detach+0x24/0x38
 unbind\_store+0xd8/0x108
 drv\_attr\_store+0x30/0x50
DSA: tree 0 torn down

This was somewhat not so easy to spot, because "ocelot-8021q" is not the
default tagging protocol, and thus, not everyone who tests the unbinding
path may have switched to it beforehand. The default
felix\_tag\_npi\_teardown() does not require rtnl\_lock() to be held.

## Affected and fixed versions

- Linux: \>= 7c83a7c539abe9f980996063ac20532a7a7f6eb1, \< 758dbcfb257e1aee0a310bae789c2af6ffe35d0f; \>= 7c83a7c539abe9f980996063ac20532a7a7f6eb1, \< 7ae8fa6b70975b6efbbef7912d09bff5a0bff491; \>= 7c83a7c539abe9f980996063ac20532a7a7f6eb1, \< a94c16a2fda010866b8858a386a8bfbeba4f72c5 (cvelist)
- Linux: 5.12 (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-53855. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-53855.md
Affected: Linux >= 7c83a7c539abe9f980996063ac20532a7a7f6eb1, < 758dbcfb257e1aee0a310bae789c2af6ffe35d0f; >= 7c83a7c539abe9f980996063ac20532a7a7f6eb1, < 7ae8fa6b70975b6efbbef7912d09bff5a0bff491; >= 7c83a7c539abe9f980996063ac20532a7a7f6eb1, < a94c16a2fda010866b8858a386a8bfbeba4f72c5; Linux 5.12
Fixed in: Linux 758dbcfb257e1aee0a310bae789c2af6ffe35d0f, Linux 7ae8fa6b70975b6efbbef7912d09bff5a0bff491

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

There is no confirmed exploitation: CVE-2023-53855 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-53855?

It has no CVSS score yet. Unknown.

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

Linux \>= 7c83a7c539abe9f980996063ac20532a7a7f6eb1, \< 758dbcfb257e1aee0a310bae789c2af6ffe35d0f; \>= 7c83a7c539abe9f980996063ac20532a7a7f6eb1, \< 7ae8fa6b70975b6efbbef7912d09bff5a0bff491; \>= 7c83a7c539abe9f980996063ac20532a7a7f6eb1, \< a94c16a2fda010866b8858a386a8bfbeba4f72c5; Linux 5.12.

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

Yes. Fixed in Linux 758dbcfb257e1aee0a310bae789c2af6ffe35d0f, Linux 7ae8fa6b70975b6efbbef7912d09bff5a0bff491. No fix listed yet: follow the vendor advisory.

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

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/758dbcfb257e1aee0a310bae789c2af6ffe35d0f>
- other: <https://git.kernel.org/stable/c/7ae8fa6b70975b6efbbef7912d09bff5a0bff491>
- other: <https://git.kernel.org/stable/c/a94c16a2fda010866b8858a386a8bfbeba4f72c5>

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

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