# CVE-2023-53731: netlink: fix potential deadlock in netlink\_set\_err()

> 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.32% (percentile 18, 2026-11-26)
- **Published:** 2025-10-22T13:23:59.055Z
- **Modified:** 2026-10-28T19:10:00.193Z

## Who should check

- Anyone running Linux \>= 82b2ea5f904b3826934df4a00f3b8806272185f6, \< c09e8e3f7fd432984bf5422302b093d2371dfc48; \>= 59fba11d649854134c75ad88c8adafa9304ac419, \< 4b9adb8d4a62ff7608d4a7d4eb42036a88f30980; \>= 21df0c2e7d195de4a3c650de9361b3037fa6c59a, \< 8f6652ed2ad98fe6d13b903483d9257762ab2ec6; \>= 1d6d43d4805da9b3fa0f5841e8b1083c89868f35, \< cde7b90e0539a3b11da377e463dfd2288a162dbf; \>= 1d482e666b8e74c7555dbdfbfb77205eeed3ff2d, \< a641240b7e071c5538dc0e7894ece833fce459dd; \>= 1d482e666b8e74c7555dbdfbfb77205eeed3ff2d, \< 61ffe8b1ee084e5c82a4e4bbf9e7b68e0c06e464; \>= 1d482e666b8e74c7555dbdfbfb77205eeed3ff2d, \< eb8e27c8fa9397b4a7b181c48fa58157dbe9902e; \>= 1d482e666b8e74c7555dbdfbfb77205eeed3ff2d, \< 1556ba034b95cfd4f75ea93c1a2679ae0444bba1; \>= 1d482e666b8e74c7555dbdfbfb77205eeed3ff2d, \< 8d61f926d42045961e6b65191c09e3678d86a9cf; 5f155c4046200f067b1dc3140ea99ef56e4e0b74; …
- Anyone running Linux 5.13

## Description

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

netlink: fix potential deadlock in netlink\_set\_err()

syzbot reported a possible deadlock in netlink\_set\_err() \[1\]

