Skip to main content
Network Thinking Solutions Logo

CVE-2025-40049

In the Linux kernel, the following vulnerability has been resolved: Squashfs: fix uninit-value in squashfs_get_parent Syzkaller reports a "KMSAN: uninit-value in squashfs_get_parent" bug.

All CVEs
CVE-2025-40049Published 10/28/2025

In the Linux kernel, the following vulnerability has been resolved: Squashfs: fix uninit-value in squashfs_get_parent Syzkaller reports a "KMSAN: uninit-value in squashfs_get_parent" bug.

Vendor advisory
CVSS—Unscored

Overview

In the Linux kernel, the following vulnerability has been resolved: Squashfs: fix uninit-value in squashfs_get_parent Syzkaller reports a "KMSAN: uninit-value in squashfs_get_parent" bug. This is caused by open_by_handle_at() being called with a file handle containing an invalid parent inode number. In particular the inode number is that of a symbolic link, rather than a directory. Squashfs_get_parent() gets called with that symbolic link inode, and accesses the parent member field. unsigned int parent_ino = squashfs_i(inode)->parent; Because non-directory inodes in Squashfs do not have a parent value, this is uninitialised, and this causes an uninitialised value access. The fix is to initialise parent with the invalid inode 0, which will cause an EINVAL error to be returned. Regular inodes used to share the parent field with the block_list_start field. This is removed in this commit to enable the parent field to contain the invalid inode number 0.

Published
10/28/2025
Last modified
10/19/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
Linux
Linux
≥ 122601408d20c77704268f1dea9f9ce4abf997c2, < f81a5bc9e924ee1950e0dd82bd10749048390f6e

Verify advisory

Source
Linux
Linux
≥ 122601408d20c77704268f1dea9f9ce4abf997c2, < 382a47fae449e554ef1e8c198667fd2f3270b945

Verify advisory

Source
Linux
Linux
≥ 122601408d20c77704268f1dea9f9ce4abf997c2, < 61d38b5ce2782bff3cacaacbb8164087a73ed1a5

Verify advisory

Source
Linux
Linux
≥ 122601408d20c77704268f1dea9f9ce4abf997c2, < 81a2bca52d43fc9d9abf07408b91255131c5dc53

Verify advisory

Source
Linux
Linux
≥ 122601408d20c77704268f1dea9f9ce4abf997c2, < c28b0ca029edf5d0558abcd76cb8c732706cd339

Verify advisory

Source
Linux
Linux
≥ 122601408d20c77704268f1dea9f9ce4abf997c2, < 1b3ccd0019132880c94bb00ca7088c1749308f82

Verify advisory

Source
Linux
Linux
≥ 122601408d20c77704268f1dea9f9ce4abf997c2, < 91b99db7a92e57ff48a96a1b10fddfd2547e7f53

Verify advisory

Source
Linux
Linux
≥ 122601408d20c77704268f1dea9f9ce4abf997c2, < 74058c0a9fc8b2b4d5f4a0ef7ee2cfa66a9e49cf

Verify advisory

Source
Linux
Linux
2.6.29

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

No CVSS score is published for this record yet. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.