Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-40049

UNSCOREDEPSS 14%

Squashfs: fix uninit-value in squashfs_get_parent

Mitigation

  • Upgrade Linux to 74058c0a9fc8b2b4d5f4a0ef7ee2cfa66a9e49cf or later.

Who should check

  • Anyone running Linux >= 122601408d20c77704268f1dea9f9ce4abf997c2, < f81a5bc9e924ee1950e0dd82bd10749048390f6e; >= 122601408d20c77704268f1dea9f9ce4abf997c2, < 382a47fae449e554ef1e8c198667fd2f3270b945; >= 122601408d20c77704268f1dea9f9ce4abf997c2, < 61d38b5ce2782bff3cacaacbb8164087a73ed1a5; >= 122601408d20c77704268f1dea9f9ce4abf997c2, < 81a2bca52d43fc9d9abf07408b91255131c5dc53; >= 122601408d20c77704268f1dea9f9ce4abf997c2, < c28b0ca029edf5d0558abcd76cb8c732706cd339; >= 122601408d20c77704268f1dea9f9ce4abf997c2, < 1b3ccd0019132880c94bb00ca7088c1749308f82; >= 122601408d20c77704268f1dea9f9ce4abf997c2, < 91b99db7a92e57ff48a96a1b10fddfd2547e7f53; >= 122601408d20c77704268f1dea9f9ce4abf997c2, < 74058c0a9fc8b2b4d5f4a0ef7ee2cfa66a9e49cf
  • Anyone running Linux 2.6.29

Vulnerability facts

Affected
Linux >= 122601408d20c77704268f1dea9f9ce4abf997c2, < f81a5bc9e924ee1950e0dd82bd10749048390f6e; >= 122601408d20c77704268f1dea9f9ce4abf997c2, < 382a47fae449e554ef1e8c198667fd2f3270b945; >= 122601408d20c77704268f1dea9f9ce4abf997c2, < 61d38b5ce2782bff3cacaacbb8164087a73ed1a5; >= 122601408d20c77704268f1dea9f9ce4abf997c2, < 81a2bca52d43fc9d9abf07408b91255131c5dc53; >= 122601408d20c77704268f1dea9f9ce4abf997c2, < c28b0ca029edf5d0558abcd76cb8c732706cd339; >= 122601408d20c77704268f1dea9f9ce4abf997c2, < 1b3ccd0019132880c94bb00ca7088c1749308f82; >= 122601408d20c77704268f1dea9f9ce4abf997c2, < 91b99db7a92e57ff48a96a1b10fddfd2547e7f53; >= 122601408d20c77704268f1dea9f9ce4abf997c2, < 74058c0a9fc8b2b4d5f4a0ef7ee2cfa66a9e49cf; Linux 2.6.29
Fixed in
Linux 382a47fae449e554ef1e8c198667fd2f3270b945, Linux 61d38b5ce2782bff3cacaacbb8164087a73ed1a5, Linux 81a2bca52d43fc9d9abf07408b91255131c5dc53, Linux 1b3ccd0019132880c94bb00ca7088c1749308f82, Linux 91b99db7a92e57ff48a96a1b10fddfd2547e7f53, Linux 74058c0a9fc8b2b4d5f4a0ef7ee2cfa66a9e49cf
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Unknown
CVSS
Not scored yet
EPSS
0.29% chance of exploitation in 30 days (percentile 14, 2026-11-26)
Published
Modified

