# CVE-2023-53995: net: ipv4: fix one memleak in \_\_inet\_del\_ifa()

> 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.29% (percentile 14, 2026-11-26)
- **Published:** 2025-12-24T10:55:32.713Z
- **Modified:** 2026-06-17T06:46:30.293Z

## Who should check

- Anyone running Linux \>= 0ff60a45678e67b2547256a636fd00c1667ce4fa, \< 5624f26a3574500ce23929cb2c9976a0dec9920a; \>= 0ff60a45678e67b2547256a636fd00c1667ce4fa, \< 7c8ddcdab1b900bed69cad6beef477fff116289e; \>= 0ff60a45678e67b2547256a636fd00c1667ce4fa, \< 2f1e86014d0cc084886c36a2d77bc620e2d42618; \>= 0ff60a45678e67b2547256a636fd00c1667ce4fa, \< 980f8445479814509a3cd55a8eabaae1c9030a4c; \>= 0ff60a45678e67b2547256a636fd00c1667ce4fa, \< 42652af5360d30b43b06057c193739e7dfb18f42; \>= 0ff60a45678e67b2547256a636fd00c1667ce4fa, \< ac28b1ec6135649b5d78b028e47264cb3ebca5ea
- Anyone running Linux 2.6.15

## Description

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

net: ipv4: fix one memleak in \_\_inet\_del\_ifa()

I got the below warning when do fuzzing test:
unregister\_netdevice: waiting for bond0 to become free. Usage count = 2

It can be repoduced via:

ip link add bond0 type bond
sysctl -w net.ipv4.conf.bond0.promote\_secondaries=1
ip addr add 4.117.174.103/0 scope 0x40 dev bond0
ip addr add 192.168.100.111/255.255.255.254 scope 0 dev bond0
ip addr add 0.0.0.4/0 scope 0x40 secondary dev bond0
ip addr del 4.117.174.103/0 scope 0x40 dev bond0
ip link delete bond0 type bond

In this reproduction test case, an incorrect 'last\_prim' is found in
\_\_inet\_del\_ifa(), as a result, the secondary address(0.0.0.4/0 scope 0x40)
is lost. The memory of the secondary address is leaked and the reference of
in\_device and net\_device is leaked.

Fix this problem:
Look for 'last\_prim' starting at location of the deleted IP and inserting
the promoted IP into the location of 'last\_prim'.

## Affected and fixed versions

- Linux: \>= 0ff60a45678e67b2547256a636fd00c1667ce4fa, \< 5624f26a3574500ce23929cb2c9976a0dec9920a; \>= 0ff60a45678e67b2547256a636fd00c1667ce4fa, \< 7c8ddcdab1b900bed69cad6beef477fff116289e; \>= 0ff60a45678e67b2547256a636fd00c1667ce4fa, \< 2f1e86014d0cc084886c36a2d77bc620e2d42618; \>= 0ff60a45678e67b2547256a636fd00c1667ce4fa, \< 980f8445479814509a3cd55a8eabaae1c9030a4c; \>= 0ff60a45678e67b2547256a636fd00c1667ce4fa, \< 42652af5360d30b43b06057c193739e7dfb18f42; \>= 0ff60a45678e67b2547256a636fd00c1667ce4fa, \< ac28b1ec6135649b5d78b028e47264cb3ebca5ea (cvelist)
- Linux: 2.6.15 (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-53995. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-53995.md
Affected: Linux >= 0ff60a45678e67b2547256a636fd00c1667ce4fa, < 5624f26a3574500ce23929cb2c9976a0dec9920a; >= 0ff60a45678e67b2547256a636fd00c1667ce4fa, < 7c8ddcdab1b900bed69cad6beef477fff116289e; >= 0ff60a45678e67b2547256a636fd00c1667ce4fa, < 2f1e86014d0cc084886c36a2d77bc620e2d42618; >= 0ff60a45678e67b2547256a…
Fixed in: Linux 5624f26a3574500ce23929cb2c9976a0dec9920a, Linux 7c8ddcdab1b900bed69cad6beef477fff116289e, Linux 2f1e86014d0cc084886c36a2d77bc620e2d42618, Linux 980f8445479814509a3cd55a8eabaae1c9030a4c, Linux 42652af5360d30b43b06057c193739e7dfb18f42

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

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= 0ff60a45678e67b2547256a636fd00c1667ce4fa, \< 5624f26a3574500ce23929cb2c9976a0dec9920a; \>= 0ff60a45678e67b2547256a636fd00c1667ce4fa, \< 7c8ddcdab1b900bed69cad6beef477fff116289e; \>= 0ff60a45678e67b2547256a636fd00c1667ce4fa, \< 2f1e86014d0cc084886c36a2d77bc620e2d42618; \>= 0ff60a45678e67b2547256a636fd00c1667ce4fa, \< 980f8445479814509a3cd55a8eabaae1c9030a4c; \>= 0ff60a45678e67b2547256a636fd00c1667ce4fa, \< 42652af5360d30b43b06057c193739e7dfb18f42; \>= 0ff60a45678e67b2547256a636fd00c1667ce4fa, \< ac28b1ec6135649b5d78b028e47264cb3ebca5ea; Linux 2.6.15.

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

Yes. Fixed in Linux 5624f26a3574500ce23929cb2c9976a0dec9920a, Linux 7c8ddcdab1b900bed69cad6beef477fff116289e, Linux 2f1e86014d0cc084886c36a2d77bc620e2d42618, Linux 980f8445479814509a3cd55a8eabaae1c9030a4c, Linux 42652af5360d30b43b06057c193739e7dfb18f42. No fix listed yet: follow the vendor advisory.

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

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/5624f26a3574500ce23929cb2c9976a0dec9920a>
- other: <https://git.kernel.org/stable/c/7c8ddcdab1b900bed69cad6beef477fff116289e>
- other: <https://git.kernel.org/stable/c/2f1e86014d0cc084886c36a2d77bc620e2d42618>
- other: <https://git.kernel.org/stable/c/980f8445479814509a3cd55a8eabaae1c9030a4c>
- other: <https://git.kernel.org/stable/c/42652af5360d30b43b06057c193739e7dfb18f42>
- other: <https://git.kernel.org/stable/c/ac28b1ec6135649b5d78b028e47264cb3ebca5ea>

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

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