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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2025-40190— ext4: guard against EA inode refcount underflow in xattr update

EPSS 0.08% · P23

Affected Version Matrix 16

VendorProductVersion RangeStatus
LinuxLinux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2< ea39e712c2f5ae148ee5515798ae03523673e002affected
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2< 1cfb3e4ddbdc8e02e637b8852540bd4718bf4814affected
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2< 505e69f76ac497e788f4ea0267826ec7266b40c8affected
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2< 3d6269028246f4484bfed403c947a114bb583631affected
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2< 79ea7f3e11effe1bd9e753172981d9029133a278affected
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2< 6b879c4c6bbaab03c0ad2a983953bd1410bb165eaffected
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2< 440b003f449a4ff2a00b08c8eab9ba5cd28f3943affected
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2< 57295e835408d8d425bef58da5253465db3d6888affected
… +8 more rows
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2025-40190

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
ext4: guard against EA inode refcount underflow in xattr update
Source: NVD (National Vulnerability Database)
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: ext4: guard against EA inode refcount underflow in xattr update syzkaller found a path where ext4_xattr_inode_update_ref() reads an EA inode refcount that is already <= 0 and then applies ref_change (often -1). That lets the refcount underflow and we proceed with a bogus value, triggering errors like: EXT4-fs error: EA inode <n> ref underflow: ref_count=-1 ref_change=-1 EXT4-fs warning: ea_inode dec ref err=-117 Make the invariant explicit: if the current refcount is non-positive, treat this as on-disk corruption, emit ext4_error_inode(), and fail the operation with -EFSCORRUPTED instead of updating the refcount. Delete the WARN_ONCE() as negative refcounts are now impossible; keep error reporting in ext4_error_inode(). This prevents the underflow and the follow-on orphan/cleanup churn.
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存在安全漏洞,该漏洞源于EA inode引用计数处理不当,可能导致数据损坏。
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 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 ~ ea39e712c2f5ae148ee5515798ae03523673e002 -
LinuxLinux 5.4.301 ~ 5.4.* -

II. Public POCs for CVE-2025-40190

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-40190

登录查看更多情报信息。
Patch · 4Other · 1

Same Patch Batch · Linux · 2025-11-12 · 96 CVEs total

CVE-2025-40175idpf: cleanup remaining SKBs in PTP flows
CVE-2025-40170net: use dst_dev_rcu() in sk_setup_caps()
CVE-2025-40171nvmet-fc: move lsop put work to nvmet_fc_ls_req_op
CVE-2025-40167ext4: detect invalid INLINE_DATA + EXTENTS flag combination
CVE-2025-40164usbnet: Fix using smp_processor_id() in preemptible code warnings
CVE-2025-40162ASoC: amd/sdw_utils: avoid NULL deref when devm_kasprintf() fails
CVE-2025-40163sched/deadline: Stop dl_server before CPU goes offline
CVE-2025-40161mailbox: zynqmp-ipi: Fix SGI cleanup on unbind
CVE-2025-40166drm/xe/guc: Check GuC running state before deregistering exec queue
CVE-2025-40174x86/mm: Fix SMP ordering in switch_mm_irqs_off()
CVE-2025-40172accel/qaic: Treat remaining == 0 as error in find_and_map_user_pages()
CVE-2025-40176tls: wait for pending async decryptions if tls_strp_msg_hold fails
CVE-2025-40173net/ip6_tunnel: Prevent perpetual tunnel growth
CVE-2025-40177accel/qaic: Fix bootlog initialization ordering
CVE-2025-40178pid: Add a judgment for ns null in pid_nr_ns
CVE-2025-40179ext4: verify orphan file size is not too big
CVE-2025-40180mailbox: zynqmp-ipi: Fix out-of-bounds access in mailbox cleanup loop
CVE-2025-40181x86/kvm: Force legacy PCI hole to UC when overriding MTRRs for TDX/SNP
CVE-2025-40183bpf: Fix metadata_dst leak __bpf_redirect_neigh_v{4,6}
CVE-2025-40182crypto: skcipher - Fix reqsize handling

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

IV. Related Vulnerabilities

V. Comments for CVE-2025-40190

No comments yet


Leave a comment