# CVE-2023-52998: net: fec: Use page\_pool\_put\_full\_page when freeing rx buffers

> 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.17% (percentile 7, 2026-12-04)
- **Published:** 2025-03-27T16:43:31.817Z
- **Modified:** 2026-06-17T06:44:05.180Z

## Who should check

- Anyone running Linux \>= 95698ff6177b5f1f13f251da60e7348413046ae4, \< 554484a34e985a307756ee4794e60be31e3db2e5; \>= 95698ff6177b5f1f13f251da60e7348413046ae4, \< e38553bdc377e3e7a6caa9dd9770d8b644d8dac3
- Anyone running Linux 6.1

## Description

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

net: fec: Use page\_pool\_put\_full\_page when freeing rx buffers

The page\_pool\_release\_page was used when freeing rx buffers, and this
function just unmaps the page (if mapped) and does not recycle the page.
So after hundreds of down/up the eth0, the system will out of memory.
For more details, please refer to the following reproduce steps and
bug logs. To solve this issue and refer to the doc of page pool, the
page\_pool\_put\_full\_page should be used to replace page\_pool\_release\_page.
Because this API will try to recycle the page if the page refcnt equal to
1. After testing 20000 times, the issue can not be reproduced anymore
(about testing 391 times the issue will occur on i.MX8MN-EVK before).

Reproduce steps:
Create the test script and run the script. The script content is as
follows:
LOOPS=20000
i=1
while \[ $i -le $LOOPS \]
do
    echo "TINFO:ENET $curface up and down test $i times"
    org\_macaddr=$(cat /sys/class/net/eth0/address)
    ifconfig eth0 down
    ifconfig eth0  hw ether $org\_macaddr up
    i=$(expr $i + 1)
done
sleep 5
if cat /sys/class/net/eth0/operstate \| grep 'up';then
    echo "TEST PASS"
else
    echo "TEST FAIL"
fi

Bug detail logs:
TINFO:ENET  up and down test 391 times
\[  850.471205\] Qualcomm Atheros AR8031/AR8033 30be0000.ethernet-1:00: attached PHY driver (mii\_bus:phy\_addr=30be0000.ethernet-1:00, irq=POLL)
\[  853.535318\] IPv6: ADDRCONF(NETDEV\_CHANGE): eth0: link becomes ready
\[  853.541694\] fec 30be0000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
\[  870.590531\] page\_pool\_release\_retry() stalled pool shutdown 199 inflight 60 sec
\[  931.006557\] page\_pool\_release\_retry() stalled pool shutdown 199 inflight 120 sec
TINFO:ENET  up and down test 392 times
\[  991.426544\] page\_pool\_release\_retry() stalled pool shutdown 192 inflight 181 sec
\[ 1051.838531\] page\_pool\_release\_retry() stalled pool shutdown 170 inflight 241 sec
\[ 1093.751217\] Qualcomm Atheros AR8031/AR8033 30be0000.ethernet-1:00: attached PHY driver (mii\_bus:phy\_addr=30be0000.ethernet-1:00, irq=POLL)
\[ 1096.446520\] page\_pool\_release\_retry() stalled pool shutdown 308 inflight 60 sec
\[ 1096.831245\] fec 30be0000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
\[ 1096.839092\] IPv6: ADDRCONF(NETDEV\_CHANGE): eth0: link becomes ready
\[ 1112.254526\] page\_pool\_release\_retry() stalled pool shutdown 103 inflight 302 sec
\[ 1156.862533\] page\_pool\_release\_retry() stalled pool shutdown 308 inflight 120 sec
\[ 1172.674516\] page\_pool\_release\_retry() stalled pool shutdown 103 inflight 362 sec
\[ 1217.278532\] page\_pool\_release\_retry() stalled pool shutdown 308 inflight 181 sec
TINFO:ENET  up and down test 393 times
\[ 1233.086535\] page\_pool\_release\_retry() stalled pool shutdown 103 inflight 422 sec
\[ 1277.698513\] page\_pool\_release\_retry() stalled pool shutdown 308 inflight 241 sec
\[ 1293.502525\] page\_pool\_release\_retry() stalled pool shutdown 86 inflight 483 sec
\[ 1338.110518\] page\_pool\_release\_retry() stalled pool shutdown 308 inflight 302 sec
\[ 1353.918540\] page\_pool\_release\_retry() stalled pool shutdown 32 inflight 543 sec
\[ 1361.179205\] Qualcomm Atheros AR8031/AR8033 30be0000.ethernet-1:00: attached PHY driver (mii\_bus:phy\_addr=30be0000.ethernet-1:00, irq=POLL)
\[ 1364.255298\] fec 30be0000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
\[ 1364.263189\] IPv6: ADDRCONF(NETDEV\_CHANGE): eth0: link becomes ready
\[ 1371.998532\] page\_pool\_release\_retry() stalled pool shutdown 310 inflight 60 sec
\[ 1398.530542\] page\_pool\_release\_retry() stalled pool shutdown 308 inflight 362 sec
\[ 1414.334539\] page\_pool\_release\_retry() stalled pool shutdown 16 inflight 604 sec
\[ 1432.414520\] page\_pool\_release\_retry() stalled pool shutdown 310 inflight 120 sec
\[ 1458.942523\] page\_pool\_release\_retry() stalled pool shutdown 308 inflight 422 sec
\[ 1474.750521\] page\_pool\_release\_retry() stalled pool shutdown 16 inflight 664 sec
TINFO:ENET  up and down test 394 times
\[ 1492.8305
---truncated---

## Affected and fixed versions

- Linux: \>= 95698ff6177b5f1f13f251da60e7348413046ae4, \< 554484a34e985a307756ee4794e60be31e3db2e5; \>= 95698ff6177b5f1f13f251da60e7348413046ae4, \< e38553bdc377e3e7a6caa9dd9770d8b644d8dac3 (cvelist)
- Linux: 6.1 (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-52998. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-52998.md
Affected: Linux >= 95698ff6177b5f1f13f251da60e7348413046ae4, < 554484a34e985a307756ee4794e60be31e3db2e5; >= 95698ff6177b5f1f13f251da60e7348413046ae4, < e38553bdc377e3e7a6caa9dd9770d8b644d8dac3; Linux 6.1
Fixed in: Linux 554484a34e985a307756ee4794e60be31e3db2e5

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

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

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

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

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

Linux \>= 95698ff6177b5f1f13f251da60e7348413046ae4, \< 554484a34e985a307756ee4794e60be31e3db2e5; \>= 95698ff6177b5f1f13f251da60e7348413046ae4, \< e38553bdc377e3e7a6caa9dd9770d8b644d8dac3; Linux 6.1.

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

Yes. Fixed in Linux 554484a34e985a307756ee4794e60be31e3db2e5. No fix listed yet: follow the vendor advisory.

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

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/554484a34e985a307756ee4794e60be31e3db2e5>
- patch: <https://git.kernel.org/stable/c/e38553bdc377e3e7a6caa9dd9770d8b644d8dac3>

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

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