Description

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.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 122601408d20c77704268f1dea9f9ce4abf997c2, < f81a5bc9e924ee1950e0dd82bd10749048390f6e; >= 122601408d20c77704268f1dea9f9ce4abf997c2, < 382a47fae449e554ef1e8c198667fd2f3270b945; >= 122601408d20c77704268f1dea9f9ce4abf997c2, < 61d38b5ce2782bff3cacaacbb8164087a73ed1a5; >= 122601408d20c77704268f1dea9f9ce4abf997c2, < 81a2bca52d43fc9d9abf07408b91255131c5dc53; >= 122601408d20c77704268f1dea9f9ce4abf997c2, < c28b0ca029edf5d0558abcd76cb8c732706cd339; >= 122601408d20c77704268f1dea9f9ce4abf997c2, < 1b3ccd0019132880c94bb00ca7088c1749308f82; >= 122601408d20c77704268f1dea9f9ce4abf997c2, < 91b99db7a92e57ff48a96a1b10fddfd2547e7f53; >= 122601408d20c77704268f1dea9f9ce4abf997c2, < 74058c0a9fc8b2b4d5f4a0ef7ee2cfa66a9e49cf—cvelist
Linux2.6.29—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-40049. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-40049.md
Affected: Linux >= 122601408d20c77704268f1dea9f9ce4abf997c2, < f81a5bc9e924ee1950e0dd82bd10749048390f6e; >= 122601408d20c77704268f1dea9f9ce4abf997c2, < 382a47fae449e554ef1e8c198667fd2f3270b945; >= 122601408d20c77704268f1dea9f9ce4abf997c2, < 61d38b5ce2782bff3cacaacbb8164087a73ed1a5; >= 122601408d20c77704268f1…
Fixed in: Linux 382a47fae449e554ef1e8c198667fd2f3270b945, Linux 61d38b5ce2782bff3cacaacbb8164087a73ed1a5, Linux 81a2bca52d43fc9d9abf07408b91255131c5dc53, Linux 1b3ccd0019132880c94bb00ca7088c1749308f82, Linux 91b99db7a92e57ff48a96a1b10fddfd2547e7f53, Linux 74058c0a9fc8b2b4d5f4a0ef7ee2cfa66a9e49cf

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-40049 being exploited?

There is no confirmed exploitation: CVE-2025-40049 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-40049?

It has no CVSS score yet. Unknown.

Which versions are affected by CVE-2025-40049?

Linux >= 122601408d20c77704268f1dea9f9ce4abf997c2, < f81a5bc9e924ee1950e0dd82bd10749048390f6e; >= 122601408d20c77704268f1dea9f9ce4abf997c2, < 382a47fae449e554ef1e8c198667fd2f3270b945; >= 122601408d20c77704268f1dea9f9ce4abf997c2, < 61d38b5ce2782bff3cacaacbb8164087a73ed1a5; >= 122601408d20c77704268f1dea9f9ce4abf997c2, < 81a2bca52d43fc9d9abf07408b91255131c5dc53; >= 122601408d20c77704268f1dea9f9ce4abf997c2, < c28b0ca029edf5d0558abcd76cb8c732706cd339; >= 122601408d20c77704268f1dea9f9ce4abf997c2, < 1b3ccd0019132880c94bb00ca7088c1749308f82; >= 122601408d20c77704268f1dea9f9ce4abf997c2, < 91b99db7a92e57ff48a96a1b10fddfd2547e7f53; >= 122601408d20c77704268f1dea9f9ce4abf997c2, < 74058c0a9fc8b2b4d5f4a0ef7ee2cfa66a9e49cf; Linux 2.6.29.

Is there a fix for CVE-2025-40049?

Yes. Fixed in Linux 382a47fae449e554ef1e8c198667fd2f3270b945, Linux 61d38b5ce2782bff3cacaacbb8164087a73ed1a5, Linux 81a2bca52d43fc9d9abf07408b91255131c5dc53, Linux 1b3ccd0019132880c94bb00ca7088c1749308f82, Linux 91b99db7a92e57ff48a96a1b10fddfd2547e7f53, Linux 74058c0a9fc8b2b4d5f4a0ef7ee2cfa66a9e49cf. Upgrade Linux to 74058c0a9fc8b2b4d5f4a0ef7ee2cfa66a9e49cf or later.

How do I check if I'm affected by CVE-2025-40049?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors