Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2025-21853— bpf: avoid holding freeze_mutex during mmap operation

Quick assessment

Affected
Linux Linux
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于在mmap操作期间持有freeze_mutex,可能导致死锁。

AI Predicted 5.5 Difficulty: Moderate EPSS 0.25% · P15

Possible ATT&CK Techniques 1 AI

T1055 · Process Injection

Affected Version Matrix 16

VendorProduct Version RangeStatus
Linux Linux fc9702273e2edb90400a34b3be76f7b08fa3344b< 2ce31c97c219b4fe797749f950274f246eb88c49 affected
fc9702273e2edb90400a34b3be76f7b08fa3344b< 0d90d9e154144a3a80e9fc0eb9b21b7fc990f68f affected
fc9702273e2edb90400a34b3be76f7b08fa3344b< 4759acbd44d24a69b7b14848012ec4201d6c5501 affected
fc9702273e2edb90400a34b3be76f7b08fa3344b< 29cfda62ab4d92ab94123813db49ab76c1e61b29 affected
fc9702273e2edb90400a34b3be76f7b08fa3344b< d95607a5f2f9bb08194c9deaf4a5f3e8ba59a9d4 affected
fc9702273e2edb90400a34b3be76f7b08fa3344b< 271e49f8a58edba65bc2b1250a0abaa98c4bfdbe affected
fc9702273e2edb90400a34b3be76f7b08fa3344b< bc27c52eea189e8f7492d40739b7746d67b65beb affected
5.5 affected
… +8 more rows
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-21853

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
bpf: avoid holding freeze_mutex during mmap operation
Source: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: bpf: avoid holding freeze_mutex during mmap operation We use map->freeze_mutex to prevent races between map_freeze() and memory mapping BPF map contents with writable permissions. The way we naively do this means we'll hold freeze_mutex for entire duration of all the mm and VMA manipulations, which is completely unnecessary. This can potentially also lead to deadlocks, as reported by syzbot in [0]. So, instead, hold freeze_mutex only during writeability checks, bump (proactively) "write active" count for the map, unlock the mutex and proceed with mmap logic. And only if something went wrong during mmap logic, then undo that "write active" counter increment. [0] https://lore.kernel.org/bpf/678dcbc9.050a0220.303755.0066.GAE@google.com/
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
N/A
Source: CVE Program / CVE List V5
Vulnerability Title
Linux kernel 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于在mmap操作期间持有freeze_mutex,可能导致死锁。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
Linux Linux fc9702273e2edb90400a34b3be76f7b08fa3344b ~ 2ce31c97c219b4fe797749f950274f246eb88c49 -
Linux Linux 5.5 -

II. Public POCs for CVE-2025-21853

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-21853

请登录查看更多情报信息。

Patches & Fixes for CVE-2025-21853 (3)

Other References for CVE-2025-21853 (4)

Same Patch Batch · Linux · 2025-03-12 · 26 CVEs total

CVE-2024-58087 9.8 CRITICAL ksmbd: fix racy issue from session lookup and expire
CVE-2025-21850 9.8 CRITICAL nvmet: Fix crash when a namespace is disabled
CVE-2025-21855 8.6 HIGH ibmvnic: Don't reference skb after sending to VIOS
CVE-2024-58089 7.8 HIGH btrfs: fix double accounting race when btrfs_run_delalloc_range() failed
CVE-2025-21858 7.8 HIGH geneve: Fix use-after-free in geneve_find_dev().
CVE-2025-21864 7.8 HIGH tcp: drop secpath at the same time as we currently drop dst
CVE-2025-21851 7.8 HIGH bpf: Fix softlockup in arena_map_free on 64k page kernel
CVE-2025-21844 7.5 HIGH smb: client: Add check for next_buffer in receive_encrypted_standard()
CVE-2025-21863 io_uring: prevent opcode speculation
CVE-2025-21865 gtp: Suppress list corruption splat in gtp_net_exit_batch_rtnl().
CVE-2024-58088 bpf: Fix deadlock when freeing cgroup storage
CVE-2025-21845 mtd: spi-nor: sst: Fix SST write failure
CVE-2025-21846 acct: perform last write from workqueue
CVE-2025-21848 nfp: bpf: Add check for nfp_app_ctrl_msg_alloc()
CVE-2025-21847 ASoC: SOF: stream-ipc: Check for cstream nullity in sof_ipc_msg_data()
CVE-2025-21849 drm/i915/gt: Use spin_lock_irqsave() in interruptible context
CVE-2025-21852 net: Add rx_skb of kfree_skb to raw_tp_null_args[].
CVE-2025-21866 powerpc/code-patching: Fix KASAN hit by not flagging text patching area as VM_ALLOC
CVE-2025-21854 sockmap, vsock: For connectible sockets allow only connected
CVE-2025-21856 s390/ism: add release function for struct device

Showing top 20 of 26 CVEs. View all on vendor page &rarr; →

IV. Related Vulnerabilities

V. Comments for CVE-2025-21853

No comments yet


Leave a comment