# CVE-2023-53369: net: dcb: choose correct policy to parse DCB\_ATTR\_BCN

> 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, CNA) `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.25% (percentile 10, 2026-11-26)
- **Published:** 2025-09-18T13:33:17.384Z
- **Modified:** 2026-06-17T06:45:07.470Z

## Who should check

- Anyone running Linux \>= 859ee3c43812051e21816c6d6d4cc04fb7ce9b2e, \< 5b3dbedb8d4a0f9f7ce904d76b885438af2a21f9; \>= 859ee3c43812051e21816c6d6d4cc04fb7ce9b2e, \< 8e309f43d0ca4051d20736c06a6f84bbddd881da; \>= 859ee3c43812051e21816c6d6d4cc04fb7ce9b2e, \< a0da2684db18dead3bcee12fb185e596e3d63c2b; \>= 859ee3c43812051e21816c6d6d4cc04fb7ce9b2e, \< ecff20e193207b44fdbfe64d7de89890f0a7fe6c; \>= 859ee3c43812051e21816c6d6d4cc04fb7ce9b2e, \< 199fde04bd875d28b3a5ca525eaaa004eec6e947; \>= 859ee3c43812051e21816c6d6d4cc04fb7ce9b2e, \< 31d49ba033095f6e8158c60f69714a500922e0c3
- Anyone running Linux 2.6.29

## Description

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

net: dcb: choose correct policy to parse DCB\_ATTR\_BCN

The dcbnl\_bcn\_setcfg uses erroneous policy to parse tb\[DCB\_ATTR\_BCN\],
which is introduced in commit 859ee3c43812 ("DCB: Add support for DCB
BCN"). Please see the comment in below code

static int dcbnl\_bcn\_setcfg(...)
{
  ...
  ret = nla\_parse\_nested\_deprecated(..., dcbnl\_pfc\_up\_nest, .. )
  // !!! dcbnl\_pfc\_up\_nest for attributes
  //  DCB\_PFC\_UP\_ATTR\_0 to DCB\_PFC\_UP\_ATTR\_ALL in enum dcbnl\_pfc\_up\_attrs
  ...
  for (i = DCB\_BCN\_ATTR\_RP\_0; i \<= DCB\_BCN\_ATTR\_RP\_7; i++) {
  // !!! DCB\_BCN\_ATTR\_RP\_0 to DCB\_BCN\_ATTR\_RP\_7 in enum dcbnl\_bcn\_attrs
    ...
    value\_byte = nla\_get\_u8(data\[i\]);
    ...
  }
  ...
  for (i = DCB\_BCN\_ATTR\_BCNA\_0; i \<= DCB\_BCN\_ATTR\_RI; i++) {
  // !!! DCB\_BCN\_ATTR\_BCNA\_0 to DCB\_BCN\_ATTR\_RI in enum dcbnl\_bcn\_attrs
  ...
    value\_int = nla\_get\_u32(data\[i\]);
  ...
  }
  ...
}

That is, the nla\_parse\_nested\_deprecated uses dcbnl\_pfc\_up\_nest
attributes to parse nlattr defined in dcbnl\_pfc\_up\_attrs. But the
following access code fetch each nlattr as dcbnl\_bcn\_attrs attributes.
By looking up the associated nla\_policy for dcbnl\_bcn\_attrs. We can find
the beginning part of these two policies are "same".

static const struct nla\_policy dcbnl\_pfc\_up\_nest\[...\] = {
        \[DCB\_PFC\_UP\_ATTR\_0\]   = {.type = NLA\_U8},
        \[DCB\_PFC\_UP\_ATTR\_1\]   = {.type = NLA\_U8},
        \[DCB\_PFC\_UP\_ATTR\_2\]   = {.type = NLA\_U8},
        \[DCB\_PFC\_UP\_ATTR\_3\]   = {.type = NLA\_U8},
        \[DCB\_PFC\_UP\_ATTR\_4\]   = {.type = NLA\_U8},
        \[DCB\_PFC\_UP\_ATTR\_5\]   = {.type = NLA\_U8},
        \[DCB\_PFC\_UP\_ATTR\_6\]   = {.type = NLA\_U8},
        \[DCB\_PFC\_UP\_ATTR\_7\]   = {.type = NLA\_U8},
        \[DCB\_PFC\_UP\_ATTR\_ALL\] = {.type = NLA\_FLAG},
};

static const struct nla\_policy dcbnl\_bcn\_nest\[...\] = {
        \[DCB\_BCN\_ATTR\_RP\_0\]         = {.type = NLA\_U8},
        \[DCB\_BCN\_ATTR\_RP\_1\]         = {.type = NLA\_U8},
        \[DCB\_BCN\_ATTR\_RP\_2\]         = {.type = NLA\_U8},
        \[DCB\_BCN\_ATTR\_RP\_3\]         = {.type = NLA\_U8},
        \[DCB\_BCN\_ATTR\_RP\_4\]         = {.type = NLA\_U8},
        \[DCB\_BCN\_ATTR\_RP\_5\]         = {.type = NLA\_U8},
        \[DCB\_BCN\_ATTR\_RP\_6\]         = {.type = NLA\_U8},
        \[DCB\_BCN\_ATTR\_RP\_7\]         = {.type = NLA\_U8},
        \[DCB\_BCN\_ATTR\_RP\_ALL\]       = {.type = NLA\_FLAG},
        // from here is somewhat different
        \[DCB\_BCN\_ATTR\_BCNA\_0\]       = {.type = NLA\_U32},
        ...
        \[DCB\_BCN\_ATTR\_ALL\]          = {.type = NLA\_FLAG},
};

Therefore, the current code is buggy and this
nla\_parse\_nested\_deprecated could overflow the dcbnl\_pfc\_up\_nest and use
the adjacent nla\_policy to parse attributes from DCB\_BCN\_ATTR\_BCNA\_0.

Hence use the correct policy dcbnl\_bcn\_nest to parse the nested
tb\[DCB\_ATTR\_BCN\] TLV.

## Affected and fixed versions

- Linux: \>= 859ee3c43812051e21816c6d6d4cc04fb7ce9b2e, \< 5b3dbedb8d4a0f9f7ce904d76b885438af2a21f9; \>= 859ee3c43812051e21816c6d6d4cc04fb7ce9b2e, \< 8e309f43d0ca4051d20736c06a6f84bbddd881da; \>= 859ee3c43812051e21816c6d6d4cc04fb7ce9b2e, \< a0da2684db18dead3bcee12fb185e596e3d63c2b; \>= 859ee3c43812051e21816c6d6d4cc04fb7ce9b2e, \< ecff20e193207b44fdbfe64d7de89890f0a7fe6c; \>= 859ee3c43812051e21816c6d6d4cc04fb7ce9b2e, \< 199fde04bd875d28b3a5ca525eaaa004eec6e947; \>= 859ee3c43812051e21816c6d6d4cc04fb7ce9b2e, \< 31d49ba033095f6e8158c60f69714a500922e0c3 (cvelist)
- Linux: 2.6.29 (cvelist)

## Mitigation

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

Details: https://flawdb.com/CVE-2023-53369.md
Affected: Linux >= 859ee3c43812051e21816c6d6d4cc04fb7ce9b2e, < 5b3dbedb8d4a0f9f7ce904d76b885438af2a21f9; >= 859ee3c43812051e21816c6d6d4cc04fb7ce9b2e, < 8e309f43d0ca4051d20736c06a6f84bbddd881da; >= 859ee3c43812051e21816c6d6d4cc04fb7ce9b2e, < a0da2684db18dead3bcee12fb185e596e3d63c2b; >= 859ee3c43812051e21816c6…
Fixed in: Linux 5b3dbedb8d4a0f9f7ce904d76b885438af2a21f9, Linux 8e309f43d0ca4051d20736c06a6f84bbddd881da, Linux 199fde04bd875d28b3a5ca525eaaa004eec6e947, Linux 31d49ba033095f6e8158c60f69714a500922e0c3

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

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

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

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

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

Linux \>= 859ee3c43812051e21816c6d6d4cc04fb7ce9b2e, \< 5b3dbedb8d4a0f9f7ce904d76b885438af2a21f9; \>= 859ee3c43812051e21816c6d6d4cc04fb7ce9b2e, \< 8e309f43d0ca4051d20736c06a6f84bbddd881da; \>= 859ee3c43812051e21816c6d6d4cc04fb7ce9b2e, \< a0da2684db18dead3bcee12fb185e596e3d63c2b; \>= 859ee3c43812051e21816c6d6d4cc04fb7ce9b2e, \< ecff20e193207b44fdbfe64d7de89890f0a7fe6c; \>= 859ee3c43812051e21816c6d6d4cc04fb7ce9b2e, \< 199fde04bd875d28b3a5ca525eaaa004eec6e947; \>= 859ee3c43812051e21816c6d6d4cc04fb7ce9b2e, \< 31d49ba033095f6e8158c60f69714a500922e0c3; Linux 2.6.29.

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

Yes. Fixed in Linux 5b3dbedb8d4a0f9f7ce904d76b885438af2a21f9, Linux 8e309f43d0ca4051d20736c06a6f84bbddd881da, Linux 199fde04bd875d28b3a5ca525eaaa004eec6e947, Linux 31d49ba033095f6e8158c60f69714a500922e0c3. Upgrade Linux to 31d49ba033095f6e8158c60f69714a500922e0c3 or later.

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

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/5b3dbedb8d4a0f9f7ce904d76b885438af2a21f9>
- patch: <https://git.kernel.org/stable/c/8e309f43d0ca4051d20736c06a6f84bbddd881da>
- patch: <https://git.kernel.org/stable/c/a0da2684db18dead3bcee12fb185e596e3d63c2b>
- patch: <https://git.kernel.org/stable/c/ecff20e193207b44fdbfe64d7de89890f0a7fe6c>
- patch: <https://git.kernel.org/stable/c/199fde04bd875d28b3a5ca525eaaa004eec6e947>
- patch: <https://git.kernel.org/stable/c/31d49ba033095f6e8158c60f69714a500922e0c3>

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

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