Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2023-53685

5.5 · MEDIUM
Published Oct 7, 2025 linux CWE-401 EPSS 0.13% (3th pctl)

Overview

CVE-2023-53685 is a medium-severity vulnerability affecting linux linux_kernel. It was published on October 7, 2025 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical Description

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

tun: Fix memory leak for detached NAPI queue.

syzkaller reported [0] memory leaks of sk and skb related to the TUN

device with no repro, but we can reproduce it easily with:

struct ifreq ifr = {}

int fd_tun, fd_tmp;

char buf[4] = {};

fd_tun = openat(AT_FDCWD, "/dev/net/tun", O_WRONLY, 0);

ifr.ifr_flags = IFF_TUN | IFF_NAPI | IFF_MULTI_QUEUE;

ioctl(fd_tun, TUNSETIFF, &ifr);

ifr.ifr_flags = IFF_DETACH_QUEUE;

ioctl(fd_tun, TUNSETQUEUE, &ifr);

fd_tmp = socket(AF_PACKET, SOCK_PACKET, 0);

ifr.ifr_flags = IFF_UP;

ioctl(fd_tmp, SIOCSIFFLAGS, &ifr);

write(fd_tun, buf, sizeof(buf));

close(fd_tun);

If we enable NAPI and multi-queue on a TUN device, we can put skb into

tfile->sk.sk_write_queue after the queue is detached. We should prevent

it by checking tfile->detached before queuing skb.

Note this must be done under tfile->sk.sk_write_queue.lock because write()

and ioctl(IFF_DETACH_QUEUE) can

Remediation

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
linux linux_kernel >= 3.8, < 6.1.30 Affected

Frequently Asked Questions

What is CVE-2023-53685?

CVE-2023-53685 is a medium-severity vulnerability affecting linux linux_kernel. It was published on October 7, 2025 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2023-53685?

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2023-53685?

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2023-53685?

CyberStrike's AI-powered security agents can automatically detect CVE-2023-53685 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.