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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2024-42250— cachefiles: add missing lock protection when polling

EPSS 0.04% · P11
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2024-42250

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
cachefiles: add missing lock protection when polling
Source: NVD (National Vulnerability Database)
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: cachefiles: add missing lock protection when polling Add missing lock protection in poll routine when iterating xarray, otherwise: Even with RCU read lock held, only the slot of the radix tree is ensured to be pinned there, while the data structure (e.g. struct cachefiles_req) stored in the slot has no such guarantee. The poll routine will iterate the radix tree and dereference cachefiles_req accordingly. Thus RCU read lock is not adequate in this case and spinlock is needed here.
Source: NVD (National Vulnerability Database)
CVSS Information
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Type
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Title
Linux kernel 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel 存在安全漏洞,该漏洞源于 cachefiles 模块在轮询时缺少锁保护,需要添加自旋锁来保护xarray迭代。
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

VendorProductAffected VersionsCPESubscribe
LinuxLinux 0e19a18f998dcabe8be590e0b39660a1f230209b ~ 97cfd5e20ddc2e33e16ce369626ce76c9a475fd7 -
LinuxLinux 6.8 -

II. Public POCs for CVE-2024-42250

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-42250

登录查看更多情报信息。

Same Patch Batch · Linux · 2024-08-07 · 19 CVEs total

CVE-2024-42240x86/bhi: Avoid warning in #DB handler due to BHI mitigation
CVE-2024-42232libceph: fix race between delayed_work() and ceph_monc_stop()
CVE-2024-42234mm: fix crashes from deferred split racing folio migration
CVE-2024-42233filemap: replace pte_offset_map() with pte_offset_map_nolock()
CVE-2024-42235s390/mm: Add NULL pointer check to crst_table_free() base_crst_free()
CVE-2024-42236usb: gadget: configfs: Prevent OOB read/write in usb_string_copy()
CVE-2024-42237firmware: cs_dsp: Validate payload length before processing block
CVE-2024-42238firmware: cs_dsp: Return error if block header overflows file
CVE-2024-42239bpf: Fail bpf_timer_cancel when callback is being cancelled
CVE-2024-42248tty: serial: ma35d1: Add a NULL check for of_node
CVE-2024-42242mmc: sdhci: Fix max_seg_size for 64KiB PAGE_SIZE
CVE-2024-42241mm/shmem: disable PMD-sized page cache if needed
CVE-2024-42244USB: serial: mos7840: fix crash on resume
CVE-2024-42243mm/filemap: make MAX_PAGECACHE_ORDER acceptable to xarray
CVE-2024-42245Revert "sched/fair: Make sure to try to detach at least one movable task"
CVE-2024-42246net, sunrpc: Remap EPERM in case of connection failure in xs_tcp_setup_socket
CVE-2024-42247wireguard: allowedips: avoid unaligned 64-bit memory accesses
CVE-2024-42249spi: don't unoptimize message in spi_async()

IV. Related Vulnerabilities

V. Comments for CVE-2024-42250

No comments yet


Leave a comment