A similar issue was fixed in commit 1d482e666b8e ("netlink: disable IRQs
for netlink\_lock\_table()") in netlink\_lock\_table()

This patch adds IRQ safety to netlink\_set\_err() and \_\_netlink\_diag\_dump()
which were not covered by cited commit.

\[1\]

WARNING: possible irq lock inversion dependency detected
6.4.0-rc6-syzkaller-00240-g4e9f0ec38852 \#0 Not tainted

syz-executor.2/23011 just changed the state of lock:
ffffffff8e1a7a58 (nl\_table\_lock){.+.?}-{2:2}, at: netlink\_set\_err+0x2e/0x3a0 net/netlink/af\_netlink.c:1612
but this lock was taken by another, SOFTIRQ-safe lock in the past:
 (&local-\>queue\_stop\_reason\_lock){..-.}-{2:2}

and interrupts could create inverse lock ordering between them.

other info that might help us debug this:
 Possible interrupt unsafe locking scenario:

       CPU0                    CPU1
       ----                    ----
  lock(nl\_table\_lock);
                               local\_irq\_disable();
                               lock(&local-\>queue\_stop\_reason\_lock);
                               lock(nl\_table\_lock);
  \<Interrupt\>
    lock(&local-\>queue\_stop\_reason\_lock);

 \*\*\* DEADLOCK \*\*\*

## Affected and fixed versions

- Linux: \>= 82b2ea5f904b3826934df4a00f3b8806272185f6, \< c09e8e3f7fd432984bf5422302b093d2371dfc48; \>= 59fba11d649854134c75ad88c8adafa9304ac419, \< 4b9adb8d4a62ff7608d4a7d4eb42036a88f30980; \>= 21df0c2e7d195de4a3c650de9361b3037fa6c59a, \< 8f6652ed2ad98fe6d13b903483d9257762ab2ec6; \>= 1d6d43d4805da9b3fa0f5841e8b1083c89868f35, \< cde7b90e0539a3b11da377e463dfd2288a162dbf; \>= 1d482e666b8e74c7555dbdfbfb77205eeed3ff2d, \< a641240b7e071c5538dc0e7894ece833fce459dd; \>= 1d482e666b8e74c7555dbdfbfb77205eeed3ff2d, \< 61ffe8b1ee084e5c82a4e4bbf9e7b68e0c06e464; \>= 1d482e666b8e74c7555dbdfbfb77205eeed3ff2d, \< eb8e27c8fa9397b4a7b181c48fa58157dbe9902e; \>= 1d482e666b8e74c7555dbdfbfb77205eeed3ff2d, \< 1556ba034b95cfd4f75ea93c1a2679ae0444bba1; \>= 1d482e666b8e74c7555dbdfbfb77205eeed3ff2d, \< 8d61f926d42045961e6b65191c09e3678d86a9cf; 5f155c4046200f067b1dc3140ea99ef56e4e0b74; … (cvelist)
- Linux: 5.13 (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-53731. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-53731.md
Affected: Linux >= 82b2ea5f904b3826934df4a00f3b8806272185f6, < c09e8e3f7fd432984bf5422302b093d2371dfc48; >= 59fba11d649854134c75ad88c8adafa9304ac419, < 4b9adb8d4a62ff7608d4a7d4eb42036a88f30980; >= 21df0c2e7d195de4a3c650de9361b3037fa6c59a, < 8f6652ed2ad98fe6d13b903483d9257762ab2ec6; >= 1d6d43d4805da9b3fa0f584…
Fixed in: Linux 4b9adb8d4a62ff7608d4a7d4eb42036a88f30980, Linux 8f6652ed2ad98fe6d13b903483d9257762ab2ec6, Linux 61ffe8b1ee084e5c82a4e4bbf9e7b68e0c06e464, Linux 1556ba034b95cfd4f75ea93c1a2679ae0444bba1, Linux 8d61f926d42045961e6b65191c09e3678d86a9cf

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

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= 82b2ea5f904b3826934df4a00f3b8806272185f6, \< c09e8e3f7fd432984bf5422302b093d2371dfc48; \>= 59fba11d649854134c75ad88c8adafa9304ac419, \< 4b9adb8d4a62ff7608d4a7d4eb42036a88f30980; \>= 21df0c2e7d195de4a3c650de9361b3037fa6c59a, \< 8f6652ed2ad98fe6d13b903483d9257762ab2ec6; \>= 1d6d43d4805da9b3fa0f5841e8b1083c89868f35, \< cde7b90e0539a3b11da377e463dfd2288a162dbf; \>= 1d482e666b8e74c7555dbdfbfb77205eeed3ff2d, \< a641240b7e071c5538dc0e7894ece833fce459dd; \>= 1d482e666b8e74c7555dbdfbfb77205eeed3ff2d, \< 61ffe8b1ee084e5c82a4e4bbf9e7b68e0c06e464; \>= 1d482e666b8e74c7555dbdfbfb77205eeed3ff2d, \< eb8e27c8fa9397b4a7b181c48fa58157dbe9902e; \>= 1d482e666b8e74c7555dbdfbfb77205eeed3ff2d, \< 1556ba034b95cfd4f75ea93c1a2679ae0444bba1; \>= 1d482e666b8e74c7555dbdfbfb77205eeed3ff2d, \< 8d61f926d42045961e6b65191c09e3678d86a9cf; 5f155c4046200f067b1dc3140ea99ef56e4e0b74; …; Linux 5.13.

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

Yes. Fixed in Linux 4b9adb8d4a62ff7608d4a7d4eb42036a88f30980, Linux 8f6652ed2ad98fe6d13b903483d9257762ab2ec6, Linux 61ffe8b1ee084e5c82a4e4bbf9e7b68e0c06e464, Linux 1556ba034b95cfd4f75ea93c1a2679ae0444bba1, Linux 8d61f926d42045961e6b65191c09e3678d86a9cf. No fix listed yet: follow the vendor advisory.

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

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/c09e8e3f7fd432984bf5422302b093d2371dfc48>
- other: <https://git.kernel.org/stable/c/4b9adb8d4a62ff7608d4a7d4eb42036a88f30980>
- other: <https://git.kernel.org/stable/c/8f6652ed2ad98fe6d13b903483d9257762ab2ec6>
- other: <https://git.kernel.org/stable/c/cde7b90e0539a3b11da377e463dfd2288a162dbf>
- other: <https://git.kernel.org/stable/c/a641240b7e071c5538dc0e7894ece833fce459dd>
- other: <https://git.kernel.org/stable/c/61ffe8b1ee084e5c82a4e4bbf9e7b68e0c06e464>
- other: <https://git.kernel.org/stable/c/eb8e27c8fa9397b4a7b181c48fa58157dbe9902e>
- other: <https://git.kernel.org/stable/c/1556ba034b95cfd4f75ea93c1a2679ae0444bba1>
- other: <https://git.kernel.org/stable/c/8d61f926d42045961e6b65191c09e3678d86a9cf>

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

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