CVE-2025-38129: page_pool: Fix use-after-free in page_pool_recycle_in_ring
Vulnerability summary
CVE-2025-38129 is a high (CVSS 7.8) Use After Free vulnerability in linux. EPSS estimates a 0.19% chance of exploitation in the next 30 days, higher than 9.2% of scored vulnerabilities.
Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 77 · Related 61Timeline
- 03-07-2025PublishedVulnerability first disclosed.
- 05-08-2026Last modifiedVulnerability information updated.
Description
In the Linux kernel, the following vulnerability has been resolved: page_pool: Fix use-after-free in page_pool_recycle_in_ring syzbot reported a uaf in page_pool_recycle_in_ring: BUG: KASAN: slab-use-after-free in lock_release+0x151/0xa30 kernel/locking/lockdep.c:5862 Read of size 8 at addr ffff8880286045a0 by task syz.0.284/6943 CPU: 0 UID: 0 PID: 6943 Comm: syz.0.284 Not tainted 6.13.0-rc3-syzkaller-gdfa94ce54f41 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: <TASK> __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120 print_address_description mm/kasan/report.c:378 [inline] print_report+0x169/0x550 mm/kasan/report.c:489 kasan_report+0x143/0x180 mm/kasan/report.c:602 lock_release+0x151/0xa30 kernel/locking/lockdep.c:5862 __raw_spin_unlock_bh include/linux/spinlock_api_smp.h:165 [inline] _raw_spin_unlock_bh+0x1b/0x40 kernel/locking/spinlock.c:210 spin_unlock_bh include/linux/spinlock.h:396 [inline] ptr_ring_produce_bh include/linux/ptr_ring.h:164 [inline] page_pool_recycle_in_ring net/core/page_pool.c:707 [inline] page_pool_put_unrefed_netmem+0x748/0xb00 net/core/page_pool.c:826 page_pool_put_netmem include/net/page_pool/helpers.h:323 [inline] page_pool_put_full_netmem include/net/page_pool/helpers.h:353 [inline] napi_pp_put_page+0x149/0x2b0 net/core/skbuff.c:1036 skb_pp_recycle net/core/skbuff.c:1047 [inline] skb_free_head net/core/skbuff.c:1094 [inline] skb_release_data+0x6c4/0x8a0 net/core/skbuff.c:1125 skb_release_all net/core/skbuff.c:1190 [inline] __kfree_skb net/core/skbuff.c:1204 [inline] sk_skb_reason_drop+0x1c9/0x380 net/core/skbuff.c:1242 kfree_skb_reason include/linux/skbuff.h:1263 [inline] __skb_queue_purge_reason include/linux/skbuff.h:3343 [inline] root cause is: page_pool_recycle_in_ring ptr_ring_produce spin_lock(&r->producer_lock); WRITE_ONCE(r->queue[r->producer++], ptr) //recycle last page to pool page_pool_release page_pool_scrub page_pool_empty_ring ptr_ring_consume page_pool_return_page //release all page __page_pool_destroy free_percpu(pool->recycle_stats); free(pool) //free spin_unlock(&r->producer_lock); //pool->ring uaf read recycle_stat_inc(pool, ring); page_pool can be free while page pool recycle the last page in ring. Add producer-lock barrier to page_pool_release to prevent the page pool from being free before all pages have been recycled. recycle_stat_inc() is empty when CONFIG_PAGE_POOL_STATS is not enabled, which will trigger Wempty-body build warning. Add definition for pool stat macro to fix warning.
CVSS metrics
6 scores · 5 sources · 2 versions- OSV · Red hatEcosystem advisory · calculated7.3HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:HDiffers
- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- NVDNIST7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.19%
Chance of exploitation in the next 30 days
Percentile
9%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.20% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu142 products
- linuxAll versions (No fix recorded) | < 5.15.0-173.183 | < 6.8.0-100.100
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded) | < 5.15.0-1103.110 | < 6.8.0-1046.49
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Redhat24 products
- bpftool< 0:4.18.0-193.189.1.el8_2
- bpftool-debuginfo< 0:4.18.0-193.189.1.el8_2
- kernel< 0:4.18.0-193.189.1.el8_2
- kernel-abi-whitelists< 0:4.18.0-193.189.1.el8_2
- kernel-core< 0:4.18.0-193.189.1.el8_2
Suse19 products
- kernel-livepatch-MICRO-6-0_Update_5&distro=SUSE Linux Micro 6.0< 16-1.2
- kernel-livepatch-MICRO-6-0_Update_5&distro=SUSE Linux Micro 6.1< 16-1.2
- kernel-livepatch-MICRO-6-0_Update_6&distro=SUSE Linux Micro 6.0< 14-3.1
- kernel-livepatch-MICRO-6-0_Update_6&distro=SUSE Linux Micro 6.1< 14-3.1
- kernel-livepatch-MICRO-6-0_Update_7&distro=SUSE Linux Micro 6.0< 13-1.2
Linux2 products
- linux≥ ff7d6b27f894f1469dc51ccb828b7363ccd9799f, < c2c906142293931e33ef4be79ebc36c25c4e21dd | ≥ ff7d6b27f894f1469dc51ccb828b7363ccd9799f, < d69f28ef7cdafdcf37ee310f38b1399e7d05f9a8 | ≥ ff7d6b27f894f1469dc51ccb828b7363ccd9799f, < 1a8c0b61d4cb55c5440583ec9e7f86a730369e32 | ≥ ff7d6b27f894f1469dc51ccb828b7363ccd9799f, < 4914c0a166540e534a0c1d43affd329d95fb56fd | ≥ ff7d6b27f894f1469dc51ccb828b7363ccd9799f, < e869a85acc2e60dc554579b910826a4919d8cd98 | ≥ ff7d6b27f894f1469dc51ccb828b7363ccd9799f, < 4ab8c0f8905c9c4d05e7f437e65a9a365573ff02 | ≥ ff7d6b27f894f1469dc51ccb828b7363ccd9799f, < 271683bb2cf32e5126c592b5d5e6a756fa374fd9 | 4.18
- linux_kernel≥ 4.18, < 6.12.34 | ≥ 6.13, < 6.15.3
Debian1 product
- linux< 6.1.162-1 | < 6.12.35-1
5 vendors · 188 products