CVE-2025-40200
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-11-12

Last updated on: 2025-11-14

Assigner: kernel.org

Description
In the Linux kernel, the following vulnerability has been resolved: Squashfs: reject negative file sizes in squashfs_read_inode() Syskaller reports a "WARNING in ovl_copy_up_file" in overlayfs. This warning is ultimately caused because the underlying Squashfs file system returns a file with a negative file size. This commit checks for a negative file size and returns EINVAL. [[email protected]: only need to check 64 bit quantity]
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-11-12
Last Modified
2025-11-14
Generated
2026-06-16
AI Q&A
2025-11-13
EPSS Evaluated
2026-06-15
NVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel *
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

This vulnerability occurs in the Linux kernel's Squashfs file system where negative file sizes were not properly rejected in the function squashfs_read_inode(). This could cause a warning in overlayfs when it encounters a file with a negative size returned by Squashfs. The issue was fixed by adding a check for negative file sizes and returning an error (EINVAL) if detected.

Impact Analysis

If exploited, this vulnerability could cause unexpected behavior or warnings in the overlayfs file system due to negative file sizes being processed. This might lead to system instability or errors when accessing files on Squashfs file systems.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2025-40200. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart