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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2025-40068— fs: ntfs3: Fix integer overflow in run_unpack()

EPSS 0.06% · P18
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2025-40068

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
fs: ntfs3: Fix integer overflow in run_unpack()
Source: NVD (National Vulnerability Database)
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: fs: ntfs3: Fix integer overflow in run_unpack() The MFT record relative to the file being opened contains its runlist, an array containing information about the file's location on the physical disk. Analysis of all Call Stack paths showed that the values of the runlist array, from which LCNs are calculated, are not validated before run_unpack function. The run_unpack function decodes the compressed runlist data format from MFT attributes (for example, $DATA), converting them into a runs_tree structure, which describes the mapping of virtual clusters (VCN) to logical clusters (LCN). The NTFS3 subsystem also has a shortcut for deleting files from MFT records - in this case, the RUN_DEALLOCATE command is sent to the run_unpack input, and the function logic provides that all data transferred to the runlist about file or directory is deleted without creating a runs_tree structure. Substituting the runlist in the $DATA attribute of the MFT record for an arbitrary file can lead either to access to arbitrary data on the disk bypassing access checks to them (since the inode access check occurs above) or to destruction of arbitrary data on the disk. Add overflow check for addition operation. Found by Linux Verification Center (linuxtesting.org) with SVACE.
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存在安全漏洞,该漏洞源于ntfs3文件系统中run_unpack函数未验证runlist数组值,可能导致整数溢出。
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 4342306f0f0d5ff4315a204d315c1b51b914fca5 ~ f6b36cfd25cbadad63447c673743cf771090e756 -
LinuxLinux 5.15 -

II. Public POCs for CVE-2025-40068

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-40068

登录查看更多情报信息。

Same Patch Batch · Linux · 2025-10-28 · 58 CVEs total

CVE-2025-40063crypto: comp - Use same definition of context alloc and free ops
CVE-2025-40075tcp_metrics: use dst_dev_net_rcu()
CVE-2025-40078bpf: Explicitly check accesses to bpf_sock_addr
CVE-2025-40079riscv, bpf: Sign extend struct ops return values properly
CVE-2025-40077f2fs: fix to avoid overflow while left shift operation
CVE-2025-40081perf: arm_spe: Prevent overflow in PERF_IDX2OFF()
CVE-2025-40067fs/ntfs3: reject index allocation if $BITMAP is empty but blocks exist
CVE-2025-40066wifi: mt76: mt7996: Check phy before init msta_link in mt7996_mac_sta_add_links()
CVE-2025-40065RISC-V: KVM: Write hgatp register with valid mode bits
CVE-2025-40064smc: Fix use-after-free in __pnet_find_base_ndev().
CVE-2025-40069drm/msm: Fix obj leak in VM_BIND error path
CVE-2025-40062crypto: hisilicon/qm - set NULL to qm->debug.qm_diff_regs
CVE-2025-40061RDMA/rxe: Fix race in do_task() when draining
CVE-2025-40060coresight: trbe: Return NULL pointer for allocation failures
CVE-2025-40058iommu/vt-d: Disallow dirty tracking if incoherent page walk
CVE-2025-40059coresight: Fix incorrect handling for return value of devm_kzalloc
CVE-2025-40057ptp: Add a upper bound on max_vclocks
CVE-2025-40056vhost: vringh: Fix copy_to_iter return value check
CVE-2025-40055ocfs2: fix double free in user_cluster_connect()
CVE-2025-40054f2fs: fix UAF issue in f2fs_merge_page_bio()

Showing top 20 of 58 CVEs. View all on vendor page → →

IV. Related Vulnerabilities

V. Comments for CVE-2025-40068

No comments yet


Leave a comment