# CVE-2023-53595: octeontx2-pf: mcs: Fix NULL pointer dereferences

> 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.22% (percentile 7, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2025-10-04T15:44:08.261Z
- **Modified:** 2026-06-17T06:45:40.817Z

## Who should check

- Anyone running Linux \>= c54ffc73601c0a239e55911923a6e23a2a74f143, \< a3dcc45eca017fca82ac47dbde6f41af960657e5; \>= c54ffc73601c0a239e55911923a6e23a2a74f143, \< 1152c0f947b76e7731e039185cbd00fdb4389f00; \>= c54ffc73601c0a239e55911923a6e23a2a74f143, \< 13ff119b17e5e2916435ce01a0156c8698ad9e16; \>= c54ffc73601c0a239e55911923a6e23a2a74f143, \< 699af748c61574125d269db260dabbe20436d74e
- Anyone running Linux 6.1

## Description

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

octeontx2-pf: mcs: Fix NULL pointer dereferences

When system is rebooted after creating macsec interface
below NULL pointer dereference crashes occurred. This
patch fixes those crashes by using correct order of teardown

\[ 3324.406942\] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000
\[ 3324.415726\] Mem abort info:
\[ 3324.418510\]   ESR = 0x96000006
\[ 3324.421557\]   EC = 0x25: DABT (current EL), IL = 32 bits
\[ 3324.426865\]   SET = 0, FnV = 0
\[ 3324.429913\]   EA = 0, S1PTW = 0
\[ 3324.433047\] Data abort info:
\[ 3324.435921\]   ISV = 0, ISS = 0x00000006
\[ 3324.439748\]   CM = 0, WnR = 0
....
\[ 3324.575915\] Call trace:
\[ 3324.578353\]  cn10k\_mdo\_del\_secy+0x24/0x180
\[ 3324.582440\]  macsec\_common\_dellink+0xec/0x120
\[ 3324.586788\]  macsec\_notify+0x17c/0x1c0
\[ 3324.590529\]  raw\_notifier\_call\_chain+0x50/0x70
\[ 3324.594965\]  call\_netdevice\_notifiers\_info+0x34/0x7c
\[ 3324.599921\]  rollback\_registered\_many+0x354/0x5bc
\[ 3324.604616\]  unregister\_netdevice\_queue+0x88/0x10c
\[ 3324.609399\]  unregister\_netdev+0x20/0x30
\[ 3324.613313\]  otx2\_remove+0x8c/0x310
\[ 3324.616794\]  pci\_device\_shutdown+0x30/0x70
\[ 3324.620882\]  device\_shutdown+0x11c/0x204

\[  966.664930\] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000
\[  966.673712\] Mem abort info:
\[  966.676497\]   ESR = 0x96000006
\[  966.679543\]   EC = 0x25: DABT (current EL), IL = 32 bits
\[  966.684848\]   SET = 0, FnV = 0
\[  966.687895\]   EA = 0, S1PTW = 0
\[  966.691028\] Data abort info:
\[  966.693900\]   ISV = 0, ISS = 0x00000006
\[  966.697729\]   CM = 0, WnR = 0
\[  966.833467\] Call trace:
\[  966.835904\]  cn10k\_mdo\_stop+0x20/0xa0
\[  966.839557\]  macsec\_dev\_stop+0xe8/0x11c
\[  966.843384\]  \_\_dev\_close\_many+0xbc/0x140
\[  966.847298\]  dev\_close\_many+0x84/0x120
\[  966.851039\]  rollback\_registered\_many+0x114/0x5bc
\[  966.855735\]  unregister\_netdevice\_many.part.0+0x14/0xa0
\[  966.860952\]  unregister\_netdevice\_many+0x18/0x24
\[  966.865560\]  macsec\_notify+0x1ac/0x1c0
\[  966.869303\]  raw\_notifier\_call\_chain+0x50/0x70
\[  966.873738\]  call\_netdevice\_notifiers\_info+0x34/0x7c
\[  966.878694\]  rollback\_registered\_many+0x354/0x5bc
\[  966.883390\]  unregister\_netdevice\_queue+0x88/0x10c
\[  966.888173\]  unregister\_netdev+0x20/0x30
\[  966.892090\]  otx2\_remove+0x8c/0x310
\[  966.895571\]  pci\_device\_shutdown+0x30/0x70
\[  966.899660\]  device\_shutdown+0x11c/0x204
\[  966.903574\]  \_\_do\_sys\_reboot+0x208/0x290
\[  966.907487\]  \_\_arm64\_sys\_reboot+0x20/0x30
\[  966.911489\]  el0\_svc\_handler+0x80/0x1c0
\[  966.915316\]  el0\_svc+0x8/0x180
\[  966.918362\] Code: f9400000 f9400a64 91220014 f94b3403 (f9400060)
\[  966.924448\] ---\[ end trace 341778e799c3d8d7 \]---

## Affected and fixed versions

- Linux: \>= c54ffc73601c0a239e55911923a6e23a2a74f143, \< a3dcc45eca017fca82ac47dbde6f41af960657e5; \>= c54ffc73601c0a239e55911923a6e23a2a74f143, \< 1152c0f947b76e7731e039185cbd00fdb4389f00; \>= c54ffc73601c0a239e55911923a6e23a2a74f143, \< 13ff119b17e5e2916435ce01a0156c8698ad9e16; \>= c54ffc73601c0a239e55911923a6e23a2a74f143, \< 699af748c61574125d269db260dabbe20436d74e (cvelist)
- Linux: 6.1 (cvelist)

## Mitigation

- Upgrade Linux to 699af748c61574125d269db260dabbe20436d74e or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2023-53595.md
Affected: Linux >= c54ffc73601c0a239e55911923a6e23a2a74f143, < a3dcc45eca017fca82ac47dbde6f41af960657e5; >= c54ffc73601c0a239e55911923a6e23a2a74f143, < 1152c0f947b76e7731e039185cbd00fdb4389f00; >= c54ffc73601c0a239e55911923a6e23a2a74f143, < 13ff119b17e5e2916435ce01a0156c8698ad9e16; >= c54ffc73601c0a239e55911…
Fixed in: Linux 1152c0f947b76e7731e039185cbd00fdb4389f00, Linux 13ff119b17e5e2916435ce01a0156c8698ad9e16, Linux 699af748c61574125d269db260dabbe20436d74e

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

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

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

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

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

Linux \>= c54ffc73601c0a239e55911923a6e23a2a74f143, \< a3dcc45eca017fca82ac47dbde6f41af960657e5; \>= c54ffc73601c0a239e55911923a6e23a2a74f143, \< 1152c0f947b76e7731e039185cbd00fdb4389f00; \>= c54ffc73601c0a239e55911923a6e23a2a74f143, \< 13ff119b17e5e2916435ce01a0156c8698ad9e16; \>= c54ffc73601c0a239e55911923a6e23a2a74f143, \< 699af748c61574125d269db260dabbe20436d74e; Linux 6.1.

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

Yes. Fixed in Linux 1152c0f947b76e7731e039185cbd00fdb4389f00, Linux 13ff119b17e5e2916435ce01a0156c8698ad9e16, Linux 699af748c61574125d269db260dabbe20436d74e. Upgrade Linux to 699af748c61574125d269db260dabbe20436d74e or later.

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

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/a3dcc45eca017fca82ac47dbde6f41af960657e5>
- patch: <https://git.kernel.org/stable/c/1152c0f947b76e7731e039185cbd00fdb4389f00>
- patch: <https://git.kernel.org/stable/c/13ff119b17e5e2916435ce01a0156c8698ad9e16>
- patch: <https://git.kernel.org/stable/c/699af748c61574125d269db260dabbe20436d74e>

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

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